2000-07-10 05:51:01 +02:00
|
|
|
# New ports collection makefile for: p0f
|
|
|
|
# Date created: 2000-06-12
|
|
|
|
# Whom: Trevor Johnson
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-10-12 01:57:58 +02:00
|
|
|
PORTNAME= p0f
|
2006-02-12 05:59:07 +01:00
|
|
|
PORTVERSION= 2.0.4
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2003-10-12 01:57:58 +02:00
|
|
|
MASTER_SITES= http://lcamtuf.coredump.cx/p0f/
|
|
|
|
EXTRACT_SUFX= .tgz
|
2000-07-10 05:51:01 +02:00
|
|
|
|
2006-02-12 05:59:07 +01:00
|
|
|
MAINTAINER= babak@farrokhi.net
|
2003-10-12 01:57:58 +02:00
|
|
|
COMMENT= Passive OS fingerprinting tool
|
2000-07-10 05:51:01 +02:00
|
|
|
|
2003-12-09 19:25:12 +01:00
|
|
|
ALL_TARGET= all p0fq tools
|
2003-10-12 01:56:19 +02:00
|
|
|
DOCFILES= COPYING CREDITS ChangeLog KNOWN_BUGS README TODO win-memleak.txt
|
|
|
|
MAN1= p0f.1
|
2006-02-12 05:59:07 +01:00
|
|
|
#PLIST= ${WRKDIR}/pkg-plist
|
2003-10-12 01:57:58 +02:00
|
|
|
WRKSRC= ${WRKDIR}/p0f
|
2000-07-10 05:51:01 +02:00
|
|
|
|
|
|
|
post-patch:
|
2003-09-08 18:33:33 +02:00
|
|
|
.for ii in config.h doc/README
|
|
|
|
${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
|
|
|
|
${SED} -e "s=/etc=${PREFIX}/etc=g" < ${WRKSRC}/${ii}.orig > \
|
|
|
|
${WRKSRC}/${ii}
|
|
|
|
.endfor
|
2000-07-10 05:51:01 +02:00
|
|
|
|
|
|
|
do-install:
|
2003-12-09 19:25:12 +01:00
|
|
|
.for ii in p0f test/p0fq test/sendack test/sendack2 test/sendsyn
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${ii} ${PREFIX}/bin
|
|
|
|
.endfor
|
2002-02-11 01:48:30 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/p0frep ${PREFIX}/bin
|
2003-10-12 01:56:19 +02:00
|
|
|
${MKDIR} ${PREFIX}/etc/p0f
|
2004-04-03 18:07:44 +02:00
|
|
|
.for ii in . a. r.
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/p0f${ii}fp ${PREFIX}/etc/p0f/
|
|
|
|
.endfor
|
2003-10-12 01:56:19 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/p0f.1 ${MANPREFIX}/man/man1/
|
2003-09-08 18:33:33 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for ii in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${ii} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2000-07-10 05:51:01 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|