aboutsummaryrefslogtreecommitdiff
path: root/security/nmap
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-04-30 09:46:47 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-04-30 09:46:47 +0000
commitc6da23405e1a05776b5ff744b168d5ed75499ca4 (patch)
tree2be2e3f26dc80e1b4689da6f490e467daf128c64 /security/nmap
parent74f1274fa6e2f8de24d9dfe01f19f56e67537281 (diff)
downloadports-c6da23405e1a05776b5ff744b168d5ed75499ca4.tar.gz
ports-c6da23405e1a05776b5ff744b168d5ed75499ca4.zip
Notes
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/Makefile4
-rw-r--r--security/nmap/distinfo2
-rw-r--r--security/nmap/files/patch-aa21
-rw-r--r--security/nmap/pkg-plist8
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