From 52d751eb6f7ed10a24e17473eccf0d43514f7c67 Mon Sep 17 00:00:00 2001 From: akdengi Date: Thu, 13 Feb 2014 09:54:38 +0400 Subject: [PATCH] Add system-auth-default need for drakauth hack --- pam.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pam.spec b/pam.spec index eecddb0..b49e0eb 100644 --- a/pam.spec +++ b/pam.spec @@ -19,7 +19,7 @@ Epoch: 1 Summary: A security tool which provides authentication for applications Name: pam Version: 1.1.8 -Release: 1 +Release: 2 # The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant # as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+, License: BSD and GPLv2+ @@ -220,6 +220,9 @@ chmod u+s %{buildroot}/sbin/unix_chkpwd mkdir -p %{buildroot}%{_prefix}/lib/tmfiles.d/ install -m644 -D %{SOURCE13} %{buildroot}%{_prefix}/lib/tmpfiles.d/pam.conf +# For drakauth copy system-auth to system-auth-default +cp -f %{buildroot}/etc/pam.d/system-auth %{buildroot}/etc/pam.d/system-auth-default + %find_lang Linux-PAM %check @@ -267,6 +270,7 @@ fi %config(noreplace) /etc/environment %config /etc/pam.d/other %attr(0644,root,shadow) %config(noreplace) /etc/pam.d/system-auth +%attr(0644,root,shadow) %config(noreplace) /etc/pam.d/system-auth-default %config /etc/pam.d/config-util %config /etc/pam.d/postlogin /sbin/mkhomedir_helper