102.14. nmap-7.991
Network exploration tool and security scanner
7.991-1 · LicenseRef-NPSL · 1.9 SBU · 26.9 MiB, 823 files · 41_system, 938 of 1047 · ports/core/security/nmap
Homepage: https://nmap.org/
Depends on: openssl, libpcap, libssh2, zlib, pcre2, python3, python3-setuptools, python3-pip.
Required by (1): zenmap.
Sources: nmap-7.991.tar.bz2 (12.3 MiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
--without-zenmap, line 14: zenmap
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install nmap'
build.sh:
./configure \
--prefix=/usr \
--without-zenmap \
--without-ndiff \
--with-openssl \
--with-libpcap=yes \
--with-libssh2=yes \
--with-libz=yes \
--with-libpcre=yes \
--with-liblinear=included \
--with-liblua=included
make -C liblinear liblinear.a CC="gcc -std=gnu11" CXX=g++ \
CFLAGS="${CFLAGS/-std=gnu11/} -Wno-uninitialized"
make
make DESTDIR=$PKG install
pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr ./ndiff
install -Dm644 ndiff/docs/ndiff.1 -t "$PKG/usr/share/man/man1"
rm -f "$PKG"/usr/share/nmap/nselib/data/jdwp-class/*.class \
"$PKG"/usr/share/nmap/scripts/jdwp-exec.nse \
"$PKG"/usr/share/nmap/scripts/jdwp-info.nse
./nmap --datadir "$PKG/usr/share/nmap" --script-updatedb
Programs: ncat, ndiff, nmap, nping.
Directories: /usr/lib/python3.14/site-packages/ndiff-7.991.dist-info, /usr/share/licenses/nmap, /usr/share/ncat, /usr/share/nmap.