pantry/projects/nmap.org/package.yml
Marc Seitz b9c65f21a4
+nmap (#119)
* +nmap

* fix openssl build failures

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-01-14 19:12:24 -05:00

32 lines
545 B
YAML

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