2000-07-06 16:15:53 +02:00
# New ports collection makefile for: tripwire 1.3.1
# Date created: Fri Mar 19 18:29:18 1999
# Whom: Cy Schubert <Cy.Schubert@uumail.gov.bc.ca>
1997-04-01 06:44:00 +02:00
#
1999-08-31 03:53:22 +02:00
# $FreeBSD$
1997-04-01 06:44:00 +02:00
#
2001-01-16 18:33:20 +01:00
PORTNAME = tripwire
2000-07-06 16:15:53 +02:00
PORTVERSION = 1.3.1
2000-06-02 05:18:54 +02:00
CATEGORIES = security
2000-07-06 16:15:53 +02:00
DISTNAME = Tripwire-${ PORTVERSION } -1
1997-04-01 06:44:00 +02:00
2002-02-20 15:47:04 +01:00
MAINTAINER = cy@FreeBSD.org
2003-03-07 07:14:21 +01:00
COMMENT = File system security and verification program
1997-04-01 06:44:00 +02:00
2004-02-07 05:14:39 +01:00
LATEST_LINK = tripwire-131
1997-04-01 06:44:00 +02:00
MAN5 = tw.config.5
MAN8 = siggen.8 tripwire.8
NO_CDROM = "cannot be redistributed for more than the cost of duplication"
NO_PACKAGE = "requires local database to be built"
2000-07-06 16:15:53 +02:00
WRKSRC = ${ WRKDIR } /tw_ASR_1.3.1_src
1997-04-01 06:44:00 +02:00
2002-02-20 15:47:04 +01:00
TWCONFIG ?= ${ FILESDIR } /tw.conf.freebsd2
2000-07-06 16:15:53 +02:00
. i n c l u d e < b s d . p o r t . p r e . m k >
2000-05-29 04:27:45 +02:00
2000-07-06 16:15:53 +02:00
. i f ! e x i s t s ( $ { D I S T D I R } / $ { D I S T N A M E } $ { E X T R A C T _ S U F X } )
IGNORE = 'Please read http://www.tripwiresecurity.com/ for details of how to obtain the Tripwire source. Put the file ${DISTNAME}${EXTRACT_SUFX} into the directory ${DISTDIR} and run make again.'
. e n d i f
1997-04-01 06:44:00 +02:00
pre-configure :
@ ${ CP } ${ FILESDIR } /conf-freebsd2.h ${ WRKSRC } /configs
2002-02-20 15:47:04 +01:00
@ ${ CP } ${ TWCONFIG } ${ WRKSRC } /configs/tw.conf.freebsd2
1997-04-01 06:44:00 +02:00
post-install :
@ ${ MKDIR } /var/adm/tcheck
2002-02-20 15:47:04 +01:00
@ ${ CP } ${ TWCONFIG } /var/adm/tcheck/tw.config
. i f n d e f N O _ D B _ B U I L D
2000-07-06 16:15:53 +02:00
@ ${ ECHO } Creating tripwire database
1997-04-01 06:44:00 +02:00
@ ( cd /var/adm/tcheck; tripwire -initialize)
2002-02-20 15:47:04 +01:00
. e n d i f
1997-04-01 06:44:00 +02:00
2000-07-06 16:15:53 +02:00
. i n c l u d e < b s d . p o r t . p o s t . m k >