summaryrefslogtreecommitdiffstats
path: root/security/tripwire-131/Makefile
blob: 2c4c57d458eea06125cd213c0ab3ef480d3e4917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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>
#
# $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

MAINTAINER=	cy@FreeBSD.org
COMMENT=	File system security and verification program

LATEST_LINK=	tripwire-131
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"
WRKSRC=		${WRKDIR}/tw_ASR_1.3.1_src

TWCONFIG?=	${FILESDIR}/tw.conf.freebsd2

.include <bsd.port.pre.mk>

pre-configure:
	@ ${CP} ${FILESDIR}/conf-freebsd2.h ${WRKSRC}/configs
	@ ${CP} ${TWCONFIG} ${WRKSRC}/configs/tw.conf.freebsd2

post-install:
	@ ${MKDIR} /var/adm/tcheck
	@ ${CP} ${TWCONFIG} /var/adm/tcheck/tw.config
.ifndef NO_DB_BUILD
	@ ${ECHO} Creating tripwire database
	@ (cd /var/adm/tcheck; tripwire -initialize)
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud