Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2012 08:24:32 -0500 (EST)
From:      scheidell@FreeBSD.org
To:        ports@freebsd.org
Subject:   -exp needed. anyone using tripwire?
Message-ID:  <20120121132432.B7C691D3E4@scanner.secnap.net>

next in thread | raw e-mail | index | archive | help

--ELM1327152272-40746-0_
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"

Due to the 'IS_INTERACTIVE' in Makefile, and, in fact, in the ports/src Makefile, this won't package, which means this won't 
tinderbox (and PH will complain).  I have seen pr's in the past that tried to fix this issue, but it never went away.
(you install this, and it goes to tripwire web site, and asks you to 'ack' their GPL2 license.)

Looking for -exp to test update to tripwire.

yes, portlint -C is nasty also, any suggestions there would be nice.

maintainer is ports@, but if I get enough good suggestions, cut down portlint -C compliants a little I'll own it. (unless 
someone else wants it)

I can open a PR in GNATS to track -exp if you think that is the best way to do that, or we can just keep it here on the 
list.


-- 
Michael Scheidell, CTO
SECNAP Network Security Corporation
(561) 999-5000 scheidell@secnap.net
http://www.secnap.com/

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com/
______________________________________________________________________  
  
--ELM1327152272-40746-0_
Content-Transfer-Encoding: 7bit
Content-Type: text/x-patch
Content-Disposition: attachment; filename="tripwire.patch"

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/tripwire/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile	22 Aug 2009 00:35:07 -0000	1.39
+++ Makefile	21 Jan 2012 13:19:05 -0000
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	tripwire
-PORTVERSION=	2.4.1.2
+PORTVERSION=	2.4.2.2
 CATEGORIES=	security
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-src/${PORTNAME}-${PORTVERSION}-src
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-src/${PORTNAME}-${PORTVERSION}
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	cy@FreeBSD.org
@@ -17,7 +17,7 @@
 LATEST_LINK=	${PORTNAME}
 MAN5=		twfiles.5 twconfig.5 twpolicy.5
 MAN8=		siggen.8 tripwire.8 twadmin.8 twintro.8 twprint.8
-NO_PACKAGE=	"requires local database to be built"
+NO_PACKAGE=	requires manual acceptance of license agreement
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
@@ -27,7 +27,7 @@
 M4=		/usr/bin/m4
 
 # Tripwire config files are stored in TWCFG
-TWCFG?=		/usr/local/etc/tripwire
+TWCFG?=		${ETCDIR}
 # Tripwire policy files are stored in TWPOLICY.
 TWPOLICY?=	${TWCFG}
 # The Tripwire site key files are stored in TWSITEKEYDIR.
@@ -75,7 +75,7 @@
 
 create-database:
 .ifndef NO_DB_BUILD
-	@ ${MKDIR} -p ${TWCFG} ${TWPOLICY} ${TWSITEKEYDIR} ${TWLOCALKEYDIR} \
+	@ ${MKDIR} ${TWCFG} ${TWPOLICY} ${TWSITEKEYDIR} ${TWLOCALKEYDIR} \
 		${TWDB} ${TWREPORT}
 	@ ${ECHO} Creating tripwire database
 	@ cd ${TWCFG} && ${PREFIX}/sbin/tripwire --init
@@ -84,7 +84,6 @@
 	@ ${ECHO} policy file are signed using the local and site keys,
 	@ ${ECHO} therefore according to the support staff at
 	@ ${ECHO} tripwiresecurity.com, creating a floppy is not necessary.
-	
 .endif
 
 post-install:	install-config-files create-database
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/security/tripwire/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	3 Jul 2011 14:03:47 -0000	1.7
+++ distinfo	21 Jan 2012 13:19:05 -0000
@@ -1,2 +1,2 @@
-SHA256 (tripwire-2.4.1.2-src.tar.bz2) = 55462b13a81aa65b83a76cd43d8617a60eb669d2b3d9999d0377a0e68e692907
-SIZE (tripwire-2.4.1.2-src.tar.bz2) = 711311
+SHA256 (tripwire-2.4.2.2-src.tar.bz2) = e09a7bdca9302e704cc62067399e0b584488f825b0e58c82ad6d54cd2e899fad
+SIZE (tripwire-2.4.2.2-src.tar.bz2) = 716616
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/security/tripwire/pkg-plist,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist
--- pkg-plist	16 Feb 2006 15:17:30 -0000	1.6
+++ pkg-plist	21 Jan 2012 13:19:05 -0000
@@ -6,4 +6,5 @@
 share/doc/tripwire/TRADEMARK
 share/doc/tripwire/policyguide.txt
 @dirrm share/doc/tripwire
-@unexec echo If permanently deleting this package, %%TWCFG%% and %%TWDB%% must be removed manually
+@unexec rmdir %%TWCFG%% %%TWDB%% 2>/dev/null || true
+@unexec if [ -d %%TWCFG%% ] || [ -d %%TWDB%% ] ; then echo If permanently deleting this package, %%TWCFG%% and %%TWDB%% must be removed manually; fi

--ELM1327152272-40746-0_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120121132432.B7C691D3E4>