2013-01-06 19:42:38 +01:00
|
|
|
# Created by: David O'Brien (obrien@NUXI.com)
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1998-08-04 19:59:51 +02:00
|
|
|
|
2008-03-14 22:30:23 +01:00
|
|
|
PORTNAME= nmap
|
2015-12-13 16:49:09 +01:00
|
|
|
DISTVERSION= 7.01
|
2003-04-11 12:00:50 +02:00
|
|
|
CATEGORIES= security ipv6
|
2008-04-14 02:53:05 +02:00
|
|
|
MASTER_SITES= http://nmap.org/dist/ \
|
2011-01-07 21:51:25 +01:00
|
|
|
LOCAL/ohauer
|
2002-05-27 19:36:35 +02:00
|
|
|
|
2010-08-10 15:37:06 +02:00
|
|
|
MAINTAINER= ohauer@FreeBSD.org
|
2008-03-14 22:30:23 +01:00
|
|
|
COMMENT= Port scanning utility for large networks
|
2004-06-17 13:56:03 +02:00
|
|
|
|
- update to 6.4.7
- add CPE entry
- sort pkg-plist
Changelog (entries related to the command line tools)
Nmap 6.47 [2014-08-20]
o Integrated all of your IPv4 OS fingerprint submissions since June 2013
(2700+ of them). Added 366 fingerprints, bringing the new total to 4485.
Additions include Linux 3.10 - 3.14, iOS 7, OpenBSD 5.4 - 5.5, FreeBSD 9.2,
OS X 10.9, Android 4.3, and more. Many existing fingerprints were improved.
Highlights: http://seclists.org/nmap-dev/2014/q3/325 [Daniel Miller]
o Removed the External Entity Declaration from the DOCTYPE in Nmap's XML. This
was added in 6.45, and resulted in trouble for Nmap XML parsers without
network access, as well as increased traffic to Nmap's servers. The doctype
is now:
<!DOCTYPE nmaprun>
o [Ncat] Fixed SOCKS5 username/password authentication. The password length was
being written in the wrong place, so authentication could not succeed.
Reported with patch by Pierluigi Vittori.
o Avoid formatting NULL as "%s" when running nmap --iflist. GNU libc converts
this to the string "(null)", but it caused segfault on Solaris. [Daniel Miller]
o Handle ICMP admin-prohibited messages when doing service version detection.
Crash reported by Nathan Stocks was: Unexpected error in NSE_TYPE_READ
callback. Error code: 101 (Network is unreachable) [David Fifield]
o [NSE] Fix a bug causing http.head to not honor redirects. [Patrik Karlsson]
MFH: 2014Q3
2014-08-23 14:29:46 +02:00
|
|
|
# nmap-6.47 => svn.nmap.org/nmap-releases/nmap-6.47 (r33605)
|
2011-01-07 21:51:25 +01:00
|
|
|
# http://nmap.org/book/man-legal.html
|
2013-08-21 06:57:14 +02:00
|
|
|
# Install the nmap modified license because of
|
|
|
|
# http://insecure.org/news/download-com-fiasco.html
|
2011-01-07 21:51:25 +01:00
|
|
|
LICENSE= GPLv2
|
2013-08-21 06:57:14 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-01-07 21:51:25 +01:00
|
|
|
|
2013-08-21 06:57:14 +02:00
|
|
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
2011-07-01 15:23:23 +02:00
|
|
|
|
2015-09-27 12:32:29 +02:00
|
|
|
USES= tar:bzip2 gmake cpe
|
2003-04-11 12:00:50 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-08-21 06:57:14 +02:00
|
|
|
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
OPTIONS_DEFINE= DOCS IPV6 SSL
|
|
|
|
OPTIONS_DEFAULT=IPV6 SSL
|
|
|
|
|
2013-11-25 21:49:58 +01:00
|
|
|
SSL_USE= OPENSSL=yes
|
2013-08-21 06:57:14 +02:00
|
|
|
SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE}
|
|
|
|
SSL_CONFIGURE_OFF= --without-openssl
|
|
|
|
SSL_CFLAGS= -I${OPENSSLINC}
|
- update to 6.49BETA6
- use new OPTIONS targes
Parts from Changelog [1]
==========================
Nmap 6.49BETA6
o Integrated all of your IPv6 OS fingerprint submissions from April to October
(only 9 of them!). We are steadily improving the IPv6 database, but we need
your submissions. The classifier added 3 new groups, bringing the new total
to 93. Highlights: http://seclists.org/nmap-dev/2015/q4/61 [Daniel Miller]
o Integrated all of your IPv4 OS fingerprint submissions from February to
October (1065 of them). Added 219 fingerprints, bringing the new total to
4985. Additions include Linux 4.1, Windows 10, OS X 10.11, iOS 9, FreeBSD
11.0, Android 5.1, and more. Highlights:
http://seclists.org/nmap-dev/2015/q4/60 [Daniel Miller]
o Integrated all of your service/version detection fingerprints submitted from
February to October (800+ of them). The signature count went up 2.5% to
10293. We now detect 1089 protocols, from afp, bitcoin, and caldav to
xml-rpc, yiff, and zebra. Highlights: http://seclists.org/nmap-dev/2015/q4/62
[Daniel Miller]
o [NSE] Added 10 NSE scripts from 5 authors, bringing the total up to 509!
They are all listed at http://nmap.org/nsedoc/, and the summaries are below
(authors are listed in brackets):
...
[1] https://nmap.org/changelog.html
2015-11-04 18:30:00 +01:00
|
|
|
SSL_VARS= STRIP_FILES=ncat
|
2013-08-21 06:57:14 +02:00
|
|
|
|
- update to 6.49BETA6
- use new OPTIONS targes
Parts from Changelog [1]
==========================
Nmap 6.49BETA6
o Integrated all of your IPv6 OS fingerprint submissions from April to October
(only 9 of them!). We are steadily improving the IPv6 database, but we need
your submissions. The classifier added 3 new groups, bringing the new total
to 93. Highlights: http://seclists.org/nmap-dev/2015/q4/61 [Daniel Miller]
o Integrated all of your IPv4 OS fingerprint submissions from February to
October (1065 of them). Added 219 fingerprints, bringing the new total to
4985. Additions include Linux 4.1, Windows 10, OS X 10.11, iOS 9, FreeBSD
11.0, Android 5.1, and more. Highlights:
http://seclists.org/nmap-dev/2015/q4/60 [Daniel Miller]
o Integrated all of your service/version detection fingerprints submitted from
February to October (800+ of them). The signature count went up 2.5% to
10293. We now detect 1089 protocols, from afp, bitcoin, and caldav to
xml-rpc, yiff, and zebra. Highlights: http://seclists.org/nmap-dev/2015/q4/62
[Daniel Miller]
o [NSE] Added 10 NSE scripts from 5 authors, bringing the total up to 509!
They are all listed at http://nmap.org/nsedoc/, and the summaries are below
(authors are listed in brackets):
...
[1] https://nmap.org/changelog.html
2015-11-04 18:30:00 +01:00
|
|
|
# PR: ports/159376 Workaround if OS is build with WITHOUT_INET6
|
|
|
|
IPV6_LIB_DEPENDS_OFF= libpcap.so:${PORTSDIR}/net/libpcap
|
2013-11-25 21:49:58 +01:00
|
|
|
IPV6_CONFIGURE_OFF= --with-libpcap=${LOCALBASE}/IPv6
|
|
|
|
|
2013-08-21 06:57:14 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2015-09-27 12:32:29 +02:00
|
|
|
DOCS= CHANGELOG HACKING
|
- update to 6.49BETA6
- use new OPTIONS targes
Parts from Changelog [1]
==========================
Nmap 6.49BETA6
o Integrated all of your IPv6 OS fingerprint submissions from April to October
(only 9 of them!). We are steadily improving the IPv6 database, but we need
your submissions. The classifier added 3 new groups, bringing the new total
to 93. Highlights: http://seclists.org/nmap-dev/2015/q4/61 [Daniel Miller]
o Integrated all of your IPv4 OS fingerprint submissions from February to
October (1065 of them). Added 219 fingerprints, bringing the new total to
4985. Additions include Linux 4.1, Windows 10, OS X 10.11, iOS 9, FreeBSD
11.0, Android 5.1, and more. Highlights:
http://seclists.org/nmap-dev/2015/q4/60 [Daniel Miller]
o Integrated all of your service/version detection fingerprints submitted from
February to October (800+ of them). The signature count went up 2.5% to
10293. We now detect 1089 protocols, from afp, bitcoin, and caldav to
xml-rpc, yiff, and zebra. Highlights: http://seclists.org/nmap-dev/2015/q4/62
[Daniel Miller]
o [NSE] Added 10 NSE scripts from 5 authors, bringing the total up to 509!
They are all listed at http://nmap.org/nsedoc/, and the summaries are below
(authors are listed in brackets):
...
[1] https://nmap.org/changelog.html
2015-11-04 18:30:00 +01:00
|
|
|
STRIP_FILES+= nmap nping
|
2014-04-15 14:12:02 +02:00
|
|
|
|
2013-08-21 06:57:14 +02:00
|
|
|
CONFIGURE_ARGS+=--without-localdirs \
|
2008-04-14 02:53:05 +02:00
|
|
|
--without-zenmap \
|
2009-04-13 11:53:53 +02:00
|
|
|
--without-ndiff \
|
2008-04-14 02:53:05 +02:00
|
|
|
--with-libpcre=${LOCALBASE} \
|
2014-01-12 18:56:20 +01:00
|
|
|
--with-liblua=included \
|
2012-01-04 17:47:52 +01:00
|
|
|
--without-nmap-update
|
2013-08-21 06:57:14 +02:00
|
|
|
|
2010-09-03 23:16:38 +02:00
|
|
|
# XXX limit results if we do a grep in the sources!
|
2011-01-07 21:51:25 +01:00
|
|
|
post-extract:
|
2010-09-03 23:16:38 +02:00
|
|
|
@${RM} -rf ${WRKSRC}/mswin32
|
|
|
|
|
2004-10-13 15:52:54 +02:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|" ${WRKSRC}/Makefile
|
|
|
|
|
2014-04-11 06:52:45 +02:00
|
|
|
pre-install:
|
|
|
|
${FIND} ${WRKSRC} -type f \( -name \*.orig -o -name \*.bak \) -delete
|
|
|
|
|
1998-08-04 19:59:51 +02:00
|
|
|
post-install:
|
2014-04-15 14:12:02 +02:00
|
|
|
${STRIP_CMD} ${STRIP_FILES:S|^|${STAGEDIR}${PREFIX}/bin/|}
|
- update to 6.49BETA6
- use new OPTIONS targes
Parts from Changelog [1]
==========================
Nmap 6.49BETA6
o Integrated all of your IPv6 OS fingerprint submissions from April to October
(only 9 of them!). We are steadily improving the IPv6 database, but we need
your submissions. The classifier added 3 new groups, bringing the new total
to 93. Highlights: http://seclists.org/nmap-dev/2015/q4/61 [Daniel Miller]
o Integrated all of your IPv4 OS fingerprint submissions from February to
October (1065 of them). Added 219 fingerprints, bringing the new total to
4985. Additions include Linux 4.1, Windows 10, OS X 10.11, iOS 9, FreeBSD
11.0, Android 5.1, and more. Highlights:
http://seclists.org/nmap-dev/2015/q4/60 [Daniel Miller]
o Integrated all of your service/version detection fingerprints submitted from
February to October (800+ of them). The signature count went up 2.5% to
10293. We now detect 1089 protocols, from afp, bitcoin, and caldav to
xml-rpc, yiff, and zebra. Highlights: http://seclists.org/nmap-dev/2015/q4/62
[Daniel Miller]
o [NSE] Added 10 NSE scripts from 5 authors, bringing the total up to 509!
They are all listed at http://nmap.org/nsedoc/, and the summaries are below
(authors are listed in brackets):
...
[1] https://nmap.org/changelog.html
2015-11-04 18:30:00 +01:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2013-09-28 17:50:43 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2015-09-27 12:32:29 +02:00
|
|
|
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2003-09-25 18:19:25 +02:00
|
|
|
|
2015-09-27 12:32:29 +02:00
|
|
|
.include <bsd.port.mk>
|