Source: libpam-chroot
Version: 0.9-5.2
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. libpam-chroot 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 libpam-chroot-0.9/debian/changelog libpam-chroot-0.9/debian/changelog
--- libpam-chroot-0.9/debian/changelog  2023-09-29 12:44:34.000000000 +0200
+++ libpam-chroot-0.9/debian/changelog  2024-01-25 14:58:32.000000000 +0100
@@ -1,3 +1,10 @@
+libpam-chroot (0.9-5.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install PAM module into /usr/. (Closes: #-1)
+
+ -- Michael Biebl <bi...@debian.org>  Thu, 25 Jan 2024 14:58:32 +0100
+
 libpam-chroot (0.9-5.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libpam-chroot-0.9/debian/rules libpam-chroot-0.9/debian/rules
--- libpam-chroot-0.9/debian/rules      2023-09-29 12:44:34.000000000 +0200
+++ libpam-chroot-0.9/debian/rules      2024-01-25 14:58:24.000000000 +0100
@@ -31,9 +31,9 @@
        dh_testdir
        dh_testroot
        dh_installdirs
-       mkdir -p 
$(CURDIR)/debian/libpam-chroot/lib/$(DEB_HOST_MULTIARCH)/security
+       mkdir -p 
$(CURDIR)/debian/libpam-chroot/usr/lib/$(DEB_HOST_MULTIARCH)/security
        # Add here commands to install the package into debian/libpam-chroot
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/libpam-chroot 
LIBDIR=$(CURDIR)/debian/libpam-chroot/lib/$(DEB_HOST_MULTIARCH)/security 
INSTALL="install --strip-program=true"
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/libpam-chroot 
LIBDIR=$(CURDIR)/debian/libpam-chroot/usr/lib/$(DEB_HOST_MULTIARCH)/security 
INSTALL="install --strip-program=true"
 
 
 # Build architecture-independent files here.

Reply via email to