]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sudo: upgrade 1.9.9 -> 1.9.10
authorwangmy <wangmy@fujitsu.com>
Tue, 8 Mar 2022 10:36:08 +0000 (18:36 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Mar 2022 13:06:22 +0000 (13:06 +0000)
Changelog:
=========
Added new log_passwords and passprompt_regex sudoers options.

Added new log_passwords and passprompt_regex settings to sudo_logsrvd that
operate like the sudoers options when logging terminal input.

Fixed several few bugs in the cvtsudoers utility when merging multiple
sudoers sources.

Fixed a bug in sudo_logsrvd parsing the sudo_logsrvd.conf file, where the
retry_interval in the [relay] section was not being recognized.

Restored the pre-1.9.9 behavior of not performing authentication when sudo's
-n option is specified.

On systems with /proc, if the /proc/self/stat (Linux) or /proc/pid/psinfo
(other systems) file is missing or invalid, sudo will now check file
descriptors 0-2 to determine the user's terminal. Bug #1020.

Fixed a compilation problem on Debian kFreeBSD. Bug #1021.

Fixed a crash in sudo_logsrvd when running in relay mode if an alert message
is received.

Fixed an issue that resulting in "problem with defaults entries" email to
be sent if a user ran sudo when the sudoers entry in the nsswitch.conf file
includes "sss" but no sudo provider is configured in /etc/sssd/sssd.conf. Bug #1022.

Updated the warning displayed when the invoking user is not allowed to run sudo.

Fixed a bug where the user-specified command timeout was not being honored if
the sudoers rule did not also specify a timeout.

Added support for using POSIX extended regular expressions in sudoers rules.

A user may now only run sudo -U otheruser -l if they have a "sudo ALL"
privilege where the RunAs user contains either root or otheruser.

The sudo lecture is now displayed immediately before the password prompt.

Sudo now uses its own closefrom() emulation on Linux systems.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/sudo/sudo_1.9.10.bb [moved from meta/recipes-extended/sudo/sudo_1.9.9.bb with 96% similarity]

similarity index 96%
rename from meta/recipes-extended/sudo/sudo_1.9.9.bb
rename to meta/recipes-extended/sudo/sudo_1.9.10.bb
index d7d71bb3643ed94f5e4a5d2a2d9f4d2ff68a8f70..aa0d814ed78e0af8def8ae27efdd957fd7cae1dc 100644 (file)
@@ -8,7 +8,7 @@ SRC_URI = "https://www.sudo.ws/dist/sudo-${PV}.tar.gz \
 
 PAM_SRC_URI = "file://sudo.pam"
 
-SRC_URI[sha256sum] = "6d6ee863a3bc26c87661093a74ec63e10fd031ceba714642d21636dfe25e3e00"
+SRC_URI[sha256sum] = "44a1461098e7c7b8e6ac597499c24fb2e43748c0c139a8b4944e57d1349a64f4"
 
 DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 RDEPENDS:${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}"