aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-28 09:01:19 +0800
committerobrien <obrien@FreeBSD.org>2001-05-28 09:01:19 +0800
commit173a5c1bee5a64ff6ccda46be6449aa635192d00 (patch)
tree7921c3f8418c3e587927ac22ef1f9b2cdb15d51c /security
parentb6a64b91c85cf378ce6756f3a78a334c1523cfcc (diff)
downloadfreebsd-ports-gnome-173a5c1bee5a64ff6ccda46be6449aa635192d00.tar.gz
freebsd-ports-gnome-173a5c1bee5a64ff6ccda46be6449aa635192d00.tar.zst
freebsd-ports-gnome-173a5c1bee5a64ff6ccda46be6449aa635192d00.zip
More changes needed to allow a slave port.
Diffstat (limited to 'security')
-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