ports/161791: [patch] databases/postgresql90-server: logic for PG_USER broken on server
Jason Helfman
jhelfman at experts-exchange.com
Wed Oct 19 00:50:08 UTC 2011
>Number: 161791
>Category: ports
>Synopsis: [patch] databases/postgresql90-server: logic for PG_USER broken on server
>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 00:50:07 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:
SUB_LIST was moved out of pkg-install-server and into postgresql.in, however SUB_LIST wasn't defined for PG_USER/PG_GROUP for postgresql.in
Add SUB_LIST and PLIST_SUB to test for only not client and not slave.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/databases/postgresql90-server/Makefile,v
retrieving revision 1.227
diff -u -r1.227 Makefile
--- Makefile 18 Oct 2011 09:03:32 -0000 1.227
+++ Makefile 19 Oct 2011 00:45:12 -0000
@@ -7,7 +7,7 @@
PORTNAME?= postgresql
DISTVERSION?= 9.0.5
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${DISTVERSION}
@@ -70,6 +70,10 @@
.endif
GROUPS?= ${PG_GROUP}
SUB_FILES+= 502.pgsql
+SUB_LIST= PG_GROUP=$(PG_GROUP) \
+ PG_USER=$(PG_USER) \
+ PG_UID=$(PG_UID)
+PLIST_SUB+= PG_USER=$(PG_USER)
.endif
.if !defined(SLAVE_ONLY)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list