diff options
author | obrien <obrien@FreeBSD.org> | 2000-04-30 17:46:47 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-04-30 17:46:47 +0800 |
commit | a0f2cd4856a7f39b0facdb69d0e2c6d564005cc0 (patch) | |
tree | 24eb57acfddc19c1baef9a35bc1e9575ba6cc777 /security/nmap | |
parent | 30b6df1e48f62142625f77998fcd1d8afa7bea26 (diff) | |
download | freebsd-ports-gnome-a0f2cd4856a7f39b0facdb69d0e2c6d564005cc0.tar.gz freebsd-ports-gnome-a0f2cd4856a7f39b0facdb69d0e2c6d564005cc0.tar.zst freebsd-ports-gnome-a0f2cd4856a7f39b0facdb69d0e2c6d564005cc0.zip |
Update to 2.51.
2.51 fixes a target parsing bug which could in some cases cause Nmap to
crash with the error "Assertion `t->nleft > 1' failed".
Diffstat (limited to 'security/nmap')
-rw-r--r-- | security/nmap/Makefile | 4 | ||||
-rw-r--r-- | security/nmap/distinfo | 2 | ||||
-rw-r--r-- | security/nmap/files/patch-aa | 21 | ||||
-rw-r--r-- | security/nmap/pkg-plist | 8 |
4 files changed, 13 insertions, 22 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile index 7fb266048de2..efa7a106cd21 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -7,12 +7,11 @@ # PORTNAME= nmap -PORTVERSION= 2.3.b20 +PORTVERSION= 2.51 CATEGORIES= security net MASTER_SITES= http://www.insecure.org/nmap/dist/ \ ftp://nuxi.ucdavis.edu/pub/misc/ \ http://www.mobis.com/ajax/projects/ -DISTNAME= ${PORTNAME}-2.30BETA20 EXTRACT_SUFX= .tgz #PATCH_SITES= http://www.mobis.com/ajax/projects/ @@ -22,7 +21,6 @@ MAINTAINER= obrien@FreeBSD.org .include <bsd.port.pre.mk> GNU_CONFIGURE= yes -CONFIGURE_ARGS= --libdir=${PREFIX}/share/misc .if ${OSVERSION} < 300004 CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h> .endif diff --git a/security/nmap/distinfo b/security/nmap/distinfo index e5c74e7e3f7a..b377d9bc496a 100644 --- a/security/nmap/distinfo +++ b/security/nmap/distinfo @@ -1 +1 @@ -MD5 (nmap-2.30BETA20.tgz) = a697e4e5783e73fb3716d9133bb4ba58 +MD5 (nmap-2.51.tgz) = 9374b13c049c588c7067a5b49521e54d diff --git a/security/nmap/files/patch-aa b/security/nmap/files/patch-aa index 5b3e70edbb0f..f3463fa5ba62 100644 --- a/security/nmap/files/patch-aa +++ b/security/nmap/files/patch-aa @@ -1,19 +1,12 @@ ---- Makefile.in.orig Sun Mar 26 03:04:48 2000 -+++ Makefile.in Sun Mar 26 17:16:58 2000 -@@ -5,13 +5,13 @@ - sbindir = @sbindir@ - mandir = @mandir@ - srcdir = @srcdir@ --libdir = @libdir@/nmap -+libdir = @libdir@ - deskdir = $(prefix)/share/gnome/apps/Utilities - +--- Makefile.in.orig Sat Apr 29 13:37:50 2000 ++++ Makefile.in Sun Apr 30 01:38:54 2000 +@@ -11,7 +11,7 @@ CC = @CC@ CCOPT = LIBPCAPDIR = @libpcapdir@ -INCLS = -I. -I$(LIBPCAPDIR) +INCLS = -I. # -I$(LIBPCAPDIR) - DEFS = @DEFS@ -DVERSION=\"$(VERSION)\" -DLIBDIR=\"$(libdir)\" + DEFS = @DEFS@ -DVERSION=\"$(VERSION)\" -DNMAPDATADIR=\"$(nmapdatadir)\" CFLAGS = @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS) # CFLAGS = -g -Wall $(DEFS) $(INCLS) @@ -36,7 +36,7 @@ @@ -25,12 +18,12 @@ @echo Compiling nmap rm -f $@ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -@@ -128,7 +128,7 @@ +@@ -129,7 +129,7 @@ $(MAKEDEPEND) $(INCLS) -s "# DO NOT DELETE" -- $(DEFS) -- $(SRCS) install: $(TARGET) -- $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(libdir) $(deskdir) -+ $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(libdir) +- $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir) $(deskdir) ++ $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir) $(INSTALL) -c -m 755 nmap $(bindir)/nmap @echo "If the next command failes -- you cannot use the X front end" -test -f nmapfe/nmapfe && $(INSTALL) -c -m 755 nmapfe/nmapfe $(bindir)/nmapfe && $(SHTOOL) mkln -f -s $(bindir)/nmapfe $(bindir)/xnmap && $(INSTALL) -c -m 644 nmapfe.desktop $(deskdir)/nmapfe.desktop diff --git a/security/nmap/pkg-plist b/security/nmap/pkg-plist index 883527395da4..0361396ca46e 100644 --- a/security/nmap/pkg-plist +++ b/security/nmap/pkg-plist @@ -1,6 +1,6 @@ @comment $FreeBSD$ bin/nmap -share/misc/nmap-os-fingerprints -share/misc/nmap-services -share/misc/nmap-rpc -@dirrm share/misc +share/nmap/nmap-os-fingerprints +share/nmap/nmap-services +share/nmap/nmap-rpc +@dirrm share/nmap |