freebsd-ports/security/nmap/Makefile
Olli Hauer 5f8c55ba37 - update to 7.01
FreeBSD related changes:
========================
Nmap 7.01 [2015-12-09]

o [NSE] [GH#254] Update the TLSSessionRequest probe in ssl-enum-ciphers to
  match the one in nmap-service-probes, which was fixed previously to correct a
  length calculation error. [Daniel Miller]

o [NSE] [GH#251] Correct false positives and unexpected behavior in http-*
  scripts which used http.identify_404 to determine when a file was not found
  on the target. The function was following redirects, which could be an
  indication of a soft-404 response. [Tom Sellers]

o [NSE] [GH#241] Fix a false-positive in hnap-info when the target responds
  with 200 OK to any request. [Tom Sellers]

o [NSE] [GH#244] Fix an error response in xmlrpc-methods when run against a
  non-HTTP service. The expected behavior is no output. [Niklaus Schiess]

o [NSE] Fix SSN validation function in http-grep, reported by Bruce Barnett.
2015-12-13 15:49:09 +00:00

68 lines
1.7 KiB
Makefile

# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$
PORTNAME= nmap
DISTVERSION= 7.01
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
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USES= tar:bzip2 gmake cpe
GNU_CONFIGURE= yes
OPTIONS_SUB= yes
OPTIONS_DEFINE= DOCS IPV6 SSL
OPTIONS_DEFAULT=IPV6 SSL
SSL_USE= OPENSSL=yes
SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE}
SSL_CONFIGURE_OFF= --without-openssl
SSL_CFLAGS= -I${OPENSSLINC}
SSL_VARS= STRIP_FILES=ncat
# PR: ports/159376 Workaround if OS is build with WITHOUT_INET6
IPV6_LIB_DEPENDS_OFF= libpcap.so:${PORTSDIR}/net/libpcap
IPV6_CONFIGURE_OFF= --with-libpcap=${LOCALBASE}/IPv6
.include <bsd.port.options.mk>
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} -rf ${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}
.include <bsd.port.mk>