Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2010 03:26:21 GMT
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ecrist@secure-computing.net
Subject:   ports/153389: [PATCH] net-mgmt/rackmonkey: Fix pkg-plist for !INIT_DB case
Message-ID:  <201012230326.oBN3QLNN095733@frieza.p6m7g8.net>
Resent-Message-ID: <201012230330.oBN3UCCd043594@freefall.freebsd.org>

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

>Number:         153389
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/rackmonkey: Fix pkg-plist for !INIT_DB case
>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:   Thu Dec 23 03:30:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
RideCharge Inc / TaxiMagic
>Environment:
System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Oct 12 00:51:25 UTC 2010
>Description:

Port maintainer (ecrist@secure-computing.net) is cc'd.

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

--- rackmonkey-1.2.5_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/rackmonkey/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	10 Dec 2010 23:04:49 -0000	1.6
+++ Makefile	23 Dec 2010 03:25:30 -0000
@@ -51,6 +51,12 @@
 RUN_DEPENDS+=	p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
 .endif
 
+.if defined(INIT_DB)
+PLIST_SUB+=	INIT_DB=""
+.else
+PLIST_SUB+=	INIT_DB="@comment "
+.endif
+
 do-install:
 	${MKDIR} ${WWWDIR}/
 	${INSTALL} ${WRKSRC}/perl/rackmonkey.pl ${WRKSRC}/perl/rack2xls.pl ${WRKSRC}/perl/rackdns.pl ${WWWDIR}/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/rackmonkey/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist	12 Feb 2010 19:27:38 -0000	1.1
+++ pkg-plist	23 Dec 2010 03:25:38 -0000
@@ -1,5 +1,5 @@
 %%WWWDIR%%/rackmonkey.pl
-%%WWWDIR%%/rackmonkey.db
+%%INIT_DB%%%%WWWDIR%%/rackmonkey.db
 %%WWWDIR%%/rack2xls.pl
 %%WWWDIR%%/rackdns.pl
 %%WWWDIR%%/graphics/favicon.ico
--- rackmonkey-1.2.5_2.patch ends here ---

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



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