Index: head/security/nmap/Makefile =================================================================== --- head/security/nmap/Makefile (revision 441213) +++ head/security/nmap/Makefile (revision 441214) @@ -1,67 +1,67 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= nmap DISTVERSION= 7.40 +PORTREVISION= 1 CATEGORIES= security ipv6 MASTER_SITES= http://nmap.org/dist/ \ LOCAL/ohauer MAINTAINER?= ohauer@FreeBSD.org COMMENT?= Port scanning utility for large networks # nmap-6.47 => svn.nmap.org/nmap-releases/nmap-6.47 (r33605) # http://nmap.org/book/man-legal.html # Install the nmap modified license because of # http://insecure.org/news/download-com-fiasco.html LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING .if !defined(MASTERDIR) LIB_DEPENDS= libpcre.so:devel/pcre USES= tar:bzip2 gmake cpe GNU_CONFIGURE= yes -# Note: nmap does no longer build agains custom kernel without IPv6! OPTIONS_SUB= yes OPTIONS_DEFINE= DOCS SSL OPTIONS_DEFAULT=SSL SSL_USES= ssl SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} SSL_CONFIGURE_OFF= --without-openssl SSL_CFLAGS= -I${OPENSSLINC} SSL_VARS= STRIP_FILES=ncat DOCS= CHANGELOG HACKING STRIP_FILES+= nmap nping CONFIGURE_ARGS+=--without-localdirs \ --without-zenmap \ --without-ndiff \ --with-libpcre=${LOCALBASE} \ --with-liblua=included \ --without-nmap-update # XXX limit results if we do a grep in the sources! post-extract: @${RM} -r ${WRKSRC}/mswin32 post-configure: @${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|" ${WRKSRC}/Makefile pre-install: ${FIND} ${WRKSRC} -type f \( -name \*.orig -o -name \*.bak \) -delete post-install: ${STRIP_CMD} ${STRIP_FILES:S|^|${STAGEDIR}${PREFIX}/bin/|} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif .include Index: head/security/nmap/files/patch-intf.c =================================================================== --- head/security/nmap/files/patch-intf.c (nonexistent) +++ head/security/nmap/files/patch-intf.c (revision 441214) @@ -0,0 +1,11 @@ +--- libdnet-stripped/src/intf.c.orig 2017-03-05 16:19:13.768984000 +0700 ++++ libdnet-stripped/src/intf.c 2017-03-05 16:16:48.337379000 +0700 +@@ -163,7 +163,7 @@ intf_open(void) + #if defined(SIOCGLIFCONF) || defined(SIOCGIFNETMASK_IN6) || defined(SIOCGIFNETMASK6) + if ((intf->fd6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { + # ifdef EPROTONOSUPPORT +- if (errno != EPROTONOSUPPORT) ++ if (errno != EPROTONOSUPPORT && errno != EAFNOSUPPORT) + # endif + return (intf_close(intf)); + } Property changes on: head/security/nmap/files/patch-intf.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property