Source: pam-python Version: 1.1.0~git20220701.1d4e111-0.5 Severity: normal Tags: patch User: helm...@debian.org Usertags: dep17m2
We want to finalize the /usr-merge via DEP17 by moving all files to /usr. pam-python 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 1: this change includes moving the .so into a multiarch path which is recommended on Debian nowadays. Note 2: 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 pam-python-1.1.0~git20220701.1d4e111/debian/changelog pam-python-1.1.0~git20220701.1d4e111/debian/changelog --- pam-python-1.1.0~git20220701.1d4e111/debian/changelog 2024-02-07 08:07:10.000000000 +0100 +++ pam-python-1.1.0~git20220701.1d4e111/debian/changelog 2024-02-16 11:55:28.000000000 +0100 @@ -1,3 +1,10 @@ +pam-python (1.1.0~git20220701.1d4e111-0.6) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Install PAM module into multiarch path in /usr. (Closes: #-1) + + -- Michael Biebl <bi...@debian.org> Fri, 16 Feb 2024 11:55:28 +0100 + pam-python (1.1.0~git20220701.1d4e111-0.5) unstable; urgency=medium * debian/patches: diff -Nru pam-python-1.1.0~git20220701.1d4e111/debian/libpam-python.install pam-python-1.1.0~git20220701.1d4e111/debian/libpam-python.install --- pam-python-1.1.0~git20220701.1d4e111/debian/libpam-python.install 2022-10-23 01:00:22.000000000 +0200 +++ pam-python-1.1.0~git20220701.1d4e111/debian/libpam-python.install 2024-02-16 11:55:28.000000000 +0100 @@ -1 +1 @@ -lib/security/pam_python.so +usr/lib/*/security/pam_python.so diff -Nru pam-python-1.1.0~git20220701.1d4e111/debian/rules pam-python-1.1.0~git20220701.1d4e111/debian/rules --- pam-python-1.1.0~git20220701.1d4e111/debian/rules 2022-10-23 00:56:15.000000000 +0200 +++ pam-python-1.1.0~git20220701.1d4e111/debian/rules 2024-02-16 11:55:28.000000000 +0100 @@ -4,6 +4,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all +include /usr/share/dpkg/architecture.mk + +export LIBDIR = /usr/lib/$(DEB_HOST_MULTIARCH)/security + %: dh $@ --with python3 --system=pybuild