pantry/projects/nmap.org/package.yml

33 lines
545 B
YAML
Raw Normal View History

distributable:
url: https://nmap.org/dist/nmap-{{version.raw}}.tgz
strip-components: 1
versions:
- 7.93
dependencies:
openssl.org: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/patch: '*'
script: |
# https://github.com/openresty/openresty/issues/372
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