diff --git a/srcpkgs/nmap/template b/srcpkgs/nmap/template index 156f9ea5ab9..99e771fd373 100644 --- a/srcpkgs/nmap/template +++ b/srcpkgs/nmap/template @@ -17,6 +17,14 @@ homepage="https://nmap.org" distfiles="https://nmap.org/dist/nmap-${version}.tar.bz2" checksum=a8796ecc4fa6c38aad6139d9515dc8113023a82e9d787e5a5fb5fa1b05516f21 +pre_check() { + # Disable zenmap tests + # https://github.com/nmap/nmap/issues/662 + # https://github.com/nmap/nmap/issues/666 + # https://github.com/nmap/nmap/issues/85 + sed -i 's|check-zenmap ||g' Makefile +} + post_install() { # do not use bundled certificates, use only system ones rm -f ${DESTDIR}/usr/share/ncat/ca-bundle.crt