Source: passwdqc
Version: 2.0.3-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: dep17m2

We want to finalize the /usr-merge via DEP17 by moving all files to
/usr. passwdqc 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 passwdqc-2.0.3/debian/changelog passwdqc-2.0.3/debian/changelog
--- passwdqc-2.0.3/debian/changelog     2023-06-27 06:45:41.000000000 +0200
+++ passwdqc-2.0.3/debian/changelog     2024-01-29 00:36:00.000000000 +0100
@@ -1,3 +1,10 @@
+passwdqc (2.0.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install PAM module into /usr. (Closes: #-1)
+
+ -- Michael Biebl <[email protected]>  Mon, 29 Jan 2024 00:36:00 +0100
+
 passwdqc (2.0.3-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru passwdqc-2.0.3/debian/libpam-passwdqc.install 
passwdqc-2.0.3/debian/libpam-passwdqc.install
--- passwdqc-2.0.3/debian/libpam-passwdqc.install       2020-03-24 
08:05:10.000000000 +0100
+++ passwdqc-2.0.3/debian/libpam-passwdqc.install       2024-01-29 
00:35:51.000000000 +0100
@@ -1,3 +1,3 @@
-lib/*/security/pam_passwdqc.so
+usr/lib/*/security/pam_passwdqc.so
 usr/share/man/man8
 debian/pam-configs/passwdqc usr/share/pam-configs
diff -Nru passwdqc-2.0.3/debian/rules passwdqc-2.0.3/debian/rules
--- passwdqc-2.0.3/debian/rules 2023-06-27 06:41:40.000000000 +0200
+++ passwdqc-2.0.3/debian/rules 2024-01-29 00:35:37.000000000 +0100
@@ -14,4 +14,4 @@
        dh_auto_build -- CFLAGS="-Wall -W $(CFLAGS) $(CPPFLAGS)" 
LDFLAGS="$(LDFLAGS)" LDFLAGS_shared_LINUX="--shared $(LDFLAGS)"
 
 override_dh_auto_install:
-       dh_auto_install -- SHARED_LIBDIR="$(LIBDIR)" SHARED_LIBDIR_REL="." 
DEVEL_LIBDIR="$(LIBDIR)" SECUREDIR="/lib/$(DEB_HOST_MULTIARCH)/security"
+       dh_auto_install -- SHARED_LIBDIR="$(LIBDIR)" SHARED_LIBDIR_REL="." 
DEVEL_LIBDIR="$(LIBDIR)" SECUREDIR="/usr/lib/$(DEB_HOST_MULTIARCH)/security"

Reply via email to