Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2006 03:53:04 -0600 (CST)
From:      Babak Farrokhi <babak@farrokhi.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94856: [Maintainer Update] port net-mgmt/p0f to 2.0.6
Message-ID:  <20060323095304.D1A6956460@royalway.propagation.net>
Resent-Message-ID: <200603231000.k2NA0RIt084583@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94856
>Category:       ports
>Synopsis:       [Maintainer Update] port net-mgmt/p0f to 2.0.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 23 10:00:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Babak Farrokhi
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD royalway.propagation.net 5.4-STABLE FreeBSD 5.4-STABLE #6: Thu Jun 30 05:11:17 CDT 2005 root@royalway.propagation.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- p0f.patch begins here ---
diff -ruN p0f.orig/Makefile p0f/Makefile
--- p0f.orig/Makefile	Thu Mar 23 13:47:45 2006
+++ p0f/Makefile	Thu Mar 23 14:18:02 2006
@@ -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 @@
 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 @@
 .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 -ruN p0f.orig/distinfo p0f/distinfo
--- p0f.orig/distinfo	Thu Mar 23 13:47:45 2006
+++ p0f/distinfo	Thu Mar 23 13:48:03 2006
@@ -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 -ruN p0f.orig/files/patch-FreeBSD p0f/files/patch-FreeBSD
--- /dev/null	Thu Jan  1 03:30:00 1970
+++ p0f/files/patch-FreeBSD	Thu Mar 23 14:13:50 2006
@@ -0,0 +1,12 @@
+--- mk/FreeBSD.orig	Thu Mar 23 14:12:19 2006
++++ mk/FreeBSD	Thu Mar 23 14:13:00 2006
+@@ -10,8 +10,7 @@
+ CC      = gcc
+ LIBS	= -lpcap
+ STRIP   = strip
+-CFLAGS  = -O3 -Wall -fomit-frame-pointer -funroll-loops \
+-          -DUSE_BPF=\"${USE_BPF}\" \
++CFLAGS	= -DUSE_BPF=\"${USE_BPF}\" \
+ 	  -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include
+ FILE	= p0f
+ TOOLS   = test/sendack test/sendack2 test/sendsyn
diff -ruN p0f.orig/pkg-plist p0f/pkg-plist
--- p0f.orig/pkg-plist	Thu Mar 23 13:47:45 2006
+++ p0f/pkg-plist	Thu Mar 23 14:18:08 2006
@@ -6,5 +6,6 @@
 bin/sendsyn
 etc/p0f/p0f.fp
 etc/p0f/p0fa.fp
+etc/p0f/p0fo.fp
 etc/p0f/p0fr.fp
 @dirrm etc/p0f
--- p0f.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060323095304.D1A6956460>