Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2011 13:27:45 -0700
From:      Jason Helfman <jhelfman@experts-exchange.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        crees@FreeBSD.org, pav@FreeBSD.org, girgen@FreeBSD.org
Subject:   ports/161821: [patch] databases/postgresql90-server: cleanup plist
Message-ID:  <1319056065.664453.66053.nullmailer@experts-exchange.com>
Resent-Message-ID: <201110192030.p9JKUDlv099353@freefall.freebsd.org>

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

>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@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
+@dirrmtry %%PG_USER%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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