From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bQKL40y2xz333k for ; Sun, 22 Jun 2025 18:21:48 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bQKL04QTRz2y9H for ; Sun, 22 Jun 2025 18:21:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (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) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4bQKKz3WfWzZd; Sun, 22 Jun 2025 18:21:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1750616503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SHstjMkJhFEG2kZ6CnkPmf0QHt58jIypBo41Jc19wRk=; b=elFhH4dI6NmPMZxVxraMETzUGs2jpX06bZrizBqSsji3auhLxN6S6klmeiErM+V1nq+p2a lvOTgvfocKtNSfAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1750616503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SHstjMkJhFEG2kZ6CnkPmf0QHt58jIypBo41Jc19wRk=; b=GqALSfu4GGTy8cf2ndE0wW2UBN8YbBd8JJleY/cn9qOhg84QDHELi4R3ss0PFHdHDet7Tc CErofv93bw+Dc+KA8BD0r8qAqXsFf/CnStp1IZvFiEkvRLoMP60Ai9Peg8Dnb37UH5TodQ f2H16GVQSIQh+TGWbII1rdKR8nD1xfnwalyvNygUPa+0X7GsazmDZAajRsHDl4UtW+B4ZD be0nCwHjFMsu4dw4YwXbClr5oIeYLChH1oxeEweSwVFMcya7fXa8tWZEiMUfZ9D/Jv6g23 h16y+IMALL4A7OS34ND78rIIS0txWU+OqYiDWZSWJGKsipwqYxRWhvnQ6gQfMg== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] sudo: Update to version 1.9.17 Date: Sun, 22 Jun 2025 20:21:41 +0200 Message-ID: <20250622182141.2492458-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- 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 # +# Copyright (C) 2007-2025 IPFire Team # # # # 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