Source: oath-toolkit
Version: 2.6.11-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. oath-toolkit 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 oath-toolkit-2.6.11/debian/changelog 
oath-toolkit-2.6.11/debian/changelog
--- oath-toolkit-2.6.11/debian/changelog        2024-01-11 09:27:56.000000000 
+0100
+++ oath-toolkit-2.6.11/debian/changelog        2024-01-29 00:30:56.000000000 
+0100
@@ -1,3 +1,10 @@
+oath-toolkit (2.6.11-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install PAM module into /usr. (Closes: #-1)
+
+ -- Michael Biebl <[email protected]>  Mon, 29 Jan 2024 00:30:56 +0100
+
 oath-toolkit (2.6.11-1) unstable; urgency=medium
 
   * New upstream version 2.6.11
diff -Nru oath-toolkit-2.6.11/debian/libpam-oath.install 
oath-toolkit-2.6.11/debian/libpam-oath.install
--- oath-toolkit-2.6.11/debian/libpam-oath.install      2024-01-11 
09:15:28.000000000 +0100
+++ oath-toolkit-2.6.11/debian/libpam-oath.install      2024-01-29 
00:30:49.000000000 +0100
@@ -1 +1 @@
-lib/*/security/pam_oath.so
+usr/lib/*/security/pam_oath.so
diff -Nru oath-toolkit-2.6.11/debian/rules oath-toolkit-2.6.11/debian/rules
--- oath-toolkit-2.6.11/debian/rules    2024-01-11 09:15:28.000000000 +0100
+++ oath-toolkit-2.6.11/debian/rules    2024-01-29 00:30:34.000000000 +0100
@@ -16,7 +16,7 @@
        dh_auto_configure -- \
                --disable-rpath \
                --disable-gtk-doc \
-               --with-pam-dir=/lib/$(DEB_HOST_MULTIARCH)/security
+               --with-pam-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/security
 
 override_dh_auto_install:
        dh_auto_install

Reply via email to