[packages/sudo] up to 1.8.21; tty_tickets has been superceded by the timestamp_type option.

glen glen at pld-linux.org
Sat Aug 26 12:14:36 CEST 2017


commit 926d4d83b21c9f68e8193de5f320188c4458ea9c
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Aug 26 11:34:02 2017 +0300

    up to 1.8.21; tty_tickets has been superceded by the timestamp_type option.
    
     * A new "timestamp_type" sudoers setting has been added that replaces
       the "tty_tickets" option.  In addition to tty and global time stamp
       records, it is now possible to use the parent process ID to restrict
       the time stamp to commands run by the same process, usually the
       shell.
    
    https://bugzilla.sudo.ws/show_bug.cgi?id=793
    https://www.sudo.ws/repos/sudo/rev/426161a2e06f

 sudo.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/sudo.spec b/sudo.spec
index 61d2300..972d095 100644
--- a/sudo.spec
+++ b/sudo.spec
@@ -28,13 +28,13 @@ Summary(ru.UTF-8):	Позволяет определенным пользова
 Summary(uk.UTF-8):	Дозволяє вказаним користувачам виконувати команди від імені root
 Name:		sudo
 # please see doc/UPGRADE for important changes each time updating sudo
-Version:	1.8.20p2
+Version:	1.8.21
 Release:	1
 Epoch:		1
 License:	BSD
 Group:		Applications/System
 Source0:	ftp://ftp.sudo.ws/pub/sudo/%{name}-%{version}.tar.gz
-# Source0-md5:	03da8e711caca6fd93e57751bfb74adc
+# Source0-md5:	9dd537cd2284e7078a407bce6ad0434b
 Source1:	%{name}.pamd
 Source2:	%{name}-i.pamd
 Patch0:		%{name}-env.patch
@@ -226,6 +226,8 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{sudoers.d,pam.d},%{_mandir}/man8} \
 	sudoers_gid=$(id -g) \
 	shlib_mode="0755"
 
+%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/sudoers.dist
+
 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/sudo
 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/sudo-i
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sudo.git/commitdiff/926d4d83b21c9f68e8193de5f320188c4458ea9c



More information about the pld-cvs-commit mailing list