2023-01-15 03:12:24 +03:00
|
|
|
distributable:
|
|
|
|
url: https://nmap.org/dist/nmap-{{version.raw}}.tgz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://nmap.org/dist/
|
|
|
|
match: /nmap-\d+\.\d+(\.\d+)?\.tgz/
|
|
|
|
strip:
|
|
|
|
- /nmap-/
|
|
|
|
- /.tgz/
|
2023-01-15 03:12:24 +03:00
|
|
|
|
|
|
|
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
|