View | Details | Raw Unified | Return to bug 94856
Collapse All | Expand All

(-)p0f/Makefile (-3 / +3 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	p0f
8
PORTNAME=	p0f
9
PORTVERSION=	2.0.5
9
PORTVERSION=	2.0.6
10
CATEGORIES=	net-mgmt
10
CATEGORIES=	net-mgmt
11
MASTER_SITES=	http://lcamtuf.coredump.cx/p0f/
11
MASTER_SITES=	http://lcamtuf.coredump.cx/p0f/
12
EXTRACT_SUFX=	.tgz
12
EXTRACT_SUFX=	.tgz
Lines 14-26 Link Here
14
MAINTAINER=	babak@farrokhi.net
14
MAINTAINER=	babak@farrokhi.net
15
COMMENT=	Passive OS fingerprinting tool
15
COMMENT=	Passive OS fingerprinting tool
16
16
17
USE_GMAKE=	yes
17
ALL_TARGET=	all p0fq tools
18
ALL_TARGET=	all p0fq tools
18
PORTDOCS=	COPYING CREDITS ChangeLog KNOWN_BUGS README TODO win-memleak.txt
19
PORTDOCS=	COPYING CREDITS ChangeLog KNOWN_BUGS README TODO win-memleak.txt
19
MAN1=		p0f.1
20
MAN1=		p0f.1
20
WRKSRC=		${WRKDIR}/${PORTNAME}
21
WRKSRC=		${WRKDIR}/${PORTNAME}
21
22
22
post-patch:
23
post-patch:
23
	@${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/mk/FreeBSD
24
.for f in config.h doc/README
24
.for f in config.h doc/README
25
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/${f}
25
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/${f}
26
.endfor
26
.endfor
Lines 31-37 Link Here
31
.endfor
31
.endfor
32
	${INSTALL_SCRIPT} ${WRKSRC}/p0frep ${PREFIX}/bin
32
	${INSTALL_SCRIPT} ${WRKSRC}/p0frep ${PREFIX}/bin
33
	${MKDIR} ${PREFIX}/etc/p0f
33
	${MKDIR} ${PREFIX}/etc/p0f
34
.for ii in . a. r.
34
.for ii in . a. o. r.
35
	${INSTALL_DATA} ${WRKSRC}/p0f${ii}fp ${PREFIX}/etc/p0f
35
	${INSTALL_DATA} ${WRKSRC}/p0f${ii}fp ${PREFIX}/etc/p0f
36
.endfor
36
.endfor
37
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
37
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
(-)p0f/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (p0f-2.0.5.tgz) = 78235749e8ada6ad2b16b40fe15081f6
1
MD5 (p0f-2.0.6.tgz) = d6333198027b90e05ccb3412d8f25d05
2
SHA256 (p0f-2.0.5.tgz) = 563c62f63acfbef79e79659c3f483813816c7d032ef73e96e462a3b4f9a2fc7f
2
SHA256 (p0f-2.0.6.tgz) = 95aaf7861475c76929a08aeb4b7dca3ee912a5405fbbb1e4b80b8cadc3600441
3
SIZE (p0f-2.0.5.tgz) = 130002
3
SIZE (p0f-2.0.6.tgz) = 131668
(-)p0f/files/patch-FreeBSD (+12 lines)
Added Link Here
1
--- mk/FreeBSD.orig	Thu Mar 23 14:12:19 2006
2
+++ mk/FreeBSD	Thu Mar 23 14:13:00 2006
3
@@ -10,8 +10,7 @@
4
 CC      = gcc
5
 LIBS	= -lpcap
6
 STRIP   = strip
7
-CFLAGS  = -O3 -Wall -fomit-frame-pointer -funroll-loops \
8
-          -DUSE_BPF=\"${USE_BPF}\" \
9
+CFLAGS	= -DUSE_BPF=\"${USE_BPF}\" \
10
 	  -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include
11
 FILE	= p0f
12
 TOOLS   = test/sendack test/sendack2 test/sendsyn
(-)p0f/pkg-plist (+1 lines)
Lines 6-10 Link Here
6
bin/sendsyn
6
bin/sendsyn
7
etc/p0f/p0f.fp
7
etc/p0f/p0f.fp
8
etc/p0f/p0fa.fp
8
etc/p0f/p0fa.fp
9
etc/p0f/p0fo.fp
9
etc/p0f/p0fr.fp
10
etc/p0f/p0fr.fp
10
@dirrm etc/p0f
11
@dirrm etc/p0f

Return to bug 94856