diff options
author | crees <crees@FreeBSD.org> | 2011-11-03 02:09:16 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2011-11-03 02:09:16 +0800 |
commit | a1ef7bbbc65668b6ef84d54af19b8b01c2cc0e70 (patch) | |
tree | 4e60f07915df3cde099e447cd049d04c6c253e32 /databases | |
parent | a3d97104ac2b07a7755216de8762283df0506edd (diff) | |
download | freebsd-ports-gnome-a1ef7bbbc65668b6ef84d54af19b8b01c2cc0e70.tar.gz freebsd-ports-gnome-a1ef7bbbc65668b6ef84d54af19b8b01c2cc0e70.tar.zst freebsd-ports-gnome-a1ef7bbbc65668b6ef84d54af19b8b01c2cc0e70.zip |
Actually add the pgsql users on install
PR: ports/162239
Approved by: portmgr (pav)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql84-server/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile index 446a371bcd34..8615b4bbbcd1 100644 --- a/databases/postgresql84-server/Makefile +++ b/databases/postgresql84-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= postgresql DISTVERSION?= 8.4.9 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES?= databases MASTER_SITES= ${MASTER_SITE_PGSQL} MASTER_SITE_SUBDIR= source/v${DISTVERSION} @@ -62,6 +62,12 @@ SERVER_ONLY= yes USE_RC_SUBR= postgresql USE_PGSQL= yes WANT_PGSQL_VER= ${DISTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g} +USERS= ${PG_USER} +. if ${USERS} != "pgsql" +UID_FILES+= ${WRKDIR}/pguid +GID_FILES+= ${WRKDIR}/pggid +. endif +GROUPS= ${PG_GROUP} SUB_FILES+= 502.pgsql .endif |