Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2021 21:00:50 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 6ff6811ef166 - 2021Q2 - securty/sudo: Update to 1.9.7p1
Message-ID:  <202106142100.15EL0oZa023385@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q2 has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ff6811ef166603c135ad6eca6b6562ffab7b6f1

commit 6ff6811ef166603c135ad6eca6b6562ffab7b6f1
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-06-14 14:11:40 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
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" <Todd.Miller@sudo.ws>
-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 <sys/types.h>
- # include <sys/socket.h>
-+# include <netinet/in.h>
- # include <arpa/inet.h>
- # include <stdlib.h>
- # include <string.h>
--- 
-2.31.1
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106142100.15EL0oZa023385>