mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
parent
d66c87f8a7
commit
2146e18914
1 changed files with 17 additions and 9 deletions
|
@ -11,25 +11,33 @@ versions:
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
openssl.org: ^1.1
|
openssl.org: ^1.1
|
||||||
|
pcre.org/v2: ^10
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/patch: '*'
|
gnu.org/patch: '*'
|
||||||
crates.io/semverator: '*'
|
python.org: 3
|
||||||
script:
|
script:
|
||||||
# https://github.com/openresty/openresty/issues/372
|
# https://github.com/openresty/openresty/issues/372
|
||||||
- >
|
- run: patch -p1 <props/openssl-1.1.1.patch
|
||||||
semverator satisfies '<7.94.0' {{version}} &&
|
if: '<7.94.0'
|
||||||
patch -p1 <props/openssl-1.1.1.patch
|
|
||||||
|
|
||||||
- ./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 -j {{hw.concurrency}}
|
||||||
- make install
|
- make install
|
||||||
test:
|
env:
|
||||||
make test
|
ARGS:
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
- --with-libpcre={{deps.pcre.org/v2.prefix}}
|
||||||
|
- --without-zenmap
|
||||||
|
test: make test
|
||||||
|
|
||||||
test:
|
test: nmap -vvvv localhost
|
||||||
script: nmap -vvvv localhost
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/nmap
|
- bin/nmap
|
||||||
|
|
Loading…
Reference in a new issue