From pgollucci@frieza.p6m7g8.net  Tue Mar 16 21:09:38 2010
Return-Path: <pgollucci@frieza.p6m7g8.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C23A91065670
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Mar 2010 21:09:38 +0000 (UTC)
	(envelope-from pgollucci@frieza.p6m7g8.net)
Received: from frieza.p6m7g8.net (wsip-174-79-184-239.dc.dc.cox.net [174.79.184.239])
	by mx1.freebsd.org (Postfix) with ESMTP id 69A168FC1D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Mar 2010 21:09:37 +0000 (UTC)
Received: from frieza.p6m7g8.net (localhost [127.0.0.1])
	by frieza.p6m7g8.net (8.14.4/8.14.4) with ESMTP id o2GL9bXQ095989;
	Tue, 16 Mar 2010 17:09:37 -0400 (EDT)
	(envelope-from pgollucci@frieza.p6m7g8.net)
Received: (from pgollucci@localhost)
	by frieza.p6m7g8.net (8.14.4/8.14.4/Submit) id o2GL9bHu095979;
	Tue, 16 Mar 2010 17:09:37 -0400 (EDT)
	(envelope-from pgollucci)
Message-Id: <201003162109.o2GL9bHu095979@frieza.p6m7g8.net>
Date: Tue, 16 Mar 2010 17:09:37 -0400 (EDT)
From: "Philip M. Gollucci" <pgollucci@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: cy@freebsd.org
Subject: [PATCH] security/tripwire: Allow packages builds selectively
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         144806
>Category:       ports
>Synopsis:       [PATCH] security/tripwire: Allow packages builds selectively
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 16 21:10:03 UTC 2010
>Closed-Date:    Thu May 27 02:00:21 UTC 2010
>Last-Modified:  Thu May 27 02:00:21 UTC 2010
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->cy 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Mar 16 21:10:13 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144806 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Thu May 27 02:00:20 UTC 2010 
State-Changed-Why:  
at submitters request (me) need a better solution 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144806 
>Unformatted:
