[packages/pam] handle removed change_uid in 1.1.4

glen glen at pld-linux.org
Sun Oct 28 11:06:05 CET 2012


commit f1a6863dd23c3eb17e59660bebc015c50d4deca1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 28 12:05:28 2012 +0200

    handle removed change_uid in 1.1.4
    
    fix to f25aba7e32c1a77ec632bb53836e5c00dcb59496 commit

 pam.spec | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pam.spec b/pam.spec
index 6ba637a..f7699d0 100644
--- a/pam.spec
+++ b/pam.spec
@@ -17,7 +17,7 @@ Summary(tr.UTF-8):	Modüler, artımsal doğrulama birimleri
 Summary(uk.UTF-8):	Інструмент, що забезпечує аутентифікацію для програм
 Name:		pam
 Version:	1.1.5
-Release:	7
+Release:	8
 Epoch:		1
 License:	GPL or BSD
 Group:		Base
@@ -379,7 +379,12 @@ if [ "$1" != 1 ]; then
 fi
 exit 0
 
-%triggerpostun -- %{name} < 1:1.1.5-5
+%triggerpostun -- %{name} < 1:1.1.5-8
+# removed in 1.1.4
+if grep -qs change_uid /etc/pam.d/system-auth; then
+	%{__sed} -i -e '/session/ s/change_uid//' /etc/pam.d/system-auth
+fi
+
 # We want it added for painless upgarde even if it mean log pollution for non-systemd
 # enabled systems,
 # If this module is not present on systemd enabled system then `systemctl restart sshd.service`
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pam.git/commitdiff/f1a6863dd23c3eb17e59660bebc015c50d4deca1



More information about the pld-cvs-commit mailing list