SHA256
1
0
forked from pool/pam

- Enable pam_canonicalize_user.so

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=293
This commit is contained in:
Thorsten Kukuk 2024-01-30 15:18:15 +00:00 committed by Git OBS Bridge
parent 4352831aa4
commit 238a7db197
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 30 15:17:57 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- Enable pam_canonicalize_user.so
-------------------------------------------------------------------
Fri Jan 19 09:11:30 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -294,13 +294,9 @@ mkdir -p -m 755 %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_distconfdir}/pam.d
%make_install
# XXX remove for now until we have a security review of the new module
rm -f %{buildroot}%{_libdir}/security/pam_canonicalize_user.so
/sbin/ldconfig -n %{buildroot}%{_libdir}
# Install documentation
%make_install -C doc
# XXX remove for now until we have a security review, see above
rm -f %{buildroot}%{_mandir}/man8/pam_canonicalize_user.8*
# install /etc/security/namespace.d used by pam_namespace.so for namespace.conf iscript
install -d %{buildroot}%{_pam_secconfdir}/namespace.d
# install other.pamd and common-*.pamd
@ -431,6 +427,7 @@ done
%{_libdir}/libpam_misc.so.%{libpam_misc_so_version}
%dir %{_pam_moduledir}
%{_pam_moduledir}/pam_access.so
%{_pam_moduledir}/pam_canonicalize_user.so
%{_pam_moduledir}/pam_debug.so
%{_pam_moduledir}/pam_deny.so
%{_pam_moduledir}/pam_echo.so
@ -532,6 +529,7 @@ done
%{_mandir}/man8/mkhomedir_helper.8%{?ext_man}
%{_mandir}/man8/pam.8%{?ext_man}
%{_mandir}/man8/pam_access.8%{?ext_man}
%{_mandir}/man8/pam_canonicalize_user.8%{?ext_man}
%{_mandir}/man8/pam_debug.8%{?ext_man}
%{_mandir}/man8/pam_deny.8%{?ext_man}
%{_mandir}/man8/pam_echo.8%{?ext_man}