Add system-auth-default need for drakauth hack

This commit is contained in:
akdengi 2014-02-13 09:54:38 +04:00
parent 50a2285bb6
commit 52d751eb6f

View file

@ -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