summaryrefslogtreecommitdiff
path: root/security/tripwire/Makefile
diff options
context:
space:
mode:
authoragc <agc>1998-11-17 16:27:25 +0000
committeragc <agc>1998-11-17 16:27:25 +0000
commitad5d3449473964f0f16bb40d5f3ad1b5b398f4f7 (patch)
treea058cdb593c72939aa1077ce1fcaca4dfa1f7503 /security/tripwire/Makefile
parentecc7a19348b749b297fa68bcda2a8a20d25506e4 (diff)
downloadpkgsrc-ad5d3449473964f0f16bb40d5f3ad1b5b398f4f7.tar.gz
Initial import of tripwire-1.2, a file and directory integrity checker,
into the NetBSD Packages Collection.
Diffstat (limited to 'security/tripwire/Makefile')
-rw-r--r--security/tripwire/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/security/tripwire/Makefile b/security/tripwire/Makefile
new file mode 100644
index 00000000000..f97d5bfa579
--- /dev/null
+++ b/security/tripwire/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/11/17 16:27:25 agc Exp $
+#
+
+DISTNAME= tripwire-1.2
+CATEGORIES= security
+MASTER_SITES= ftp://coast.cs.purdue.edu/pub/COAST/Tripwire/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.cs.purdue.edu/coast/coast-library.html
+
+post-extract:
+ (cd ${WRKDIR}; /bin/pax -r < T1.2.tar)
+ ${CP} ${FILESDIR}/conf-netbsd.h ${WRKSRC}/configs
+
+post-patch:
+ ${MV} ${WRKSRC}/include/config.h ${WRKSRC}/include/config.h.in
+ ${SED} -e 's|@localbase@|${LOCALBASE}|g' ${WRKSRC}/include/config.h.in \
+ > ${WRKSRC}/include/config.h
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/tripwire ${PREFIX}/etc/tripwire/databases
+ ${INSTALL_MAN} ${WRKSRC}/docs/designdoc.ps ${PREFIX}/share/doc/tripwire
+ ${SED} -e 's|@localbase@|${LOCALBASE}|g' -e 's|@x11base@|${X11BASE}|g' \
+ ${FILESDIR}/tw.conf.netbsd > ${PREFIX}/etc/tripwire/tripwire.conf
+
+.include "../../mk/bsd.pkg.mk"