From owner-dev-commits-ports-all@freebsd.org Thu Jun 3 13:59:49 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 53CA2639FF0; Thu, 3 Jun 2021 13:59:49 +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 4FwnZs1pqHz3LyM; Thu, 3 Jun 2021 13:59:49 +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 277B62EB9; Thu, 3 Jun 2021 13:59:49 +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 153DxnU1057173; Thu, 3 Jun 2021 13:59:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 153Dxn7B057172; Thu, 3 Jun 2021 13:59:49 GMT (envelope-from git) Date: Thu, 3 Jun 2021 13:59:49 GMT Message-Id: <202106031359.153Dxn7B057172@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: 0591d3d3c3b0 - 2021Q2 - security/sudo: update to 1.9.7 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: 0591d3d3c3b0743d82e52ffbb489880e069916f8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2021 13:59:49 -0000 The branch 2021Q2 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=0591d3d3c3b0743d82e52ffbb489880e069916f8 commit 0591d3d3c3b0743d82e52ffbb489880e069916f8 Author: Cy Schubert AuthorDate: 2021-05-18 20:01:14 +0000 Commit: Cy Schubert CommitDate: 2021-06-03 13:59:10 +0000 security/sudo: update to 1.9.7 Among other changes this release fixes -fcommon errors. A complete list of changes can be found at https://www.sudo.ws/stable.html/ PR: 255812 Submitted by: Yasuhiro Kimura (mostly) Reported by: Yasuhiro Kimura Tested by: cy Approved by: garga (maintainer) MFH: 2021Q2 (cherry picked from commit 72d1eb161b86e663242d192171078d6babc1afdf) --- security/sudo/Makefile | 2 +- security/sudo/distinfo | 6 +++--- security/sudo/files/patch-lib_iolog_hostcheck.c | 25 ++++++++++++++++++++++ .../{patch-install-sh => patch-scripts_install-sh} | 4 ++-- 4 files changed, 31 insertions(+), 6 deletions(-) diff --git a/security/sudo/Makefile b/security/sudo/Makefile index d8e795dab66c..968ce85c5c68 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,7 +1,7 @@ # Created by: erich@rrnet.com PORTNAME= sudo -PORTVERSION= 1.9.6p1 +PORTVERSION= 1.9.7 CATEGORIES= security MASTER_SITES= SUDO diff --git a/security/sudo/distinfo b/security/sudo/distinfo index 2ae066f1cc71..9f5c0b2f1986 100644 --- a/security/sudo/distinfo +++ b/security/sudo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1615925605 -SHA256 (sudo-1.9.6p1.tar.gz) = a9e9cdc058fafeb9cd3ebfb864c81755e524d98aa022152763f25bce8ca3ca90 -SIZE (sudo-1.9.6p1.tar.gz) = 4119888 +TIMESTAMP = 1620827684 +SHA256 (sudo-1.9.7.tar.gz) = 2bbe7c2d6699b84d950ef9a43f09d4d967b8bc244b73bc095c4202068ddbe549 +SIZE (sudo-1.9.7.tar.gz) = 4194242 diff --git a/security/sudo/files/patch-lib_iolog_hostcheck.c b/security/sudo/files/patch-lib_iolog_hostcheck.c new file mode 100644 index 000000000000..c65b642063f5 --- /dev/null +++ b/security/sudo/files/patch-lib_iolog_hostcheck.c @@ -0,0 +1,25 @@ +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 + diff --git a/security/sudo/files/patch-install-sh b/security/sudo/files/patch-scripts_install-sh similarity index 89% rename from security/sudo/files/patch-install-sh rename to security/sudo/files/patch-scripts_install-sh index 99ae7ec2b5bc..3bbf0a411340 100644 --- a/security/sudo/files/patch-install-sh +++ b/security/sudo/files/patch-scripts_install-sh @@ -1,5 +1,5 @@ ---- install-sh.orig 2017-01-14 04:30:15 UTC -+++ install-sh +--- scripts/install-sh.orig 2017-01-14 04:30:15 UTC ++++ scripts/install-sh @@ -171,12 +171,6 @@ if ${DIRMODE} ; then if [ ! -d "${DEST}" ] ; then ${MKDIR} "${DEST}" || exit 1