freebsd-ports/security/tripwire-131/Makefile
Antoine Brodin 8cb7643e7a Mark BROKEN: Does not build
on 8 or 9:
gcc -O -static -o tripwire config.parse.o main.o list.o ignorevec.o dbase.build.o  utils.o preen.o preen.interp.o preen.report.o  nullsig.o config.prim.o dbase.update.o  config.pre.o help.o  ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o ../sigs/sha/shawrapper.o  ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
utils.o: In function `pltob64':
utils.c:(.text+0x8f0): undefined reference to `fatal'
../sigs/snefru/snefru.o: In function `ReadChunk':
snefru.c:(.text+0x6bd): undefined reference to `fatal'
*** [tripwire] Error code 1

on 10 or head:
gcc -O -static byteorder.c -o byteorder
make[2]: exec(gcc) failed (No such file or directory)
2014-03-08 10:06:57 +00:00

40 lines
1 KiB
Makefile

# Created by: 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
PKGNAMESUFFIX= -131
MAINTAINER= cy@FreeBSD.org
COMMENT= File system security and verification program
BROKEN= Does not build
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
MAKE_JOBS_UNSAFE= yes
TWCONFIG?= ${FILESDIR}/tw.conf.freebsd2
NO_STAGE= yes
.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>