Files
bpfire/lfs/sudo
Adolf Belka 68fe599aed sudo: Update to version 1.9.15p4
- Update from version 1.9.15p2 to 1.9.15p4
- Update of rootfile not required
- Changelog
    1.9.15p4
	 * Fixed a bug introduced in sudo 1.9.15 that could prevent a user's
	   privileges from being listed by "sudo -l" if the sudoers entry
	   in /etc/nsswitch.conf contains "[SUCCESS=return]".  This did not
	   affect the ability to run commands via sudo.  Bug #1063.
    1.9.15p3
	 * Always disable core dumps when sudo sends itself a fatal signal.
	   Fixes a problem where sudo could potentially dump core dump when
	   it re-sends the fatal signal to itself.  This is only an issue
	   if the command received a signal that would normally result in
	   a core dump but the command did not actually dump core.
	 * Fixed a bug matching a command with a relative path name when
	   the sudoers rule uses shell globbing rules for the path name.
	   Bug #1062.
	 * Permit visudo to be run even if the local host name is not set.
	   GitHub issue #332.
	 * Fixed an editing error introduced in sudo 1.9.15 that could
	   prevent sudoreplay from replaying sessions correctly.
	   GitHub issue #334.
	 * Fixed a bug introduced in sudo 1.9.15 where "sudo -l > /dev/null"
	   could hang on Linux systems.  GitHub issue #335.
	 * Fixed a bug introduced in sudo 1.9.15 where Solaris privileges
	   specified in sudoers were not applied to the command being run.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-12-30 07:23:56 +00:00

88 lines
3.4 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 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 #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.9.15p4
THISAPP = sudo-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 011d8ee099bfc16cff141dabffd0ce2befa7fdc834108759e9fdc3c2c11c3bca02eb0c410915394b1b3e3725fbb08544f98ffa584299dbce0db2b49234c0550a
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(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) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)