ports/161821: [patch] databases/postgresql90-server: cleanup plist

Jason Helfman jhelfman at experts-exchange.com
Wed Oct 19 20:30:14 UTC 2011


>Number:         161821
>Category:       ports
>Synopsis:       [patch] databases/postgresql90-server: cleanup plist
>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:   Wed Oct 19 20:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD eggman.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.9.20111019081335/postgresql-server-9.0.5.log
Cleanup properly
Builds cleanly in updated tinderbox => http://jgh.devio.us/files/logs/postgresql-server-9.0.5_1.log
An obmitted PLIST_SUB from previous commit was part of the issue. The other issue is that it wasn't in the plist to cleanup.
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/databases/postgresql90-server/Makefile,v
retrieving revision 1.229
diff -u -r1.229 Makefile
--- Makefile	19 Oct 2011 18:29:58 -0000	1.229
+++ Makefile	19 Oct 2011 20:21:23 -0000
@@ -306,6 +306,7 @@
 SUB_LIST+=	PG_GROUP=$(PG_GROUP) \
 		PG_USER=$(PG_USER) \
 		PG_UID=$(PG_UID)
+PLIST_SUB+=	PG_USER=${PG_USER}
 
 .if defined(SERVER_ONLY)
 pre-everything::
Index: pkg-plist-server
===================================================================
RCS file: /home/jhelfman/ncvs/ports/databases/postgresql90-server/pkg-plist-server,v
retrieving revision 1.34
diff -u -r1.34 pkg-plist-server
--- pkg-plist-server	18 Oct 2011 09:03:32 -0000	1.34
+++ pkg-plist-server	19 Oct 2011 20:20:42 -0000
@@ -775,3 +775,4 @@
 @dirrmtry etc/periodic/daily
 @dirrmtry etc/periodic
 @dirrmtry lib/postgresql
+ at dirrmtry %%PG_USER%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list