nmap: disable zenmap tests.

Closes #9561.
This commit is contained in:
maxice8 2017-11-27 05:08:36 -02:00 committed by Enno Boland
parent 937be6e163
commit 0a14ae46fa
1 changed files with 8 additions and 0 deletions

View File

@ -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