From nobody Thu Sep 19 09:40:41 2024 X-Original-To: dev-commits-ports-main@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 4X8VrB1YgYz5Vjpq; Thu, 19 Sep 2024 09:40:42 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X8VrB0f3Nz4Nxg; Thu, 19 Sep 2024 09:40:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726738842; 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=UXdACDtljUGJEGGWt5adF7C76+N1n6uJvWf7kIiv980=; b=rW70a48raYQLKasCKwAMIoWiJ3IJpn42GaO4KtxZrp/uuglJvqGhxsQUU/Se02D1DnK0jb pXvZpsjfW2riQXqucXLfndpFpm5bX4EWmxg1s+mcuM/96Z7OJ0Ra6Kllo4FkYEBwjEvRhG rWw2YZgiVWDYeCgqDqrXvcb0jNsjW1Gq5zac+5aiE5ynQQ7E9ANQBEla4V6B92OHkv9XQm RI4iGKYiwN+NMcX3ed/qaPg+Xomk8aKQ8/9U8tLXqmSg+qH3sGKh1Ac5eFmsZXdpTvbqG5 tveX8gJxL7QVmABnK7fLW27pZbL/wrHKu79W5RuP7Jgwo1NR/PBpCk52BZPMCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726738842; a=rsa-sha256; cv=none; b=PkwHloFb+AFnSrTC9qiUFzAf4AWLL/AARg2E+kl80hkkfzG33T3S5UCX9Bgulgad/t/BcC 8JqjT1j8nTL3aXshW5PkssBmk0sQXZfETetKYXr8I5EjDRjVxE06TCf+kKWU1WzpMEDYXZ 6Olz7E3coch/4KmYoZiCGvREafUk7dNw43fOmhMvxkFgMH8PhArTR7NcFXorEKwjZprRt8 d06SRpKWI9Qy2X2JgxR0al2miyjVJQNQ5zSLG6aHMaJHWee8OfwoKLGqo1ng1SA7u+RED8 hyljEcwKoSQ+Xv3aKuvOCFPi25sQIprxdfJuayXiROMTwDQxea1CXyGEpsat8A== 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=1726738842; 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=UXdACDtljUGJEGGWt5adF7C76+N1n6uJvWf7kIiv980=; b=hZegUkEBotZgZSEQ3XgYhHMVPXHIhFDObhpD2U8k58ZBVmXA5aIdc3nqUqCV8reRUNHpwH xI2G4lZxv9Wdh4Yv61CZx1gtAhvozuFptNqc51oIaHtUvZYRkbZgPAH9nus7GZIFP/ERYt PntSGcGV7eT2CUTyibIZW5SiZgeBaDfFsK3lcmWHvkBfZy8A3uBJZ9h9sheIGbTbgPaHBr YjDcUOlhrjGodW0wosiQzrf4+LSVkg0XJ3OhM7vZ4wwapfhaTh+HCTIEpvuDakHoNrHVuW pi+mYLE293nmF7jvw6jJ8AItn7YyCbaZyhhKps+k3wopVH2zxe0eEyF0An1vkA== 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 4X8VrB0Chyz10bX; Thu, 19 Sep 2024 09:40:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48J9efDn051502; Thu, 19 Sep 2024 09:40:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48J9efjp051499; Thu, 19 Sep 2024 09:40:41 GMT (envelope-from git) Date: Thu, 19 Sep 2024 09:40:41 GMT Message-Id: <202409190940.48J9efjp051499@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: 3b31bc73620b - main - security/shibboleth-sp: allow configuring the www_group List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 3b31bc73620b2a7a0dc2e26d81b326d0eeebb551 Auto-Submitted: auto-generated The branch main has been updated by girgen: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b31bc73620b2a7a0dc2e26d81b326d0eeebb551 commit 3b31bc73620b2a7a0dc2e26d81b326d0eeebb551 Author: Palle Girgensohn AuthorDate: 2024-09-19 09:37:17 +0000 Commit: Palle Girgensohn CommitDate: 2024-09-19 09:39:47 +0000 security/shibboleth-sp: allow configuring the www_group If you reconfigured your apache httpd to use a non-standard group, set the rc variable shibboleth_www_group to correspond to that group, and you will get correct rights for the unix domain socket that mod_shib uses to communicate with the shibboleth daemon. --- security/shibboleth-sp/Makefile | 2 +- security/shibboleth-sp/files/shibboleth-sp.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/security/shibboleth-sp/Makefile b/security/shibboleth-sp/Makefile index 6f7cd3f1f9dd..90a4c0c3e2dd 100644 --- a/security/shibboleth-sp/Makefile +++ b/security/shibboleth-sp/Makefile @@ -1,6 +1,6 @@ PORTNAME= shibboleth-sp PORTVERSION= 3.4.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security www MASTER_SITES= http://shibboleth.net/downloads/service-provider/${PORTVERSION}/ diff --git a/security/shibboleth-sp/files/shibboleth-sp.in b/security/shibboleth-sp/files/shibboleth-sp.in index 5979c6f440ed..aa6b6af005e8 100644 --- a/security/shibboleth-sp/files/shibboleth-sp.in +++ b/security/shibboleth-sp/files/shibboleth-sp.in @@ -21,7 +21,7 @@ keygen_cmd="shibboleth_sp_keygen" shibboleth_sp_usr=%%SHIBD_USER%% shibboleth_sp_group=%%SHIBD_GROUP%% -www_group=%%WWWGRP%% +: ${shibboleth_www_group:=%%WWWGRP%%} load_rc_config $name @@ -43,7 +43,7 @@ shibboleth_sp_configtest() { chmod 755 /var/cache install -d -o ${shibboleth_sp_usr} -g ${shibboleth_sp_group} /var/log/shibboleth install -d -o ${shibboleth_sp_usr} -g ${shibboleth_sp_group} /var/cache/shibboleth - install -d -o ${shibboleth_sp_usr} -g ${www_group} -m 750 /var/run/shibboleth + install -d -o ${shibboleth_sp_usr} -g ${shibboleth_www_group} -m 750 /var/run/shibboleth ${command} ${shibboleth_sp_flags} -u ${shibboleth_sp_usr} -g ${shibboleth_sp_group} -t }