# nmap/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. As of mid-2025, the default build procedures for the "ndiff" and "zenmap" components of this package insist on going online. So, the procedures in question have been installed, but the components in question are installed regardless. Distro-specific build procedures are used. #--------------------------------------------------------------------- [buildtimes] 00.04 hours (or 002.30 minutes) - HP EliteBook 8560w 32GB RAM 00.04 hours (or 002.40 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.06 hours (or 003.38 minutes) - Dell Inspiron 1545 00.07 hours (or 003.97 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.12 hours (or 007.03 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes build = default compiler = clang exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = LICENSE tmpsize = 112M setpaths = libpcap #--------------------------------------------------------------------- [depends] actools gawk grep gtkcore libpcap openssl pcre pkgconf pygobject pygtk2 # Needed by "zenmap" python # Including pysqlite, which is needed # by "zenmap" readline #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --mandir=$MANBASE \ --with-liblua=included \ --without-ndiff \ --without-zenmap pip3install build #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin PROGDIR=$PKGDIR_PROD/program rm -fr $PROGDIR mkdir -p $BINDIR $PROGDIR chmod 755 ndiff/ndiff.py mv ndiff/ndiff.py $BINDIR/ndiff rm -fr zenmap/install_scripts chmod 755 zenmap/zenmap mv zenmap/* $PROGDIR/ cp -p $PKGDIR_SPECIAL/zenmap.middle $PROGDIR/ chmod 755 $PROGDIR/zenmap.middle ln -nsf $PROGDIR/zenmap.middle $BINDIR/zenmap #ifdef NOTDEF # rm -fr $PKGDIR_PROD/bin/uninstall_zenmap # cd $PKGDIR_PROD/share/zenmap/docs/ # rm help.html # unzip -qo $PKGDIR_SPECIAL/nmaphtml.zip # mv html/* . # rmdir html # ln -s index.html help.html #endif #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/nmap url_home = http://www.insecure.org/nmap/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ basicnet/nmap.html url_tarball = https://nmap.org/dist/nmap-7.97.tar.bz2 #--------------------------------------------------------------------- [history] 170704 Updated from 7.01 to 7.50 190812 Updated to 7.80 210218 Updated to 7.91 210912 Updated to 7.92 240324 Updated to 7.94 250515 Updated to 7.97 250515 Modified install procedures for "ndiff" and "zenmap" 250515 Added a single-instance wrapper for "zenmap"