]> git.pld-linux.org Git - packages/pam.git/commitdiff
handle removed change_uid in 1.1.4
authorElan Ruusamäe <glen@delfi.ee>
Sun, 28 Oct 2012 10:05:28 +0000 (12:05 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 28 Oct 2012 10:05:28 +0000 (12:05 +0200)
fix to f25aba7e32c1a77ec632bb53836e5c00dcb59496 commit

pam.spec

index 6ba637a8a191ef69165ddaaf23b649489af251a7..f7699d0cd4c4513109e3da7dc16d07fe6975a16d 100644 (file)
--- 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`
This page took 0.162923 seconds and 4 git commands to generate.