diff options
author | Palle Girgensohn <girgen@FreeBSD.org> | 2023-12-28 10:20:24 +0000 |
---|---|---|
committer | Palle Girgensohn <girgen@FreeBSD.org> | 2023-12-28 10:20:24 +0000 |
commit | 16f2f4c4df2ddeefb9612870166e6f15237cc4d4 (patch) | |
tree | 12c73e0170ca05908c8bafee3e53bdb9f464259c | |
parent | 956f4c04882356b4bf48d4431754d52d02b5bb0b (diff) | |
download | ports-16f2f4c4df2ddeefb9612870166e6f15237cc4d4.tar.gz ports-16f2f4c4df2ddeefb9612870166e6f15237cc4d4.zip |
databases/postgresql??-server: Properly set login class at start
PR: 275851 (submitted by takeda at takeda.tk)
-rw-r--r-- | databases/postgresql11-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql11-server/files/postgresql.in | 2 | ||||
-rw-r--r-- | databases/postgresql12-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql12-server/files/postgresql.in | 2 | ||||
-rw-r--r-- | databases/postgresql13-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql13-server/files/postgresql.in | 2 | ||||
-rw-r--r-- | databases/postgresql14-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql14-server/files/postgresql.in | 2 | ||||
-rw-r--r-- | databases/postgresql15-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql15-server/files/postgresql.in | 2 | ||||
-rw-r--r-- | databases/postgresql16-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql16-server/files/postgresql.in | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/databases/postgresql11-server/Makefile b/databases/postgresql11-server/Makefile index 2e3e658265af..a33281f772f5 100644 --- a/databases/postgresql11-server/Makefile +++ b/databases/postgresql11-server/Makefile @@ -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 diff --git a/databases/postgresql11-server/files/postgresql.in b/databases/postgresql11-server/files/postgresql.in index 48fbadb35d39..390c607f323e 100644 --- a/databases/postgresql11-server/files/postgresql.in +++ b/databases/postgresql11-server/files/postgresql.in @@ -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() diff --git a/databases/postgresql12-server/Makefile b/databases/postgresql12-server/Makefile index e9d55ddc6363..755fc000f558 100644 --- a/databases/postgresql12-server/Makefile +++ b/databases/postgresql12-server/Makefile @@ -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 diff --git a/databases/postgresql12-server/files/postgresql.in b/databases/postgresql12-server/files/postgresql.in index 48fbadb35d39..390c607f323e 100644 --- a/databases/postgresql12-server/files/postgresql.in +++ b/databases/postgresql12-server/files/postgresql.in @@ -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() diff --git a/databases/postgresql13-server/Makefile b/databases/postgresql13-server/Makefile index 291dc2ef87ae..a09a2f212118 100644 --- a/databases/postgresql13-server/Makefile +++ b/databases/postgresql13-server/Makefile @@ -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 diff --git a/databases/postgresql13-server/files/postgresql.in b/databases/postgresql13-server/files/postgresql.in index 48fbadb35d39..390c607f323e 100644 --- a/databases/postgresql13-server/files/postgresql.in +++ b/databases/postgresql13-server/files/postgresql.in @@ -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() diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile index 6d0e3566abcd..9e885c421f71 100644 --- a/databases/postgresql14-server/Makefile +++ b/databases/postgresql14-server/Makefile @@ -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 diff --git a/databases/postgresql14-server/files/postgresql.in b/databases/postgresql14-server/files/postgresql.in index 48fbadb35d39..390c607f323e 100644 --- a/databases/postgresql14-server/files/postgresql.in +++ b/databases/postgresql14-server/files/postgresql.in @@ -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() diff --git a/databases/postgresql15-server/Makefile b/databases/postgresql15-server/Makefile index 5973634382c5..7dcc58a4c0fa 100644 --- a/databases/postgresql15-server/Makefile +++ b/databases/postgresql15-server/Makefile @@ -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 diff --git a/databases/postgresql15-server/files/postgresql.in b/databases/postgresql15-server/files/postgresql.in index 48fbadb35d39..390c607f323e 100644 --- a/databases/postgresql15-server/files/postgresql.in +++ b/databases/postgresql15-server/files/postgresql.in @@ -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() diff --git a/databases/postgresql16-server/Makefile b/databases/postgresql16-server/Makefile index 1115ebbf3b46..e9905887a39e 100644 --- a/databases/postgresql16-server/Makefile +++ b/databases/postgresql16-server/Makefile @@ -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} diff --git a/databases/postgresql16-server/files/postgresql.in b/databases/postgresql16-server/files/postgresql.in index 48fbadb35d39..390c607f323e 100644 --- a/databases/postgresql16-server/files/postgresql.in +++ b/databases/postgresql16-server/files/postgresql.in @@ -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() |