ports/144806: [PATCH] security/tripwire: Allow packages builds selectively

Philip M. Gollucci pgollucci at FreeBSD.org
Tue Mar 16 21:10:04 UTC 2010


>Number:         144806
>Category:       ports
>Synopsis:       [PATCH] security/tripwire: Allow packages builds selectively
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 16 21:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Feb 15 21:36:01 EST 2010
>Description:
Only building the db prevents the packages right now.  Its perfectly acceptable
to build the package, install it remotely, and then build the dbs.

To keep the diff simple, I didn't mess with any of the other portlint nags.


Port maintainer (cy at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- tripwire-2.4.1.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/tripwire/Makefile,v
retrieving revision 1.39
diff -u -u -r1.39 Makefile
--- Makefile	22 Aug 2009 00:35:07 -0000	1.39
+++ Makefile	16 Mar 2010 21:08:32 -0000
@@ -17,15 +17,18 @@
 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"
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 MAKE_ARGS=	SYSPRE=${ARCH}-unknown-freebsd
-IS_INTERACTIVE=	yes
 M4=		/usr/bin/m4
 
+.ifndef NO_DB_BUILD
+NO_PACKAGE=	"requires local database to be built"
+IS_INTERACTIVE=	yes
+.endif
+
 # Tripwire config files are stored in TWCFG
 TWCFG?=		/usr/local/etc/tripwire
 # Tripwire policy files are stored in TWPOLICY.
--- tripwire-2.4.1.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list