pkgsrc/security/p0f/Makefile
adrianp 28506079ec Update to 2.0.8
Patches from Matthias Drochner (thanks !)

Version 2.0.8:
-------------
More fingerprints, signature cleanup.
p0fping.c and diagnostic queries added.
Socket ownership fix when dropping privs.
Some -O signatures.

Version 2.0.7:
--------------
Added -0 mode for port 0 wildcards in queries.
Added -e option to make p0f work on some boxes.
HDLC support added.
New fingerprints, including Windows Vista betas.
[BUG] Fixed timezone in logs after chroot().
[BUG] Unlikely command-line overflow with VLANs fixed.

Version 2.0.6:
--------------
[BUG] Fixed pcap naming madness.
Support for Cygwin.
More signatures. Plenty of -A sigs from Ryan Kruse.
[BUG] Fix to a command-line parsing snafu with sprintf; shame on me ;-)
Timestamps in masquerade detection.
Write PID to /var/run/p0f.pid
2007-03-05 20:31:51 +00:00

42 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2007/03/05 20:31:51 adrianp Exp $
#
DISTNAME= p0f-2.0.8
CATEGORIES= security net
MASTER_SITES= http://lcamtuf.coredump.cx/p0f/
EXTRACT_SUFX= .tgz
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://lcamtuf.coredump.cx/p0f.shtml
COMMENT= Passive OS fingerprinting tool
WRKSRC= ${WRKDIR}/p0f
PKG_SYSCONFSUBDIR= p0f
CONF_FILES= ${PREFIX}/share/examples/p0f/p0f.fp ${PKG_SYSCONFDIR}/p0f.fp
CONF_FILES+= ${PREFIX}/share/examples/p0f/p0fa.fp ${PKG_SYSCONFDIR}/p0fa.fp
CONF_FILES+= ${PREFIX}/share/examples/p0f/p0fr.fp ${PKG_SYSCONFDIR}/p0fr.fp
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-build
SUBST_FILES.paths= config.h p0f.1
SUBST_SED.paths= -e "s|/etc/p0f|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.paths= Fixing paths.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/p0f share/examples/p0f
post-patch:
${LN} -s NetBSD ${WRKSRC}/mk/DragonFly
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/p0f/p0f.README
${INSTALL_DATA} ${WRKSRC}/p0frep ${PREFIX}/share/doc/p0f/p0frep
${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/share/examples/p0f
${INSTALL_DATA} ${WRKSRC}/p0fa.fp ${PREFIX}/share/examples/p0f
${INSTALL_DATA} ${WRKSRC}/p0fr.fp ${PREFIX}/share/examples/p0f
${INSTALL_MAN} ${WRKSRC}/p0f.1 ${PREFIX}/${PKGMANDIR}/man1
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"