public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] sudo: Update to version 1.9.17
Date: Sun, 22 Jun 2025 20:21:41 +0200	[thread overview]
Message-ID: <20250622182141.2492458-1-adolf.belka@ipfire.org> (raw)

- Update from version 1.9.16p2 to 1.9.17
- Removed --with-ignore-dot as the setting is now on bt default. The --with-ignore-dot
   configure option has been deprecated so will eventually be removed. Therefore good
   to remove it now in preparation for the future.
- Update of rootfile
- Changelog
    1.9.17
            Sudo now uses the NODEV macro consistently. Bug #1074.
            Fixed a bug where the ALL command in a sudoers rule would override a
             previous NOSETENV tag. Command tags are inherited from previous Cmnds in
             a Cmnd_Spec_List. There is a special case for the SETENV tag with the ALL
             command, where SETENV is implied if no explicit SETENV or NOSETENV tag is
             specified. This special case did not take into account that a NOSETENV
             tag that was inherited should override this behavior.
            If sudo is run via ssh without a terminal and a password is required, it
             now suggest using ssh’s -t option.
            Fixed the display of timeout values in the sudo -V output on systems
             without a C99-compliant snprintf() function.
            Quieted a number of minor Coverity warnings.
            Fixed a problem running sudo from a serial console on Linux when the
             command is run in a pseudo-terminal (the default).
            Fixed a crash in sudo which could occur if there was a fatal error after
             the user was validated but before the command was actually run.
            Fixed a number of man page style warnings. The “lint” make target in the
             docs directory will now run groff with warnings enabled if it is
             available. Bug #1075.
            The ignore_dot sudoers setting is now on by default. There is now a
             --disable-ignore-dot configure option to disable it. The --with-ignore-dot
             configure option has been deprecated.
            Fixed a problem with the pwfeedback option where an initial backspace
             would reduce the maximum length allowed for the password. GitHub issue #439.
            Fixed minor grammar and spelling problems in the man pages.
            Fixed a bug where a user could avoid entering a password for sudo -l
             command if they specified their own user or group name via the -u or -g
             options.
            Avoid potential password guessing based on timing attacks on the strcmp()
             function on systems without PAM or a crypt() function where plaintext
             passwords are stored in the shadow password file.
            Fixed a potential information leak where sudo -l command could be used to
             determine whether an executable exists in a directory that they do not
             have search access to.
            Sudo uses TCSAFLUSH, not TCSADRAIN, when disabling echo once again. A long
             time ago sudo changed from using TCSAFLUSH to TCSADRAIN due to some
             systems having bugs related to TCSAFLUSH. That should no longer be a
             concern. Using TCSAFLUSH ensures that password input that has been
             received by the kernel, but not yet read by sudo, will be discarded and
             not echoed.
            Added the SUDO_TTY environment variable if the user has a terminal. This
             can be used to find the user’s original tty device when sudo runs the
             command in its own pseudo-terminal. GitHub issue #447.
            New Cantonese translation for sudo.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/sudo |  3 +++
 lfs/sudo                     | 26 ++++++++++++--------------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/config/rootfiles/common/sudo b/config/rootfiles/common/sudo
index 651a284e3..2e97d2c4f 100644
--- a/config/rootfiles/common/sudo
+++ b/config/rootfiles/common/sudo
@@ -115,6 +115,9 @@ usr/sbin/visudo
 #usr/share/locale/uk/LC_MESSAGES/sudoers.mo
 #usr/share/locale/vi/LC_MESSAGES/sudo.mo
 #usr/share/locale/vi/LC_MESSAGES/sudoers.mo
+#usr/share/locale/yue
+#usr/share/locale/yue/LC_MESSAGES
+#usr/share/locale/yue/LC_MESSAGES/sudo.mo
 #usr/share/locale/zh_CN/LC_MESSAGES/sudo.mo
 #usr/share/locale/zh_CN/LC_MESSAGES/sudoers.mo
 #usr/share/locale/zh_TW/LC_MESSAGES/sudo.mo
diff --git a/lfs/sudo b/lfs/sudo
index 852f6c8cf..51bf0ada0 100644
--- a/lfs/sudo
+++ b/lfs/sudo
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 1.9.16p2
+VER        = 1.9.17
 
 THISAPP    = sudo-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = ef9f1c2cd4044454a808d1dff5f865355e1bd061d1b5c93a005207e28e9b9df7c267cf01358ce60dd2c98f6844b51dab00eac4e7a08bade1d621235c3a4774bf
+$(DL_FILE)_BLAKE2 = d9f2e0d8bca5d5dba5f78a9c064454032038fa60dae022ce72dd0d262bc4bd756fcc5a8e5b0ab4e179c3786fc86a401f7f1ba6d45ca4fe02e43d5cacb1e7f022
 
 install : $(TARGET)
 
@@ -70,17 +70,15 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && \
-		./configure \
-			--prefix=/usr \
-			--libexecdir=/usr/lib \
-			--with-logging=syslog \
-			--with-logfac=authpriv \
-			--with-env-editor \
-			--with-ignore-dot \
-			--with-tty-tickets \
-			--with-passprompt="[sudo] password for %p: " \
-			--without-pam
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr \
+				--libexecdir=/usr/lib \
+				--with-logging=syslog \
+				--with-logfac=authpriv \
+				--with-env-editor \
+				--with-tty-tickets \
+				--with-passprompt="[sudo] password for %p: " \
+				--without-pam
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)
-- 
2.50.0



                 reply	other threads:[~2025-06-22 18:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250622182141.2492458-1-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox