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 |