summaryrefslogtreecommitdiff
path: root/security/nmap
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-08-18 14:31:37 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-08-18 14:31:37 +0000
commit6389f112ab405380e5a8c4fca659d25bba9698db (patch)
tree9a93fe410b23db0e8eded8fb6490cb220561bcf1 /security/nmap
parentRemove manpage from pkg/PLIST. (diff)
Old version use bpf.h from internal libpcap and link with
system libpcap in the same time. Fix to use <net/bpf.h> instead New manpages scheme
Notes
Notes: svn path=/head/; revision=12617
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/Makefile3
-rw-r--r--security/nmap/files/patch-aa19
-rw-r--r--security/nmap/pkg-plist1
3 files changed, 21 insertions, 2 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index 6c14e20d0a5f..8209fa7704a7 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -4,7 +4,7 @@
# Date created: Tue Aug 04, 1998
# Whom: David O'Brien (obrien@NUXI.com)
#
-# $Id: Makefile,v 1.1.1.1 1998/08/04 17:59:51 obrien Exp $
+# $Id: Makefile,v 1.2 1998/08/04 18:01:31 obrien Exp $
#
DISTNAME= nmap-1.51
@@ -14,6 +14,7 @@ MASTER_SITES= http://www.insecure.org/nmap/
MAINTAINER= obrien@FreeBSD.org
GNU_CONFIGURE= yes
+CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
MAN1= nmap.1
post-install:
diff --git a/security/nmap/files/patch-aa b/security/nmap/files/patch-aa
new file mode 100644
index 000000000000..f59ea23cd93e
--- /dev/null
+++ b/security/nmap/files/patch-aa
@@ -0,0 +1,19 @@
+*** Makefile.in.bak Mon May 25 17:11:27 1998
+--- Makefile.in Tue Aug 18 10:18:42 1998
+***************
+*** 9,15 ****
+ CC = @CC@
+ CCOPT =
+ LIBPCAPDIR = @libpcapdir@
+! INCLS = -I. -I$(LIBPCAPDIR)
+ DEFS = @DEFS@
+ CFLAGS = @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
+ LDFLAGS = @LDFLAGS@
+--- 9,15 ----
+ CC = @CC@
+ CCOPT =
+ LIBPCAPDIR = @libpcapdir@
+! INCLS = -I.
+ DEFS = @DEFS@
+ CFLAGS = @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
+ LDFLAGS = @LDFLAGS@
diff --git a/security/nmap/pkg-plist b/security/nmap/pkg-plist
index 8f498c525c38..f9b01259219a 100644
--- a/security/nmap/pkg-plist
+++ b/security/nmap/pkg-plist
@@ -1,2 +1 @@
bin/nmap
-man/man1/nmap.1.gz