14 |
Summary: A security tool which provides authentication for applications |
Summary: A security tool which provides authentication for applications |
15 |
Name: pam |
Name: pam |
16 |
Version: 1.1.6 |
Version: 1.1.6 |
17 |
Release: %mkrel 4 |
Release: %mkrel 5 |
18 |
# The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant |
# The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant |
19 |
# as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+, |
# as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+, |
20 |
License: BSD and GPLv2+ |
License: BSD and GPLv2+ |
66 |
Source501: pam_tty_audit.8 |
Source501: pam_tty_audit.8 |
67 |
Source502: README |
Source502: README |
68 |
Requires(pre): filesystem >= 2.1.9-18 |
Requires(pre): filesystem >= 2.1.9-18 |
69 |
|
Requires(post): systemd >= %{systemd_required_version} |
70 |
Requires: cracklib-dicts |
Requires: cracklib-dicts |
71 |
Requires: setup >= 2.7.12-2 |
Requires: setup >= 2.7.12-2 |
72 |
Requires: pam_tcb >= 1.0.2-16 |
Requires: pam_tcb >= 1.0.2-16 |
210 |
install -m 644 %{SOURCE9} %{SOURCE10} %{buildroot}%{_mandir}/man5/ |
install -m 644 %{SOURCE9} %{SOURCE10} %{buildroot}%{_mandir}/man5/ |
211 |
|
|
212 |
# Install tmpfiles |
# Install tmpfiles |
213 |
mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d |
install -D -p -m 644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}/%{name}.conf |
|
install -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf |
|
214 |
|
|
215 |
# remove unpackaged .la files |
# remove unpackaged .la files |
216 |
rm -rf %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/security/*.la |
rm -rf %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/security/*.la |
249 |
rmdir %{buildroot}/var/run/console |
rmdir %{buildroot}/var/run/console |
250 |
|
|
251 |
%post |
%post |
252 |
%{_bindir}/systemd-tmpfiles --create %{name}.conf |
%_tmpfilescreate %{name} |
253 |
|
|
254 |
%posttrans |
%posttrans |
255 |
# (cg) Ensure that the pam_systemd.so is included for user ACLs under systemd |
# (cg) Ensure that the pam_systemd.so is included for user ACLs under systemd |
280 |
%{_sbindir}/unix_chkpwd |
%{_sbindir}/unix_chkpwd |
281 |
%{_sbindir}/unix_update |
%{_sbindir}/unix_update |
282 |
%attr(4755,root,root) %{_sbindir}/pam_timestamp_check |
%attr(4755,root,root) %{_sbindir}/pam_timestamp_check |
283 |
%{_prefix}/lib/tmpfiles.d/%{name}.conf |
%{_tmpfilesdir}/%{name}.conf |
284 |
%config(noreplace) %{_sysconfdir}/security/access.conf |
%config(noreplace) %{_sysconfdir}/security/access.conf |
285 |
%config(noreplace) %{_sysconfdir}/security/chroot.conf |
%config(noreplace) %{_sysconfdir}/security/chroot.conf |
286 |
%config(noreplace) %{_sysconfdir}/security/console.perms |
%config(noreplace) %{_sysconfdir}/security/console.perms |