SHA256
1
0
forked from pool/pam

Accepting request 1037575 from Linux-PAM

OBS-URL: https://build.opensuse.org/request/show/1037575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=124
This commit is contained in:
Dominique Leuenberger 2022-12-06 13:22:41 +00:00 committed by Git OBS Bridge
commit cdda66e64b
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 22 15:24:12 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Move pam_env config files below /usr/etc
-------------------------------------------------------------------
Tue Oct 11 14:44:56 UTC 2022 - Stefan Schubert <schubi@suse.com>

View File

@ -260,7 +260,8 @@ install -D -m 644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.pam
install -Dm0644 %{SOURCE13} %{buildroot}%{_tmpfilesdir}/pam.conf
mkdir -p %{buildroot}%{_distconfdir}/security
mv %{buildroot}%{_sysconfdir}/security/{limits.conf,faillock.conf,group.conf} %{buildroot}%{_distconfdir}/security/
mv %{buildroot}%{_sysconfdir}/security/{limits.conf,faillock.conf,group.conf,pam_env.conf} %{buildroot}%{_distconfdir}/security/
mv %{buildroot}%{_sysconfdir}/environment %{buildroot}%{_distconfdir}/environment
# Remove manual pages for main package
%if !%{build_doc}
@ -330,12 +331,12 @@ done
%{_pam_vendordir}/other
%{_pam_vendordir}/common-*
%endif
%config(noreplace) %{_sysconfdir}/environment
%{_distconfdir}/environment
%config(noreplace) %{_pam_secconfdir}/access.conf
%{_distconfdir}/security/group.conf
%{_distconfdir}/security/faillock.conf
%{_distconfdir}/security/limits.conf
%config(noreplace) %{_pam_secconfdir}/pam_env.conf
%{_distconfdir}/security/pam_env.conf
%if %{enable_selinux}
%config(noreplace) %{_pam_secconfdir}/sepermit.conf
%endif