summaryrefslogtreecommitdiffstats
path: root/net-mgmt/p0f
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-03-23 11:14:14 +0000
committergarga <garga@FreeBSD.org>2006-03-23 11:14:14 +0000
commit2a49fa537ec5b6ef3c98d78bb949c4e8efd9a8ac (patch)
treeeecc6b584d6805b464e55e107f3c848012cf31ac /net-mgmt/p0f
parentaa84c50aa36e149153e602e01c3275e399468d28 (diff)
downloadFreeBSD-ports-2a49fa537ec5b6ef3c98d78bb949c4e8efd9a8ac.zip
FreeBSD-ports-2a49fa537ec5b6ef3c98d78bb949c4e8efd9a8ac.tar.gz
- Update to 2.0.6
PR: ports/94856 Submitted by: maintainer
Diffstat (limited to 'net-mgmt/p0f')
-rw-r--r--net-mgmt/p0f/Makefile6
-rw-r--r--net-mgmt/p0f/distinfo6
-rw-r--r--net-mgmt/p0f/files/patch-mk_FreeBSD19
-rw-r--r--net-mgmt/p0f/pkg-plist1
4 files changed, 26 insertions, 6 deletions
diff --git a/net-mgmt/p0f/Makefile b/net-mgmt/p0f/Makefile
index 6a59a4c..78b074e 100644
--- a/net-mgmt/p0f/Makefile
+++ b/net-mgmt/p0f/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= p0f
-PORTVERSION= 2.0.5
+PORTVERSION= 2.0.6
CATEGORIES= net-mgmt
MASTER_SITES= http://lcamtuf.coredump.cx/p0f/
EXTRACT_SUFX= .tgz
@@ -14,13 +14,13 @@ EXTRACT_SUFX= .tgz
MAINTAINER= babak@farrokhi.net
COMMENT= Passive OS fingerprinting tool
+USE_GMAKE= yes
ALL_TARGET= all p0fq tools
PORTDOCS= COPYING CREDITS ChangeLog KNOWN_BUGS README TODO win-memleak.txt
MAN1= p0f.1
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
- @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/mk/FreeBSD
.for f in config.h doc/README
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/${f}
.endfor
@@ -31,7 +31,7 @@ do-install:
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/p0frep ${PREFIX}/bin
${MKDIR} ${PREFIX}/etc/p0f
-.for ii in . a. r.
+.for ii in . a. o. r.
${INSTALL_DATA} ${WRKSRC}/p0f${ii}fp ${PREFIX}/etc/p0f
.endfor
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
diff --git a/net-mgmt/p0f/distinfo b/net-mgmt/p0f/distinfo
index ed163e8..86b4218 100644
--- a/net-mgmt/p0f/distinfo
+++ b/net-mgmt/p0f/distinfo
@@ -1,3 +1,3 @@
-MD5 (p0f-2.0.5.tgz) = 78235749e8ada6ad2b16b40fe15081f6
-SHA256 (p0f-2.0.5.tgz) = 563c62f63acfbef79e79659c3f483813816c7d032ef73e96e462a3b4f9a2fc7f
-SIZE (p0f-2.0.5.tgz) = 130002
+MD5 (p0f-2.0.6.tgz) = d6333198027b90e05ccb3412d8f25d05
+SHA256 (p0f-2.0.6.tgz) = 95aaf7861475c76929a08aeb4b7dca3ee912a5405fbbb1e4b80b8cadc3600441
+SIZE (p0f-2.0.6.tgz) = 131668
diff --git a/net-mgmt/p0f/files/patch-mk_FreeBSD b/net-mgmt/p0f/files/patch-mk_FreeBSD
new file mode 100644
index 0000000..c4099a1
--- /dev/null
+++ b/net-mgmt/p0f/files/patch-mk_FreeBSD
@@ -0,0 +1,19 @@
+--- mk/FreeBSD.orig Thu Mar 16 07:43:17 2006
++++ mk/FreeBSD Thu Mar 23 10:54:37 2006
+@@ -7,12 +7,12 @@
+ # (C) Copyright 2000-2006 by Michal Zalewski <lcamtuf@coredump.cx>
+ #
+
+-CC = gcc
++LOCALBASE ?= /usr/local
++CC ?= gcc
+ LIBS = -lpcap
+ STRIP = strip
+-CFLAGS = -O3 -Wall -fomit-frame-pointer -funroll-loops \
+- -DUSE_BPF=\"${USE_BPF}\" \
+- -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include
++CFLAGS += -DUSE_BPF=\"${USE_BPF}\" \
++ -I/usr/include/pcap -I${LOCALBASE}/include/pcap -I${LOCALBASE}/include
+ FILE = p0f
+ TOOLS = test/sendack test/sendack2 test/sendsyn
+
diff --git a/net-mgmt/p0f/pkg-plist b/net-mgmt/p0f/pkg-plist
index d20aa1e..626b3ad 100644
--- a/net-mgmt/p0f/pkg-plist
+++ b/net-mgmt/p0f/pkg-plist
@@ -6,5 +6,6 @@ bin/sendack2
bin/sendsyn
etc/p0f/p0f.fp
etc/p0f/p0fa.fp
+etc/p0f/p0fo.fp
etc/p0f/p0fr.fp
@dirrm etc/p0f
OpenPOWER on IntegriCloud