mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
33 lines
545 B
YAML
33 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
|