File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ inherit : [autotools]
2+
3+ metaEnvironment :
4+ PKG_VERSION : " 7.98"
5+ PKG_LICENSE : " LicenseRef-Nmap"
6+ PKG_LICENSE_PATH : |
7+ Nmap:LICENSE
8+
9+ depends :
10+ - libs::libpcap-dev
11+ - libs::libpcre2-dev
12+ - libs::libssh2-dev
13+ - libs::openssl-dev
14+ - libs::zlib-dev
15+ - use : []
16+ depends :
17+ - libs::libpcap-tgt
18+ - libs::libpcre2-tgt
19+ - libs::libssh2-tgt
20+ - libs::openssl-tgt
21+ - libs::zlib-tgt
22+
23+ checkoutSCM :
24+ scm : url
25+ url : https://nmap.org/dist/nmap-${PKG_VERSION}.tar.bz2
26+ digestSHA256 : ce847313eaae9e5c9f21708e42d2ab7b56c7e0eb8803729a3092f58886d897e6
27+ stripComponents : 1
28+
29+ buildTools : [python3]
30+ buildVars : [AR, CC, RANLIB]
31+ buildSetup : |
32+ # Makefile has hard-coded ar and ranlib calls..
33+ mkdir -p __bin
34+ pushd __bin
35+ ln -snf $(which ${AR}) ar
36+ ln -snf $(which ${RANLIB}) ranlib
37+ export PATH=$(pwd):${PATH}
38+ popd
39+
40+ buildScript : |
41+ mkdir -p build
42+ rsync -a --delete $1/ build/
43+ autotoolsBuild $(pwd)/build \
44+ --without-liblua \
45+ --without-zenmap \
46+ --enable-static
47+ # shared linking fails with:
48+ # cannot find ./libdnet-stripped/src/.libs/libdnet.a: No such file or directory
49+
50+ provideDeps : ['*-tgt']
51+ packageScript : |
52+ autotoolsPackageTgt
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ depends:
115115 - net::lighttpd
116116 - net::net-tools
117117 - net::nftables
118+ - net::nmap
118119 - net::ntp
119120 - net::openldap
120121 - net::openssh
You can’t perform that action at this time.
0 commit comments