aboutsummaryrefslogtreecommitdiff
path: root/security/nmap
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-05-28 01:01:19 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-05-28 01:01:19 +0000
commit14c5bb3b12b2cedebfcb8cd9054824c073ec117e (patch)
tree1854d6b4c20e9777d75fbf64ef39fd7c15d601b3 /security/nmap
parenta668e73aecf01be2db79b7f482aad0dcad7787ec (diff)
downloadports-14c5bb3b12b2cedebfcb8cd9054824c073ec117e.tar.gz
ports-14c5bb3b12b2cedebfcb8cd9054824c073ec117e.zip
Notes
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/Makefile4
-rw-r--r--security/nmap/files/patch-aa24
2 files changed, 21 insertions, 7 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index 7072bf4d86f0..1207ca2f79eb 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -12,7 +12,7 @@ CATEGORIES= security
MASTER_SITES= http://www.insecure.org/nmap/dist/ \
ftp://nuxi.ucdavis.edu/pub/misc/ \
http://www.mobis.com/ajax/projects/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/BETA/}
+DISTNAME= nmap-${PORTVERSION:S/.b/BETA/}
EXTRACT_SUFX= .tgz
#PATCH_SITES= http://www.mobis.com/ajax/projects/
@@ -25,7 +25,7 @@ GNU_CONFIGURE= yes
.if ${OSVERSION} < 300004
CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
.endif
-MAN1= nmap.1
+MAN1?= nmap.1
.if !target(post-install)
post-install:
diff --git a/security/nmap/files/patch-aa b/security/nmap/files/patch-aa
index c6ae507e67fa..24f4f6723ead 100644
--- a/security/nmap/files/patch-aa
+++ b/security/nmap/files/patch-aa
@@ -1,12 +1,26 @@
--- Makefile.in.orig Fri Mar 9 22:25:19 2001
-+++ Makefile.in Sat Apr 7 11:28:49 2001
-@@ -17,3 +17,3 @@
++++ Makefile.in Sun May 27 17:49:17 2001
+@@ -16,5 +16,5 @@
+ CCOPT =
LIBPCAPDIR = @libpcapdir@
-INCLS = -I$(LIBPCAPDIR)
+#INCLS = -I$(LIBPCAPDIR)
DEFS = @DEFS@ -DNMAP_VERSION=\"$(NMAP_VERSION)\" -DNMAP_NAME=\"$(NMAP_NAME)\" -DNMAP_URL=\"$(NMAP_URL)\" -DNMAP_PLATFORM=\"$(NMAP_PLATFORM)\" -DNMAPDATADIR=\"$(nmapdatadir)\"
-@@ -173,3 +173,3 @@
- install: $(TARGET)
+ CFLAGS = -g @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
+@@ -171,9 +171,13 @@
+ $(MAKEDEPEND) $(INCLS) -s "# DO NOT DELETE" -- $(DEFS) -- $(SRCS)
+
+-install: $(TARGET)
- $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir) $(deskdir)
+- $(INSTALL) -c -m 755 nmap $(bindir)/nmap
++install-nmapfe:
+ @echo "If the next command fails -- you cannot use the X front end"
++ $(SHTOOL) mkdir -f -p -m 755 $(deskdir)
+ -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 && $(INSTALL) -c -m 644 docs/nmapfe.1 $(mandir)/man1/nmapfe.1 && $(INSTALL) -c -m 644 docs/xnmap.1 $(mandir)/man1/xnmap.1
++
++install: $(TARGET)
+ $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir)
- $(INSTALL) -c -m 755 nmap $(bindir)/nmap
++ $(INSTALL) -c -m 755 nmap $(bindir)/nmap
++ -$(MAKE) install-nmapfe
+ $(INSTALL) -c -m 644 docs/$(TARGET).1 $(mandir)/man1/$(TARGET).1
+ $(INSTALL) -c -m 644 nmap-os-fingerprints $(nmapdatadir)/nmap-os-fingerprints