2013-01-27 06:55:20 +01:00
|
|
|
# Created by: trevor
|
2000-07-10 05:51:01 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-10-12 01:57:58 +02:00
|
|
|
PORTNAME= p0f
|
2016-04-20 06:31:46 +02:00
|
|
|
PORTVERSION= 3.09b
|
2019-09-20 20:44:38 +02:00
|
|
|
PORTREVISION= 1
|
2006-09-18 14:58:02 +02:00
|
|
|
CATEGORIES= net-mgmt security
|
2012-05-19 14:43:38 +02:00
|
|
|
MASTER_SITES= http://lcamtuf.coredump.cx/p0f3/releases/ \
|
|
|
|
http://fossies.org/unix/privat/
|
2000-07-10 05:51:01 +02:00
|
|
|
|
2014-05-20 13:49:46 +02:00
|
|
|
MAINTAINER= pi@FreeBSD.org
|
2003-10-12 01:57:58 +02:00
|
|
|
COMMENT= Passive OS fingerprinting tool
|
2000-07-10 05:51:01 +02:00
|
|
|
|
2012-05-19 14:43:38 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2019-09-20 20:44:38 +02:00
|
|
|
USES= tar:tgz
|
|
|
|
USE_RC_SUBR= p0f
|
|
|
|
|
|
|
|
USERS= p0f
|
|
|
|
GROUPS= p0f
|
|
|
|
|
2012-03-19 02:19:52 +01:00
|
|
|
PLIST_FILES= bin/p0f bin/p0f-client bin/p0f-sendsyn \
|
|
|
|
bin/p0f-sendsyn6 etc/p0f.fp
|
2012-10-07 14:34:55 +02:00
|
|
|
PORTDOCS= ChangeLog README TODO existential-notes.txt \
|
2012-05-19 14:43:38 +02:00
|
|
|
extra-sigs.txt
|
|
|
|
|
|
|
|
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"
|
2000-07-10 05:51:01 +02:00
|
|
|
|
2014-02-21 14:38:46 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2012-10-07 14:34:55 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2000-07-10 05:51:01 +02:00
|
|
|
post-patch:
|
2017-01-20 09:36:29 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/docs/README
|
2012-03-19 02:19:52 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|p0f.fp|${PREFIX}/etc/p0f.fp|g' ${WRKSRC}/config.h
|
2000-07-10 05:51:01 +02:00
|
|
|
|
|
|
|
do-install:
|
2012-03-19 02:19:52 +01:00
|
|
|
.for ii in p0f tools/p0f-client tools/p0f-sendsyn tools/p0f-sendsyn6
|
2014-02-21 15:03:09 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${ii} ${STAGEDIR}${PREFIX}/bin
|
2003-12-09 19:25:12 +01:00
|
|
|
.endfor
|
2014-02-21 15:03:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/p0f.fp ${STAGEDIR}${PREFIX}/etc/
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2006-02-15 11:23:16 +01:00
|
|
|
.for ii in ${PORTDOCS}
|
2014-02-21 15:03:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${ii} ${STAGEDIR}${DOCSDIR}
|
2003-09-08 18:33:33 +02:00
|
|
|
.endfor
|
2000-07-10 05:51:01 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|