diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/tripwire-131/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/security/tripwire-131/Makefile b/security/tripwire-131/Makefile index 7280327ce353..b4346cea05b5 100644 --- a/security/tripwire-131/Makefile +++ b/security/tripwire-131/Makefile @@ -10,7 +10,7 @@ PORTVERSION= 1.3.1 CATEGORIES= security DISTNAME= Tripwire-${PORTVERSION}-1 -MAINTAINER= Cy.Schubert@uumail.gov.bc.ca +MAINTAINER= cy@FreeBSD.org MAN5= tw.config.5 MAN8= siggen.8 tripwire.8 @@ -19,6 +19,8 @@ NO_PACKAGE= "requires local database to be built" RESTRICTED= "contains crypto class algorithms" WRKSRC= ${WRKDIR}/tw_ASR_1.3.1_src +TWCONFIG?= ${FILESDIR}/tw.conf.freebsd2 + .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) @@ -27,11 +29,12 @@ IGNORE='Please read http://www.tripwiresecurity.com/ for details of how to obtai pre-configure: @ ${CP} ${FILESDIR}/conf-freebsd2.h ${WRKSRC}/configs - @ ${CP} ${FILESDIR}/tw.conf.freebsd2 ${WRKSRC}/configs/tw.conf.freebsd2 + @ ${CP} ${TWCONFIG} ${WRKSRC}/configs/tw.conf.freebsd2 post-install: @ ${MKDIR} /var/adm/tcheck - @ ${CP} ${FILESDIR}/tw.conf.freebsd2 /var/adm/tcheck/tw.config + @ ${CP} ${TWCONFIG} /var/adm/tcheck/tw.config +.ifndef NO_DB_BUILD @ ${ECHO} Creating tripwire database @ (cd /var/adm/tcheck; tripwire -initialize) .if defined(TRIPWIRE_FLOPPY) && ${TRIPWIRE_FLOPPY} == YES @@ -48,5 +51,6 @@ post-install: @ umount /mnt @ ${ECHO} Do not forget to remove and write-protect the floppy. .endif +.endif .include <bsd.port.post.mk> |