Source: nss-pam-ldapd Version: 0.9.12-4 Severity: normal Tags: patch User: [email protected] Usertags: dep17m2
We want to finalize the /usr-merge via DEP17 by moving all files to /usr. nss-pam-ldapd installs files into /lib; these should be moved into the respective canonical locations in /usr/. Please find a patch attached. It has been build-tested. Note: this should not be backported to bookworm. If you intend to backport, please use dh_movetousr instead. If your package will change for the t64 transition or otherwise rename/split/move its binaries (packages) during trixie, please then upload to experimental and get in touch with the UsrMerge driver, please see the wiki [1]. Michael [1] https://wiki.debian.org/UsrMerge
diff -Nru nss-pam-ldapd-0.9.12/debian/changelog nss-pam-ldapd-0.9.12/debian/changelog --- nss-pam-ldapd-0.9.12/debian/changelog 2023-04-29 15:11:54.000000000 +0200 +++ nss-pam-ldapd-0.9.12/debian/changelog 2024-01-28 20:40:03.000000000 +0100 @@ -1,3 +1,10 @@ +nss-pam-ldapd (0.9.12-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Install PAM and NSS modules into /usr. (Closes: #-1) + + -- Michael Biebl <[email protected]> Sun, 28 Jan 2024 20:40:03 +0100 + nss-pam-ldapd (0.9.12-4) unstable; urgency=medium * Auto-detect LDAP server host name instead of IP address (closes: #1023460) diff -Nru nss-pam-ldapd-0.9.12/debian/libnss-ldapd.install nss-pam-ldapd-0.9.12/debian/libnss-ldapd.install --- nss-pam-ldapd-0.9.12/debian/libnss-ldapd.install 2023-04-29 15:11:54.000000000 +0200 +++ nss-pam-ldapd-0.9.12/debian/libnss-ldapd.install 2024-01-28 20:39:06.000000000 +0100 @@ -1 +1 @@ -lib/*/libnss_ldap.so* +usr/lib/*/libnss_ldap.so* diff -Nru nss-pam-ldapd-0.9.12/debian/libpam-ldapd.install nss-pam-ldapd-0.9.12/debian/libpam-ldapd.install --- nss-pam-ldapd-0.9.12/debian/libpam-ldapd.install 2023-04-29 15:11:54.000000000 +0200 +++ nss-pam-ldapd-0.9.12/debian/libpam-ldapd.install 2024-01-28 20:39:09.000000000 +0100 @@ -1,2 +1,2 @@ -lib/*/security/pam_ldap.so +usr/lib/*/security/pam_ldap.so debian/pam-configs/ldap usr/share/pam-configs diff -Nru nss-pam-ldapd-0.9.12/debian/rules nss-pam-ldapd-0.9.12/debian/rules --- nss-pam-ldapd-0.9.12/debian/rules 2023-04-29 15:11:54.000000000 +0200 +++ nss-pam-ldapd-0.9.12/debian/rules 2024-01-28 20:38:59.000000000 +0100 @@ -14,8 +14,8 @@ # pass extra flags to configure override_dh_auto_configure: dh_auto_configure -- \ - --libdir=/lib/$(DEB_HOST_MULTIARCH) \ - --with-pam-seclib-dir=/lib/$(DEB_HOST_MULTIARCH)/security \ + --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ + --with-pam-seclib-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/security \ --enable-warnings \ --enable-pynslcd \ PYTHON=python3

