# Created by: Cy Schubert # $FreeBSD$ PORTNAME= tripwire PORTVERSION= 1.3.1 CATEGORIES= security MASTER_SITES= ftp://ftp.cc.uoc.gr/system/security/tools/tripwire/ \ ftp://ftp.uni-potsdam.de/pub/unix/tools/ DISTNAME= Tripwire-${PORTVERSION}-1 PKGNAMESUFFIX= -131 MAINTAINER= cy@FreeBSD.org COMMENT= File system security and verification program NO_CDROM= Cannot be redistributed for more than the cost of duplication NO_PACKAGE= requires local database to be built # XXX should also work on other 32-bit architectures. ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= Unknown BYTEORDER WRKSRC= ${WRKDIR}/tw_ASR_1.3.1_src MAKE_JOBS_UNSAFE= yes .include TDATADIR= ${STAGEDIR}/var/local/tcheck MAKE_ARGS= BINDIR=${STAGEDIR}${PREFIX}/bin \ MANPREFIX=${STAGEDIR}${MANPREFIX} NO_DB_BUILD= yes TWCONFIG?= ${FILESDIR}/tw.conf.freebsd2 pre-configure: @ ${CP} ${FILESDIR}/conf-freebsd2.h ${WRKSRC}/configs @ ${CP} ${TWCONFIG} ${WRKSRC}/configs/tw.conf.freebsd2 post-install: @ ${MKDIR} ${TDATADIR} @ ${CP} ${TWCONFIG} ${TDATADIR}/tw.config.dist .ifndef NO_DB_BUILD # XXX For reference only @ ${ECHO} Creating tripwire database @ ${CP} -i ${TWCONFIG} ${TDATADIR}/tw.config @ (cd /var/adm/tcheck; tripwire -initialize) .endif .include