diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-06-16 04:43:50 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-06-16 04:43:50 +0000 |
commit | adcc389f0b47b618e012b11aa514fe6371a020fb (patch) | |
tree | 74d822942991ad2b2d20371c0efbfc4677f75368 /security/nmap | |
parent | Don't crash when checking when checking input. (diff) |
nmap 3.27 -> 3.28
PR: 53351
Submitted by: Dominic Marks <dom@cus.org.uk>
Notes
Notes:
svn path=/head/; revision=83094
Diffstat (limited to 'security/nmap')
-rw-r--r-- | security/nmap/Makefile | 2 | ||||
-rw-r--r-- | security/nmap/distinfo | 2 | ||||
-rw-r--r-- | security/nmap/files/patch-ac | 17 | ||||
-rw-r--r-- | security/nmap/files/patch-configure | 15 | ||||
-rw-r--r-- | security/nmap/files/patch-nbase::configure | 15 | ||||
-rw-r--r-- | security/nmap/files/patch-nbase::getopt.h | 14 |
6 files changed, 6 insertions, 59 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile index 0dff9915fd86..1c12d968556b 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -7,7 +7,7 @@ # PORTNAME?= nmap -PORTVERSION= 3.27 +PORTVERSION= 3.28 CATEGORIES= security ipv6 MASTER_SITES= http://download.insecure.org/nmap/dist/ DISTNAME= nmap-${PORTVERSION:S/.b/BETA/} diff --git a/security/nmap/distinfo b/security/nmap/distinfo index 2b5c9932543f..ffb0eb1ac3cb 100644 --- a/security/nmap/distinfo +++ b/security/nmap/distinfo @@ -1 +1 @@ -MD5 (nmap-3.27.tar.bz2) = 7dd965ee17397cb80775f226b0904010 +MD5 (nmap-3.28.tar.bz2) = ac46d6d7a5f7eec8d0281f656c23f2b4 diff --git a/security/nmap/files/patch-ac b/security/nmap/files/patch-ac index c2048950beec..1e6ede83aceb 100644 --- a/security/nmap/files/patch-ac +++ b/security/nmap/files/patch-ac @@ -1,20 +1,11 @@ ---- nmapfe/nmapfe_sig.c.orig Thu Jan 27 23:46:47 2000 -+++ nmapfe/nmapfe_sig.c Fri Jan 28 01:59:47 2000 -@@ -164,7 +164,7 @@ - on_Get_Nmap_Version_activate (GtkMenuItem *menuitem, - gpointer user_data) - { -- execute("nmap -V"); -+ execute( NMAP_PATH "nmap -V"); - } - - -@@ -468,7 +468,7 @@ +--- nmapfe/nmapfe_sig.c.old Sun Jun 15 17:37:46 2003 ++++ nmapfe/nmapfe_sig.c Sun Jun 15 17:44:47 2003 +@@ -433,7 +433,7 @@ if (size > command_size) command = realloc(command, size); - strcpy(command, "nmap "); + strcpy(command, NMAP_PATH "nmap "); - /*Uhm... yeah.. Spit out which scan to perform based + /* Uhm... yeah.. Spit out which scan to perform based on the which_scan variable */ diff --git a/security/nmap/files/patch-configure b/security/nmap/files/patch-configure deleted file mode 100644 index e6a805bc0dbb..000000000000 --- a/security/nmap/files/patch-configure +++ /dev/null @@ -1,15 +0,0 @@ ---- configure.orig Fri Apr 11 19:52:29 2003 -+++ configure Fri Apr 11 19:53:19 2003 -@@ -1251,12 +1251,6 @@ - - - --if test -d /usr/local/lib; then -- LDFLAGS="$LDFLAGS -L/usr/local/lib" --fi --if test -d /usr/local/include; then -- CXXFLAGS="$CXXFLAGS -I/usr/local/include" --fi - - libpcapdir=libpcap-possiblymodified - diff --git a/security/nmap/files/patch-nbase::configure b/security/nmap/files/patch-nbase::configure deleted file mode 100644 index 686d26fb3947..000000000000 --- a/security/nmap/files/patch-nbase::configure +++ /dev/null @@ -1,15 +0,0 @@ ---- nbase/configure.orig Fri Apr 11 19:49:54 2003 -+++ nbase/configure Fri Apr 11 19:50:27 2003 -@@ -1238,12 +1238,6 @@ - - - --if test -d /usr/local/lib; then -- LDFLAGS="$LDFLAGS -L/usr/local/lib" --fi --if test -d /usr/local/include; then -- CFLAGS="$CFLAGS -I/usr/local/include" --fi - - ac_config_headers="$ac_config_headers nbase_config.h" - diff --git a/security/nmap/files/patch-nbase::getopt.h b/security/nmap/files/patch-nbase::getopt.h deleted file mode 100644 index 6f83861620ed..000000000000 --- a/security/nmap/files/patch-nbase::getopt.h +++ /dev/null @@ -1,14 +0,0 @@ ---- nbase/getopt.h.orig Sat Mar 29 22:29:42 2003 -+++ nbase/getopt.h Sat Mar 29 22:47:18 2003 -@@ -100,7 +100,11 @@ - errors, only prototype getopt for the GNU C library. */ - extern int getopt (int argc, char *const *argv, const char *shortopts); - #else /* not __GNU_LIBRARY__ */ -+#if FREEBSD -+#include <unistd.h> -+#else - extern int getopt (); -+#endif - #endif /* __GNU_LIBRARY__ */ - extern int getopt_long (int argc, char *const *argv, const char *shortopts, - const struct option *longopts, int *longind); |