mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Actually add the pgsql users on install
PR: ports/162239 Approved by: portmgr (pav)
This commit is contained in:
parent
19334d785f
commit
1ead47b95b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284932
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue