From owner-dev-commits-ports-branches@freebsd.org Mon Jun 14 21:00:50 2021 Return-Path: Delivered-To: dev-commits-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9BFAE653616; Mon, 14 Jun 2021 21:00:50 +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 4G3kPZ41y5z4sXX; Mon, 14 Jun 2021 21:00:50 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 723B21B7EC; Mon, 14 Jun 2021 21:00:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15EL0oAW023386; Mon, 14 Jun 2021 21:00:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15EL0oZa023385; Mon, 14 Jun 2021 21:00:50 GMT (envelope-from git) Date: Mon, 14 Jun 2021 21:00:50 GMT Message-Id: <202106142100.15EL0oZa023385@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Cy Schubert Subject: git: 6ff6811ef166 - 2021Q2 - securty/sudo: Update to 1.9.7p1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q2 X-Git-Reftype: branch X-Git-Commit: 6ff6811ef166603c135ad6eca6b6562ffab7b6f1 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2021 21:00:50 -0000 The branch 2021Q2 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ff6811ef166603c135ad6eca6b6562ffab7b6f1 commit 6ff6811ef166603c135ad6eca6b6562ffab7b6f1 Author: Cy Schubert AuthorDate: 2021-06-14 14:11:40 +0000 Commit: Cy Schubert CommitDate: 2021-06-14 21:00:12 +0000 securty/sudo: Update to 1.9.7p1 Major changes between sudo 1.9.7p1 and 1.9.7 * Fixed an SELinux sudoedit bug when the edited temporary file could not be opened. The sesh helper would still be run even when there are no temporary files available to install. * Fixed a compilation problem on FreeBSD. * The sudo_noexec.so file is now built as a module on all systems other than macOS. This makes it possible to use other libtool implementations such as slibtool. On macOS shared libraries and modules are not interchangeable and the version of libtool shipped with sudo must be used. * Fixed a few bugs in the getgrouplist() emulation on Solaris when reading from the local group file. * Fixed a bug in sudo_logsrvd that prevented periodic relay server connection retries from occurring in "store_first" mode. * Disabled the nss_search()-based getgrouplist() emulation on HP-UX due to a crash when the group source is set to "compat" in /etc/nsswitch.conf. This is probably due to a mismatch between include/compat/nss_dbdefs.h and what HP-UX uses internally. On HP-UX we now just cycle through groups the slow way using getgrent(). Bug #978. PR: 256561 Submitted by: cy Reported by: cy Approved by: garga (maintainer) MFH: 2020Q2 (cherry picked from commit f34318c566935213a6e7c4e2ac53a6b921a6e9f9) --- security/sudo/Makefile | 2 +- security/sudo/distinfo | 6 +++--- security/sudo/files/patch-lib_iolog_hostcheck.c | 25 ------------------------- 3 files changed, 4 insertions(+), 29 deletions(-) diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 968ce85c5c68..77cba4e41a8e 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,7 +1,7 @@ # Created by: erich@rrnet.com PORTNAME= sudo -PORTVERSION= 1.9.7 +PORTVERSION= 1.9.7p1 CATEGORIES= security MASTER_SITES= SUDO diff --git a/security/sudo/distinfo b/security/sudo/distinfo index 9f5c0b2f1986..1096c7319073 100644 --- a/security/sudo/distinfo +++ b/security/sudo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620827684 -SHA256 (sudo-1.9.7.tar.gz) = 2bbe7c2d6699b84d950ef9a43f09d4d967b8bc244b73bc095c4202068ddbe549 -SIZE (sudo-1.9.7.tar.gz) = 4194242 +TIMESTAMP = 1623449525 +SHA256 (sudo-1.9.7p1.tar.gz) = 391431f454e55121b60c6ded0fcf30ddb80d623d7d16a6d1907cfa6a0b91d8cf +SIZE (sudo-1.9.7p1.tar.gz) = 4197591 diff --git a/security/sudo/files/patch-lib_iolog_hostcheck.c b/security/sudo/files/patch-lib_iolog_hostcheck.c deleted file mode 100644 index c65b642063f5..000000000000 --- a/security/sudo/files/patch-lib_iolog_hostcheck.c +++ /dev/null @@ -1,25 +0,0 @@ -From 96fb72e7cbac29086e51c57e5b629ac5a739e0e2 Mon Sep 17 00:00:00 2001 -From: "Todd C. Miller" -Date: Wed, 12 May 2021 07:27:09 -0600 -Subject: [PATCH] Explicitly include netinet/in.h for struct sockaddr_in and - sockaddr+_in6. Fixes a compilation problem on FreeBSD. - ---- - lib/iolog/hostcheck.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git lib/iolog/hostcheck.c lib/iolog/hostcheck.c -index 0dee14b79..3eeabd262 100644 ---- lib/iolog/hostcheck.c -+++ lib/iolog/hostcheck.c -@@ -24,6 +24,7 @@ - #if defined(HAVE_OPENSSL) - # include - # include -+# include - # include - # include - # include --- -2.31.1 -