blob: 699f9de7cbb51901e4e36560ebe4153d14a328bd (
plain) (
blame)
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
42
43
44
45
|
# Created by: Cy Schubert <Cy.Schubert@uumail.gov.bc.ca>
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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>
|