mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
d66c87f8a7
commit
2146e18914
1 changed files with 17 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue