2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2006/03/04 21:30:38 jlam Exp $
|
1998-11-17 17:27:25 +01:00
|
|
|
#
|
|
|
|
|
2003-05-01 23:48:40 +02:00
|
|
|
DISTNAME= tripwire-1.2
|
2003-12-09 16:56:56 +01:00
|
|
|
PKGREVISION= 3
|
1998-11-17 17:27:25 +01:00
|
|
|
CATEGORIES= security
|
2003-12-09 16:40:20 +01:00
|
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/security/tripwire/old/
|
1998-11-17 17:27:25 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-12-09 14:37:47 +01:00
|
|
|
HOMEPAGE= http://www.cerias.purdue.edu/coast/coast-library.html
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= File and directory integrity checker
|
1998-11-17 17:27:25 +01:00
|
|
|
|
2003-10-02 09:13:27 +02:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-* FreeBSD-*-* SunOS-*-*
|
2003-09-19 15:26:12 +02:00
|
|
|
|
2003-05-01 23:47:42 +02:00
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= tripwire
|
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/databases
|
|
|
|
EGDIR= ${PREFIX}/share/examples/tripwire
|
|
|
|
CONF_FILES= ${EGDIR}/tripwire.conf ${PKG_SYSCONFDIR}/tripwire.conf
|
|
|
|
|
1998-11-17 17:27:25 +01:00
|
|
|
post-extract:
|
2003-04-10 22:10:15 +02:00
|
|
|
cd ${WRKDIR} && ${PAX} -O -rf T1.2.tar
|
1999-04-09 12:46:55 +02:00
|
|
|
${CP} ${FILESDIR}/conf-${LOWER_OPSYS}.h ${WRKSRC}/configs
|
1998-11-17 17:27:25 +01:00
|
|
|
|
2003-05-01 23:47:42 +02:00
|
|
|
pre-configure:
|
1998-11-17 17:27:25 +01:00
|
|
|
${MV} ${WRKSRC}/include/config.h ${WRKSRC}/include/config.h.in
|
1999-04-09 12:46:55 +02:00
|
|
|
${SED} -e 's|@localbase@|${LOCALBASE}|g' \
|
|
|
|
-e 's|@LOWER_OPSYS@|${LOWER_OPSYS}|g' \
|
2003-05-01 23:47:42 +02:00
|
|
|
-e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
|
1999-04-09 12:46:55 +02:00
|
|
|
${WRKSRC}/include/config.h.in > ${WRKSRC}/include/config.h
|
|
|
|
|
|
|
|
PRE_ROOT_CMD= ${CHMOD} -R go+rwx ${WRKDIR}
|
1998-11-17 17:27:25 +01:00
|
|
|
|
|
|
|
post-install:
|
2003-01-06 08:44:11 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tripwire
|
2003-05-01 23:47:42 +02:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/designdoc.ps ${PREFIX}/share/doc/tripwire
|
1998-11-17 17:27:25 +01:00
|
|
|
${SED} -e 's|@localbase@|${LOCALBASE}|g' -e 's|@x11base@|${X11BASE}|g' \
|
2003-05-01 23:47:42 +02:00
|
|
|
${FILESDIR}/tw.conf.${LOWER_OPSYS} > ${EGDIR}/tripwire.conf
|
1998-11-17 17:27:25 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|