diff options
author | miwi <miwi@FreeBSD.org> | 2010-01-31 08:50:27 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-01-31 08:50:27 +0800 |
commit | 92b104a326691ffd893f61eebd88a42608d288ba (patch) | |
tree | 972e2a37ae20c376310433c3c5bfe214b17eba3d | |
parent | 3d591828e6e6ab1ebf400f2b550a36c27ee02ebc (diff) | |
download | freebsd-ports-gnome-92b104a326691ffd893f61eebd88a42608d288ba.tar.gz freebsd-ports-gnome-92b104a326691ffd893f61eebd88a42608d288ba.tar.zst freebsd-ports-gnome-92b104a326691ffd893f61eebd88a42608d288ba.zip |
- Update to 5.21
PR: 143331
Submitted by: Daniel Roethlisberger <daniel@roe.ch> (maintainer)
-rw-r--r-- | security/nmap/Makefile | 6 | ||||
-rw-r--r-- | security/nmap/distinfo | 6 | ||||
-rw-r--r-- | security/nmap/files/patch-output.cc | 22 | ||||
-rw-r--r-- | security/nmap/files/patch-tcpip.cc | 18 | ||||
-rw-r--r-- | security/nmap/pkg-plist | 79 |
5 files changed, 95 insertions, 36 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile index 163848a63b4d..c87bae05c342 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nmap -PORTVERSION= 5.00 +PORTVERSION= 5.21 CATEGORIES= security ipv6 MASTER_SITES= http://nmap.org/dist/ \ http://nmap.ucsd.edu/dist/ \ @@ -31,7 +31,9 @@ CONFIGURE_ARGS= --without-localdirs \ --with-liblua=${LOCALBASE} CONFIGURE_ENV= LUA_INCDIR="${LUA_INCDIR}" LUA_LIBDIR="${LUA_LIBDIR}" -MAN1= nmap.1 ncat.1 +MANLANG= "" de es fr hr hu it jp pl pt_BR pt_PT ro ru sk zh +MAN1= nmap.1 +MAN1_EN= ncat.1 PLIST_SUB= NCATDATADIR=share/ncat .ifndef WITHOUT_SSL diff --git a/security/nmap/distinfo b/security/nmap/distinfo index 3d9415652c78..11a649783437 100644 --- a/security/nmap/distinfo +++ b/security/nmap/distinfo @@ -1,3 +1,3 @@ -MD5 (nmap-5.00.tar.bz2) = 32d27de32166c02d670bb4a086185886 -SHA256 (nmap-5.00.tar.bz2) = b88b987d6e81ed306c4a8c52c6d6be414feac51ca50e1a61777f162dc3e8214d -SIZE (nmap-5.00.tar.bz2) = 9068342 +MD5 (nmap-5.21.tar.bz2) = f77fa51d89ab27d35e5cd87bb086b858 +SHA256 (nmap-5.21.tar.bz2) = 9fcb24f86157541c2f17cc8a0cc1e5d15d909b51720d163fcad5faaa6201b0ba +SIZE (nmap-5.21.tar.bz2) = 10015121 diff --git a/security/nmap/files/patch-output.cc b/security/nmap/files/patch-output.cc index 40c4f4f5e275..a5a89f73c2df 100644 --- a/security/nmap/files/patch-output.cc +++ b/security/nmap/files/patch-output.cc @@ -1,21 +1,19 @@ ---- output.cc.orig 2009-04-01 00:29:03.000000000 +0200 -+++ output.cc 2009-04-01 22:52:01.000000000 +0200 -@@ -108,6 +108,7 @@ - #include <math.h> - - #include <set> -+#include <sys/param.h> +--- output.cc.orig 2009-12-20 04:22:19.000000000 +0100 ++++ output.cc 2010-01-21 17:42:20.000000000 +0100 +@@ -111,6 +111,7 @@ #include <string> #include <vector> #include <list> -@@ -1030,8 +1031,8 @@ ++#include <sys/param.h> + + /* Workaround for lack of namespace std on HP-UX 11.00 */ + namespace std {}; +@@ -1037,7 +1038,7 @@ case LOG_MACHINE: case LOG_SKID: case LOG_XML: -#ifdef WIN32 -- apcopy = ap; +#if defined(WIN32) || (defined(FREEBSD) && (__FreeBSD_version < 500000)) -+ apcopy = ap; + apcopy = ap; #else - va_copy(apcopy, ap); /* Needed in case we need to so a second vnsprintf */ - #endif + va_copy(apcopy, ap); /* Needed in case we need to do a second vsnprintf */ diff --git a/security/nmap/files/patch-tcpip.cc b/security/nmap/files/patch-tcpip.cc index cd67b771bc2b..bfd32d785532 100644 --- a/security/nmap/files/patch-tcpip.cc +++ b/security/nmap/files/patch-tcpip.cc @@ -9,21 +9,3 @@ extern NmapOps o; #ifdef WIN32 -@@ -1959,7 +1961,7 @@ - - // Returns whether the system supports pcap_get_selectable_fd() properly - bool pcap_selectable_fd_valid() { --#if defined(WIN32) || defined(MACOSX) -+#if defined(WIN32) || defined(MACOSX) || (defined(FREEBSD) && (__FreeBSD_version < 500000)) - return false; - #endif - return true; -@@ -1972,7 +1974,7 @@ - results. If you just want to test whether the function is supported, - use pcap_selectable_fd_valid() instead. */ - int my_pcap_get_selectable_fd(pcap_t *p) { --#if defined(WIN32) || defined(MACOSX) -+#if defined(WIN32) || defined(MACOSX) || (defined(FREEBSD) && (__FreeBSD_version < 500000)) - return -1; - #else - assert(pcap_selectable_fd_valid()); diff --git a/security/nmap/pkg-plist b/security/nmap/pkg-plist index b3b934b73c54..fa2f3a06733e 100644 --- a/security/nmap/pkg-plist +++ b/security/nmap/pkg-plist @@ -18,7 +18,6 @@ bin/ncat %%DATADIR%%/scripts/smb-system-info.nse %%DATADIR%%/scripts/smb-server-stats.nse %%DATADIR%%/scripts/smb-security-mode.nse -%%DATADIR%%/scripts/smb-pwdump.nse %%DATADIR%%/scripts/smb-os-discovery.nse %%DATADIR%%/scripts/smb-enum-users.nse %%DATADIR%%/scripts/smb-enum-shares.nse @@ -60,7 +59,53 @@ bin/ncat %%DATADIR%%/scripts/auth-spoof.nse %%DATADIR%%/scripts/auth-owners.nse %%DATADIR%%/scripts/asn-query.nse +%%DATADIR%%/scripts/citrix-brute-xml.nse +%%DATADIR%%/scripts/citrix-enum-apps-xml.nse +%%DATADIR%%/scripts/citrix-enum-apps.nse +%%DATADIR%%/scripts/citrix-enum-servers-xml.nse +%%DATADIR%%/scripts/citrix-enum-servers.nse +%%DATADIR%%/scripts/db2-info.nse +%%DATADIR%%/scripts/dhcp-discover.nse +%%DATADIR%%/scripts/http-date.nse +%%DATADIR%%/scripts/http-enum.nse +%%DATADIR%%/scripts/http-favicon.nse +%%DATADIR%%/scripts/http-headers.nse +%%DATADIR%%/scripts/http-malware-host.nse +%%DATADIR%%/scripts/http-userdir-enum.nse +%%DATADIR%%/scripts/nfs-showmount.nse +%%DATADIR%%/scripts/ntp-info.nse +%%DATADIR%%/scripts/oracle-sid-brute.nse +%%DATADIR%%/scripts/pjl-ready-message.nse +%%DATADIR%%/scripts/smb-enum-groups.nse +%%DATADIR%%/scripts/smb-psexec.nse +%%DATADIR%%/scripts/smbv2-enabled.nse +%%DATADIR%%/scripts/ssl-cert.nse +%%DATADIR%%/scripts/x11-access.nse @dirrm %%DATADIR%%/scripts +%%DATADIR%%/nselib/data/psexec/backdoor.lua +%%DATADIR%%/nselib/data/psexec/drives.lua +%%DATADIR%%/nselib/data/psexec/nmap_service.exe +%%DATADIR%%/nselib/data/psexec/network.lua +%%DATADIR%%/nselib/data/psexec/nmap_service.c +%%DATADIR%%/nselib/data/psexec/experimental.lua +%%DATADIR%%/nselib/data/psexec/pwdump.lua +%%DATADIR%%/nselib/data/psexec/default.lua +%%DATADIR%%/nselib/data/psexec/nmap_service.vcproj +%%DATADIR%%/nselib/data/psexec/encoder.c +%%DATADIR%%/nselib/data/psexec/examples.lua +%%DATADIR%%/nselib/data/psexec/README +@dirrm %%DATADIR%%/nselib/data/psexec +%%DATADIR%%/nselib/data/usernames.lst +%%DATADIR%%/nselib/data/favicon-db +%%DATADIR%%/nselib/data/http-fingerprints +%%DATADIR%%/nselib/data/folders.lst +%%DATADIR%%/nselib/data/oracle-sids +%%DATADIR%%/nselib/data/passwords.lst +%%DATADIR%%/nselib/data/yokoso-fingerprints +@dirrm %%DATADIR%%/nselib/data +%%DATADIR%%/nselib/citrixxml.lua +%%DATADIR%%/nselib/proxy.lua +%%DATADIR%%/nselib/strict.lua %%DATADIR%%/nselib/http.lua %%DATADIR%%/nselib/ipOps.lua %%DATADIR%%/nselib/strbuf.lua @@ -101,6 +146,38 @@ bin/ncat @dirrm %%DATADIR%% %%NCATDATADIR%%/ca-bundle.crt @dirrm %%NCATDATADIR%% +@dirrmtry man/de/man1 +@dirrmtry man/de +@dirrmtry man/es/man1 +@dirrmtry man/es +@dirrmtry man/fr/man1 +@dirrmtry man/fr +@dirrmtry man/hr/man1 +@dirrmtry man/hr +@dirrmtry man/hu/man1 +@dirrmtry man/hu +@dirrmtry man/it/man1 +@dirrmtry man/it +@dirrmtry man/jp/man1 +@dirrmtry man/jp +@dirrmtry man/pl/man1 +@dirrmtry man/pl +@dirrmtry man/pt_PT/man1 +@dirrmtry man/pt_PT +@dirrmtry man/pt_BR/man1 +@dirrmtry man/pt_BR +@dirrmtry man/pt/man1 +@dirrmtry man/pt +@dirrmtry man/ro/man1 +@dirrmtry man/ro +@dirrmtry man/ro/man1 +@dirrmtry man/ro +@dirrmtry man/sk/man1 +@dirrmtry man/sk +@dirrmtry man/zh/man1 +@dirrmtry man/zh +man/pt_PT + %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG %%PORTDOCS%%%%DOCSDIR%%/HACKING %%PORTDOCS%%%%DOCSDIR%%/nmap.dtd |