From nobody Mon Nov 06 18:13:57 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 4SPKH93kcyz50WG4; Mon, 6 Nov 2023 18:13:57 +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 4SPKH93HLzz4X7b; Mon, 6 Nov 2023 18:13:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699294437; 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=P9YgR+8K3EdqfV5FQcKiXFyd7sHC9QFPrteqwlRhZLk=; b=cCrD2yKmLIk8QpfU3OzvvZTolsQTGE8y04QODEKywhL3lydNmdEW0T3pY5K4Jqx4LQEElb u22aDXezkEGw6VM+8XaPMhwcIlhj0YAlcfag2HGHvOIzOVVlE9OMkZiqVVN8RKC2NUu1dt +pi5xtxT1PeV6VUTGWsngJNieQ15Ij08ADBuWCQV6G019waVbc4diFge66eI2G9amPB1EU YaA6Dk1hzOoyR5xoT7LTAIRRhu4kLZiCsP9b3mOXXiN6uXv8+WEF6AhTjo5+UzDxlXywHe DfUd9XujgfEj9zyJa8BqjO/f7Azwenl7A7dkjfxLZCf97CElVetuYMjEi7MTBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699294437; 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=P9YgR+8K3EdqfV5FQcKiXFyd7sHC9QFPrteqwlRhZLk=; b=HzSssAXeNz8WnSFT76i8ItTDcGsFpooOgHjpwdyHdXgdZZ9u5FHdjMNaRaHm8vWBRMgcJE ObSdfNLbQ6ILFbFVAY4tqSu+TCejGfzXFWmp5ycBVZMJTZPdUX8a8Lhovbes5Zxegc9cj6 uyQzDhyrF9LWSq5ZqYIbuZAltxjFct2Qz0ah1Ep+Ao6Gsvnfs9jKzFljoEOKAdnCJxjggC p4DnD5n+4+6xAKhLxan17U8vxL31VrB71REEsuedRLyEqknGBphHa20Icw+Wx/6BPZetob SqzX1I2JXD2h4BUrOKeSlgyR0llVvRiRtBpZb0CC/+9mCP1BLlnsCBqpMj77Cw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699294437; a=rsa-sha256; cv=none; b=v9vJ7U22d/mXI1A9j4nHFNoIfCQ4XbPol03Xtiojtw9KA+xbryFkzyOr9w+zYIht25Xtz1 Mvrzqh5FwRw4xvPnqE5GY/+rOCMcqhUa3dxhBdOs0tyIerBafDBo3+EHegok8LzBNqQyz7 wMvDkzs9XO8rJSeVXyIsuTux0ojMjyaFFkQuEvDlZ2BRJhGG54MDXOyZlBqX3GSpzyhEA6 e1bncY9hS8UUzUa+VFb9zzbr8Le0JU8ZBvJKEPy6Nd7o6IUQLIGEUaFROpFYRn+Ib4gMpf CLJLhu2BG1YNY+yBWjlxQL/+LK5i0DoMTznsGexB6kEYZvoZ4mCvChu6hfFFHA== 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 4SPKH92HWPz2g7; Mon, 6 Nov 2023 18:13:57 +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 3A6IDvfi009570; Mon, 6 Nov 2023 18:13:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A6IDvf7009567; Mon, 6 Nov 2023 18:13:57 GMT (envelope-from git) Date: Mon, 6 Nov 2023 18:13:57 GMT Message-Id: <202311061813.3A6IDvf7009567@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Renato Botelho Subject: git: 577cb7aaf283 - 2023Q4 - security/sudo: Update to 1.9.15 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: garga X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q4 X-Git-Reftype: branch X-Git-Commit: 577cb7aaf28306abca03274ec38d295700b5bc9b Auto-Submitted: auto-generated The branch 2023Q4 has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=577cb7aaf28306abca03274ec38d295700b5bc9b commit 577cb7aaf28306abca03274ec38d295700b5bc9b Author: Renato Botelho AuthorDate: 2023-10-31 13:45:14 +0000 Commit: Renato Botelho CommitDate: 2023-11-06 18:13:54 +0000 security/sudo: Update to 1.9.15 While here: - Prevent combination of SSSD and GSSAPI_HEIMDAL because sssd port requires MIT kerberos and it will conflict with heimdal - Removed SSSD_DEVEL option because sssd-devel port requires sudo and it creates a circular dependency - Fix OPIE on FreeBSD versions after it was removed from base Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit dd773c1540388b14692001643e323a556ed2d445) --- security/sudo/Makefile | 26 ++++++++++++++------------ security/sudo/distinfo | 6 +++--- security/sudo/pkg-plist | 1 + 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/security/sudo/Makefile b/security/sudo/Makefile index c3267fce9a29..c8b0c63da991 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,6 +1,5 @@ PORTNAME= sudo -PORTVERSION= 1.9.14p3 -PORTREVISION= 1 +PORTVERSION= 1.9.15 CATEGORIES= security MASTER_SITES= SUDO @@ -30,11 +29,10 @@ LDFLAGS+= -lgcc PORTSCOUT= ignore:1 OPTIONS_DEFINE= AUDIT DISABLE_AUTH DISABLE_ROOT_SUDO DOCS EXAMPLES \ - INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON SSL + INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON SSL SSSD OPTIONS_DEFAULT= AUDIT PAM SSL -OPTIONS_RADIO= KERBEROS SSSD +OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT -OPTIONS_RADIO_SSSD= SSSD SSSD_DEVEL OPTIONS_SUB= yes AUDIT_DESC= Enable BSM audit support @@ -46,8 +44,7 @@ NOARGS_SHELL_DESC= Run a shell if no arguments are given OPIE_DESC= Enable one-time passwords (no PAM support) PYTHON_DESC= Enable python plugin support SSL_DESC= Use OpenSSL TLS and SHA2 functions -SSSD_DESC= Enable SSSD backend support. -SSSD_DEVEL_DESC= Enable SSSD-devel backend support. +SSSD_DESC= Enable SSSD backend support AUDIT_CONFIGURE_WITH= bsm-audit @@ -86,12 +83,11 @@ PYTHON_CONFIGURE_ENABLE=python SSL_USES= ssl SSL_CONFIGURE_ON= --enable-openssl=${OPENSSLBASE} +SSSD_PREVENTS= GSSAPI_HEIMDAL +SSSD_PREVENTS_MSG= sssd requires MIT kerberos and it conflicts with heimdal SSSD_RUN_DEPENDS= sssd:security/sssd SSSD_CONFIGURE_ON= --with-sssd -SSSD_DEVEL_RUN_DEPENDS= sssd:security/sssd-devel -SSSD_DEVEL_CONFIGURE_ON= --with-sssd - LOGFAC?= authpriv SUDO_LDAP_CONF?= ldap.conf @@ -112,6 +108,13 @@ CONFIGURE_ARGS+= --enable-kerb5-instance="${SUDO_KERB5_INSTANCE}" .include +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400072 +. if ${PORT_OPTIONS:MOPIE} +BUILD_DEPENDS+= opie>0:security/opie +RUN_DEPENDS+= opie>0:security/opie +. endif +.endif + .if ${ARCH} == "arm" CONFIGURE_ARGS+= --disable-pie .endif @@ -120,8 +123,6 @@ post-patch: @${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \ s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \ ${WRKSRC}/src/Makefile.in - @${REINPLACE_CMD} -e 's,$$(srcdir)/sudoers2ldif $$(DESTDIR)$$(docdir),$$(srcdir)/sudoers2ldif $$(DESTDIR)$$(bindir),' \ - ${WRKSRC}/plugins/sudoers/Makefile.in post-install: ${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default @@ -130,6 +131,7 @@ post-install: ${RM} ${STAGEDIR}${PREFIX}/etc/sudoers ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cvtsudoers ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/sudo_intercept.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_logsrvd ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_sendlog ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo diff --git a/security/sudo/distinfo b/security/sudo/distinfo index 823b7ed41411..ff270902c6f5 100644 --- a/security/sudo/distinfo +++ b/security/sudo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1690249679 -SHA256 (sudo-1.9.14p3.tar.gz) = a08318b1c4bc8582c004d4cd9ae2903abc549e7e46ba815e41fe81d1c0782b62 -SIZE (sudo-1.9.14p3.tar.gz) = 5232320 +TIMESTAMP = 1699294299 +SHA256 (sudo-1.9.15.tar.gz) = fd0e254870e92e873b508ba16382f5ac3af81a5a38d1ea9cf973606db4262589 +SIZE (sudo-1.9.15.tar.gz) = 5301915 diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist index 682fedc57f46..96573715a41b 100644 --- a/security/sudo/pkg-plist +++ b/security/sudo/pkg-plist @@ -92,6 +92,7 @@ sbin/sudo_sendlog %%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo %%NLS%%share/locale/hu/LC_MESSAGES/sudo.mo %%NLS%%share/locale/hu/LC_MESSAGES/sudoers.mo +%%NLS%%share/locale/id/LC_MESSAGES/sudo.mo %%NLS%%share/locale/it/LC_MESSAGES/sudo.mo %%NLS%%share/locale/it/LC_MESSAGES/sudoers.mo %%NLS%%share/locale/ja/LC_MESSAGES/sudo.mo