git: af389a6c018a - main - security/sudo: Update to 1.9.9

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Wed, 02 Feb 2022 11:07:00 UTC
The branch main has been updated by garga:

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

commit af389a6c018ae76f32af18a87031e63c17e300e7
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-02-02 11:03:09 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2022-02-02 11:04:53 +0000

    security/sudo: Update to 1.9.9
    
    PR:             261529
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 security/sudo/Makefile                                |  4 ++--
 security/sudo/distinfo                                |  6 +++---
 .../sudo/files/patch-plugins__sudoers__sudoers.in     |  8 ++++----
 security/sudo/pkg-plist                               | 19 ++++++++++++-------
 4 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index b4daba650949..b92ba0aca2ee 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,7 +1,7 @@
 # Created by: erich@rrnet.com
 
 PORTNAME=	sudo
-PORTVERSION=	1.9.8p2
+PORTVERSION=	1.9.9
 CATEGORIES=	security
 MASTER_SITES=	SUDO
 
@@ -10,7 +10,7 @@ COMMENT=	Allow others to run commands as root
 
 LICENSE=	sudo
 LICENSE_NAME=	Sudo license
-LICENSE_FILE=	${WRKSRC}/doc/LICENSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 USES=		cpe libtool
diff --git a/security/sudo/distinfo b/security/sudo/distinfo
index bd79984a0608..efc876f8dd35 100644
--- a/security/sudo/distinfo
+++ b/security/sudo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632243869
-SHA256 (sudo-1.9.8p2.tar.gz) = 9e3b8b8da7def43b6e60c257abe80467205670fd0f7c081de1423c414b680f2d
-SIZE (sudo-1.9.8p2.tar.gz) = 4302256
+TIMESTAMP = 1643345158
+SHA256 (sudo-1.9.9.tar.gz) = 6d6ee863a3bc26c87661093a74ec63e10fd031ceba714642d21636dfe25e3e00
+SIZE (sudo-1.9.9.tar.gz) = 4456969
diff --git a/security/sudo/files/patch-plugins__sudoers__sudoers.in b/security/sudo/files/patch-plugins__sudoers__sudoers.in
index 06a344c90cdb..9a3b0c0b2a5b 100644
--- a/security/sudo/files/patch-plugins__sudoers__sudoers.in
+++ b/security/sudo/files/patch-plugins__sudoers__sudoers.in
@@ -1,4 +1,4 @@
---- plugins/sudoers/sudoers.in.orig	2018-01-15 17:30:32 UTC
+--- plugins/sudoers/sudoers.in.orig	2021-12-04 23:28:43 UTC
 +++ plugins/sudoers/sudoers.in
 @@ -32,6 +32,14 @@
  ##
@@ -15,13 +15,13 @@
  ## You may wish to keep some of the following environment variables
  ## when running commands via sudo.
  ##
-@@ -91,6 +99,9 @@ root ALL=(ALL) ALL
+@@ -91,6 +99,9 @@ root ALL=(ALL:ALL) ALL
  ## of the user they are running the command as (root by default).
  # Defaults targetpw  # Ask for the password of the target user
- # ALL ALL=(ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'
+ # ALL ALL=(ALL:ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'
 +
 +## Uncomment to show on password prompt which users' password is being expected
 +# Defaults passprompt="%p's password:"
  
  ## Read drop-in files from @sysconfdir@/sudoers.d
- ## (the '#' here does not indicate a comment)
+ @includedir @sysconfdir@/sudoers.d
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist
index 71a8b1c75710..8f30f2595165 100644
--- a/security/sudo/pkg-plist
+++ b/security/sudo/pkg-plist
@@ -36,19 +36,22 @@ man/man8/visudo.8.gz
 sbin/visudo
 sbin/sudo_logsrvd
 sbin/sudo_sendlog
-%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
+%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md
+%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS.md
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/HISTORY
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/HISTORY.md
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE.md
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TROUBLESHOOTING
-%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
-%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.LDAP
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/SECURITY.md
+%%PORTDOCS%%%%DOCSDIR%%/TROUBLESHOOTING.md
+%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.md
+%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.LDAP.md
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.ActiveDirectory
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.iPlanet
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.olcSudo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cvtsudoers.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pam.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo_logsrvd.conf
@@ -75,8 +78,10 @@ sbin/sudo_sendlog
 %%NLS%%share/locale/eo/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/eo/LC_MESSAGES/sudoers.mo
 %%NLS%%share/locale/es/LC_MESSAGES/sudo.mo
+%%NLS%%share/locale/es/LC_MESSAGES/sudoers.mo
 %%NLS%%share/locale/eu/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/eu/LC_MESSAGES/sudoers.mo
+%%NLS%%share/locale/fa/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/sudoers.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/sudo.mo