mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
39 lines
737 B
YAML
39 lines
737 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:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
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
|