summaryrefslogtreecommitdiff
path: root/security/p0f/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2004-08-14 10:09:15 +0000
committeradrianp <adrianp@pkgsrc.org>2004-08-14 10:09:15 +0000
commit6afc5914ae9cfae2d7e59d5a8dfaee0bf0c399f3 (patch)
tree9c57a663ec236e7be1ea545f7292e38240c0cb84 /security/p0f/Makefile
parent7b5eb0f0a37f2c1ebac77b01c5606067c1030045 (diff)
downloadpkgsrc-6afc5914ae9cfae2d7e59d5a8dfaee0bf0c399f3.tar.gz
- Update to 2.0.4
- Replace SED with SUBST.* - Improve DESCR - ok'ed snj@/wiz@ From the Changelog: Verison 2.0.4: -------------- More signatures. Improved documentation, mentions of p0f_db, etc. [BUG] Fixed a minor problem with installation on systems w/o /usr/man/. [BUG] Fixed a DLT_NULL problem, added a new loopback signature. Multiple timestamp options, timestamps now read from pcap dumps. Sync with new Windows port code. [BUG] Fixed one-line reporting for masquerade detection.
Diffstat (limited to 'security/p0f/Makefile')
-rw-r--r--security/p0f/Makefile26
1 files changed, 11 insertions, 15 deletions
diff --git a/security/p0f/Makefile b/security/p0f/Makefile
index ca0797f8f1a..1a0227ad9e2 100644
--- a/security/p0f/Makefile
+++ b/security/p0f/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2004/04/25 03:36:51 snj Exp $
+# $NetBSD: Makefile,v 1.13 2004/08/14 10:09:15 adrianp Exp $
#
-DISTNAME= p0f-2.0.3
+DISTNAME= p0f-2.0.4
CATEGORIES= security net
MASTER_SITES= http://lcamtuf.coredump.cx/p0f/
EXTRACT_SUFX= .tgz
@@ -14,23 +14,19 @@ WRKSRC= ${WRKDIR}/p0f
USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
-CONF_FILES= ${PREFIX}/share/examples/p0f/p0f.fp ${PKG_SYSCONFDIR}/p0f.fp
-
DIST_SUBDIR= ${PKGNAME}
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
-
-pre-build:
- @${SED} -e 's#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#g' \
- < ${WRKSRC}/config.h > ${WRKSRC}/config.h.new
- @${SED} -e 's#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#g' \
- < ${WRKSRC}/p0f.1 > ${WRKSRC}/p0f.1.new
- ${CP} ${WRKSRC}/config.h.new ${WRKSRC}/config.h
- ${CP} ${WRKSRC}/p0f.1.new ${WRKSRC}/p0f.1
+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."
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin