* fix(nmap)

closes #5949

* +python
This commit is contained in:
Jacob Heider 2024-04-23 14:29:30 -04:00 committed by GitHub
parent d66c87f8a7
commit 2146e18914
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,25 +11,33 @@ versions:
dependencies:
openssl.org: ^1.1
pcre.org/v2: ^10
build:
dependencies:
gnu.org/patch: '*'
crates.io/semverator: '*'
python.org: 3
script:
# https://github.com/openresty/openresty/issues/372
- >
semverator satisfies '<7.94.0' {{version}} &&
patch -p1 <props/openssl-1.1.1.patch
- run: patch -p1 <props/openssl-1.1.1.patch
if: '<7.94.0'
- ./configure --prefix={{prefix}}
# missing python modules
- python -m venv $HOME/venv
- source $HOME/venv/bin/activate
- python -m pip install build setuptools
- ./configure $ARGS
- make -j {{hw.concurrency}}
- make install
test:
make test
env:
ARGS:
- --prefix={{prefix}}
- --with-libpcre={{deps.pcre.org/v2.prefix}}
- --without-zenmap
test: make test
test:
script: nmap -vvvv localhost
test: nmap -vvvv localhost
provides:
- bin/nmap