mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
databases/postgresql??-server: Properly set login class at start
PR: 275851 (submitted by takeda at takeda.tk)
This commit is contained in:
parent
956f4c0488
commit
16f2f4c4df
12 changed files with 12 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
|||
DISTVERSION?= 11.22
|
||||
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
|
||||
# not their own. Probably best to keep it at ?=0 when reset here too.
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
|
||||
MAINTAINER?= pgsql@FreeBSD.org
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ command_args="-D ${postgresql_data} ${postgresql_flags}"
|
|||
|
||||
postgresql_command()
|
||||
{
|
||||
${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
}
|
||||
|
||||
postgresql_initdb()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
DISTVERSION?= 12.17
|
||||
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
|
||||
# not their own. Probably best to keep it at ?=0 when reset here too.
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
|
||||
MAINTAINER?= pgsql@FreeBSD.org
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ command_args="-D ${postgresql_data} ${postgresql_flags}"
|
|||
|
||||
postgresql_command()
|
||||
{
|
||||
${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
}
|
||||
|
||||
postgresql_initdb()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
DISTVERSION?= 13.13
|
||||
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
|
||||
# not their own. Probably best to keep it at ?=0 when reset here too.
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
|
||||
MAINTAINER?= pgsql@FreeBSD.org
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ command_args="-D ${postgresql_data} ${postgresql_flags}"
|
|||
|
||||
postgresql_command()
|
||||
{
|
||||
${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
}
|
||||
|
||||
postgresql_initdb()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
DISTVERSION?= 14.10
|
||||
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
|
||||
# not their own. Probably best to keep it at ?=0 when reset here too.
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
|
||||
MAINTAINER?= pgsql@FreeBSD.org
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ command_args="-D ${postgresql_data} ${postgresql_flags}"
|
|||
|
||||
postgresql_command()
|
||||
{
|
||||
${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
}
|
||||
|
||||
postgresql_initdb()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
DISTVERSION?= 15.5
|
||||
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
|
||||
# not their own. Probably best to keep it at ?=0 when reset here too.
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
|
||||
MAINTAINER?= pgsql@FreeBSD.org
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ command_args="-D ${postgresql_data} ${postgresql_flags}"
|
|||
|
||||
postgresql_command()
|
||||
{
|
||||
${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
}
|
||||
|
||||
postgresql_initdb()
|
||||
|
|
|
@ -2,7 +2,7 @@ PORTNAME?= postgresql
|
|||
DISTVERSION?= 16.1
|
||||
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
|
||||
# not their own. Probably best to keep it at ?=0 when reset here too.
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
CATEGORIES?= databases
|
||||
MASTER_SITES= PGSQL/source/v${DISTVERSION}
|
||||
PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT}
|
||||
|
|
|
@ -104,7 +104,7 @@ command_args="-D ${postgresql_data} ${postgresql_flags}"
|
|||
|
||||
postgresql_command()
|
||||
{
|
||||
${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
}
|
||||
|
||||
postgresql_initdb()
|
||||
|
|
Loading…
Add table
Reference in a new issue