From nobody Thu Dec 28 10:22:23 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T14M40yCNz55XPS; Thu, 28 Dec 2023 10:22:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T14M36r88z3YGh; Thu, 28 Dec 2023 10:22:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703758944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6a+9ORFdMeHxCrSjgDO83BtrRKL00zWb9WwO1oRxYpc=; b=R4kLswCNGyE+J+m6Wfdmq8fnHDWDKQHIIZb7MU1qVphP9MjQ27Kvgx91dYybcje/TWKn8m G5Okbbaqy1WxtYW0bjNSQ8TYcT6jZSspedvd8rcsa75L89TlPj+675J7SxMOcC2NvD37rT xhX0vj5rv7AJpB98sxsB2xXMi/rBgHLGLbR2cVRdez9Z613LuwgxPi8lHL6zT/6JHhmbD3 fyWUGGw3HFihSecoazk2Xf8cTa1CG3uPoYZxqnP5xNxD6nPwCpMQcYb7AuY+oZLgrWokmp 7+7dfBLlRINo6YgjDKcVfuhgb2gyp3AflWUKt/5uVE77FN53TNckqsqY4BlUUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703758944; a=rsa-sha256; cv=none; b=Fpo1uPnxK4mXvf26Pj1AwsPalbYomnKoR11XJWsbw4RT1Ti4eik1xpKf70wnOYRtgXaxW5 WIEF0fqIPHWxgW5Y3Rcu5I4o6w+4WsIQZTh++n3h3xDgfcyBR44q2MUI4em5Y/1CMQ9h5c e+67PXdWfgHi9WGqbA5VhfeIXsU5T2HRBn3e/yAPYdOTgf41im+lGB4BPsbpKkq3+7+O2r Rpr3ivWCBzEhR0NUjAO4/EXRJnlabl/JJ4TW05JgBNPuhVCGHW2cm5DXA4Mvwno7hin5AK g0mfGy5NsR9U5V4j3oMa77XtKCpjcUr1x9NzqGGe+56zuXT3V5KDtzq4IZmB8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703758944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6a+9ORFdMeHxCrSjgDO83BtrRKL00zWb9WwO1oRxYpc=; b=tN3FUSx0amER6/8LUSP6NDmkAPGw/TDNAa5kzVjHRg0kXazJxtLVoopH1ZapJa7QRAi36d hJ4Q9ElOSaJZjAqmjthM5w9hvPEoP96y8WSyNaC25pgCpxURWoZ0hA6PvtDvpe/ylLhFmb 7nZscR97YkbXG9dlF31owALOdhu+rk/bSfafqI5uWuj3lasSXVAzTGbWpTapP4RdVx36tL zgYOKyA6EvpyjbdRhP7V09jFLE5tvkZ7SX5cpVQ5zcVysKYVqNtSUYDdGETyihHxThj2Ls C+/Mb7KC0Ky/Y0YYSNk0VhZI5WZHdDO3scxVpET0xI19YWRwSjq4BisTjV+rig== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T14M35tvSz3by; Thu, 28 Dec 2023 10:22:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BSAMNjV083176; Thu, 28 Dec 2023 10:22:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BSAMNIi083173; Thu, 28 Dec 2023 10:22:23 GMT (envelope-from git) Date: Thu, 28 Dec 2023 10:22:23 GMT Message-Id: <202312281022.3BSAMNIi083173@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Palle Girgensohn Subject: git: 16f2f4c4df2d - main - databases/postgresql??-server: Properly set login class at start List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: girgen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 16f2f4c4df2ddeefb9612870166e6f15237cc4d4 Auto-Submitted: auto-generated The branch main has been updated by girgen: URL: https://cgit.FreeBSD.org/ports/commit/?id=16f2f4c4df2ddeefb9612870166e6f15237cc4d4 commit 16f2f4c4df2ddeefb9612870166e6f15237cc4d4 Author: Palle Girgensohn AuthorDate: 2023-12-28 10:20:24 +0000 Commit: Palle Girgensohn CommitDate: 2023-12-28 10:20:24 +0000 databases/postgresql??-server: Properly set login class at start PR: 275851 (submitted by takeda at takeda.tk) --- databases/postgresql11-server/Makefile | 2 +- databases/postgresql11-server/files/postgresql.in | 2 +- databases/postgresql12-server/Makefile | 2 +- databases/postgresql12-server/files/postgresql.in | 2 +- databases/postgresql13-server/Makefile | 2 +- databases/postgresql13-server/files/postgresql.in | 2 +- databases/postgresql14-server/Makefile | 2 +- databases/postgresql14-server/files/postgresql.in | 2 +- databases/postgresql15-server/Makefile | 2 +- databases/postgresql15-server/files/postgresql.in | 2 +- databases/postgresql16-server/Makefile | 2 +- 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()