diff options
author | Cy Schubert <cy@FreeBSD.org> | 2002-02-22 14:20:19 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2002-02-22 14:20:19 +0000 |
commit | b85b675900f549355e0625121d5b4c8e7fc94158 (patch) | |
tree | 6e1f04182c42a06a75292ecd8dba364a5137bd5d /security/tripwire | |
parent | 95dc5b97dcd027c0ea021995c9db7191f70050ce (diff) | |
download | ports-b85b675900f549355e0625121d5b4c8e7fc94158.tar.gz ports-b85b675900f549355e0625121d5b4c8e7fc94158.zip |
Notes
Diffstat (limited to 'security/tripwire')
-rw-r--r-- | security/tripwire/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/security/tripwire/Makefile b/security/tripwire/Makefile index a54f61ea8e41..da6b7a126b8c 100644 --- a/security/tripwire/Makefile +++ b/security/tripwire/Makefile @@ -19,6 +19,8 @@ NO_CDROM= "cannot be redistributed for more than the cost of duplication" NO_PACKAGE= "requires local database to be built" RESTRICTED= "contains crypto class algorithms" +TWCONFIG?= ${FILESDIR}/tw.conf.freebsd2 + post-extract: @ (cd ${WRKDIR}; tar xpf T1.2.tar) @@ -29,13 +31,14 @@ post-patch: pre-configure: @ ${CP} ${FILESDIR}/conf-freebsd2.h ${WRKSRC}/configs @ ${SED} s%/kernel%`sysctl -bn kern.bootfile`% \ - < ${FILESDIR}/tw.conf.freebsd2 \ + < ${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 # Creating tripwire database +.ifndef NO_DB_BUILD @ (cd /var/adm/tcheck; tripwire -initialize) .if defined(TRIPWIRE_FLOPPY) && ${TRIPWIRE_FLOPPY} == YES # preparing the floppy @@ -53,5 +56,6 @@ post-install: @ umount /mnt # Do not forget to remove and write-protect the floppy. .endif +.endif .include <bsd.port.mk> |