From d59ee3f1e184251a189a6832b664d87c56960c9bd8cce4306428622d174c4e8c Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 1 Jun 2022 11:43:49 +0000 Subject: [PATCH] - Move PAM config files from /usr/etc/pam.d to /usr/lib/pam.d OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=260 --- macros.pam | 2 +- pam.changes | 5 +++++ pam.spec | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/macros.pam b/macros.pam index fdffe5d..d33ba56 100644 --- a/macros.pam +++ b/macros.pam @@ -2,6 +2,6 @@ %_pam_moduledir %{_libdir}/security %_pam_secconfdir %{_sysconfdir}/security %_pam_confdir %{_sysconfdir}/pam.d -%_pam_vendordir %{_distconfdir}/pam.d +%_pam_vendordir %{_libdir}/pam.d # legacy, to be retired %_pamdir %{_pam_moduledir} diff --git a/pam.changes b/pam.changes index 2a2c654..b3ffb4d 100644 --- a/pam.changes +++ b/pam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 1 11:43:22 UTC 2022 - Thorsten Kukuk + +- Move PAM config files from /usr/etc/pam.d to /usr/lib/pam.d + ------------------------------------------------------------------- Fri Mar 11 11:25:35 UTC 2022 - Thorsten Kukuk diff --git a/pam.spec b/pam.spec index 6f5d2a4..1f21bf7 100644 --- a/pam.spec +++ b/pam.spec @@ -253,7 +253,7 @@ install -D -m 644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.pam # /run/motd.d install -Dm0644 %{SOURCE13} %{buildroot}%{_tmpfilesdir}/pam.conf -mkdir %{buildroot}%{_distconfdir}/security +mkdir -p %{buildroot}%{_distconfdir}/security mv %{buildroot}%{_sysconfdir}/security/{limits.conf,faillock.conf,group.conf} %{buildroot}%{_distconfdir}/security/ # Remove manual pages for main package