mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
38 lines
689 B
YAML
38 lines
689 B
YAML
distributable:
|
|
url: https://nmap.org/dist/nmap-{{version.raw}}.tgz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://nmap.org/dist/
|
|
match: /nmap-\d+\.\d+(\.\d+)?\.tgz/
|
|
strip:
|
|
- /nmap-/
|
|
- /.tgz/
|
|
|
|
dependencies:
|
|
openssl.org: ^1.1
|
|
|
|
build:
|
|
dependencies:
|
|
gnu.org/patch: '*'
|
|
crates.io/semverator: '*'
|
|
script:
|
|
# https://github.com/openresty/openresty/issues/372
|
|
- >
|
|
semverator satisfies '<7.94.0' {{version}} &&
|
|
patch -p1 <props/openssl-1.1.1.patch
|
|
|
|
- ./configure --prefix={{prefix}}
|
|
- make -j {{hw.concurrency}}
|
|
- make install
|
|
test:
|
|
make test
|
|
|
|
test:
|
|
script: nmap -vvvv localhost
|
|
|
|
provides:
|
|
- bin/nmap
|
|
- bin/ncat
|
|
- bin/nping
|