pkgsrc/security/tripwire/Makefile
obache 3d9d4444c5 Change MASITER_SITES to one still have old distfile.
from Zafer Aydogan via private mail.
2008-08-04 08:37:06 +00:00

42 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.29 2008/08/04 08:37:06 obache Exp $
#
DISTNAME= tripwire-1.2
PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= http://www.mirrors.wiretapped.net/security/host-intrusion-detection/tripwire/old/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cerias.purdue.edu/about/history/coast/coast-library.html
COMMENT= File and directory integrity checker
USE_TOOLS+= pax
ONLY_FOR_PLATFORM= NetBSD-*-* FreeBSD-*-* SunOS-*-*
PKG_SYSCONFSUBDIR= tripwire
OWN_DIRS= ${PKG_SYSCONFDIR}/databases
EGDIR= ${PREFIX}/share/examples/tripwire
CONF_FILES= ${EGDIR}/tripwire.conf ${PKG_SYSCONFDIR}/tripwire.conf
AUTO_MKDIRS= yes
post-extract:
cd ${WRKDIR} && pax -O -rf T1.2.tar
${CP} ${FILESDIR}/conf-${LOWER_OPSYS}.h ${WRKSRC}/configs
pre-configure:
${MV} ${WRKSRC}/include/config.h ${WRKSRC}/include/config.h.in
${SED} -e 's|@localbase@|${LOCALBASE}|g' \
-e 's|@LOWER_OPSYS@|${LOWER_OPSYS}|g' \
-e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
${WRKSRC}/include/config.h.in > ${WRKSRC}/include/config.h
PRE_ROOT_CMD= ${CHMOD} -R go+rwx ${WRKSRC}
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/designdoc.ps ${PREFIX}/share/doc/tripwire
${SED} -e 's|@localbase@|${LOCALBASE}|g' -e 's|@x11base@|${X11BASE}|g' \
${FILESDIR}/tw.conf.${LOWER_OPSYS} > ${EGDIR}/tripwire.conf
.include "../../mk/bsd.pkg.mk"