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:
|
2023-05-22 20:43:03 +03:00
|
|
|
openssl.org: ^1.1
|
2023-01-15 03:12:24 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
gnu.org/patch: '*'
|
2023-05-22 20:43:03 +03:00
|
|
|
crates.io/semverator: '*'
|
|
|
|
script:
|
2023-01-15 03:12:24 +03:00
|
|
|
# https://github.com/openresty/openresty/issues/372
|
2023-05-22 20:43:03 +03:00
|
|
|
- >
|
|
|
|
semverator satisfies '<7.94.0' {{version}} &&
|
|
|
|
patch -p1 <props/openssl-1.1.1.patch
|
2023-01-15 03:12:24 +03:00
|
|
|
|
2023-05-22 20:43:03 +03:00
|
|
|
- ./configure --prefix={{prefix}}
|
|
|
|
- make -j {{hw.concurrency}}
|
|
|
|
- make install
|
2023-01-15 03:12:24 +03:00
|
|
|
test:
|
|
|
|
make test
|
|
|
|
|
|
|
|
test:
|
|
|
|
script: nmap -vvvv localhost
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/nmap
|
|
|
|
- bin/ncat
|
|
|
|
- bin/nping
|