Source: pam-tmpdir
Version: 0.09
Severity: normal
Tags: patch
User: [email protected]
Usertags: dep17m2

We want to finalize the /usr-merge via DEP17 by moving all files to
/usr. pam-tmpdir installs files into /lib and /sbin; these should
be moved into the respective directories in /usr/

Please find a patch attached.  It has been build-tested and checked
by dumat.

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].

Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru pam-tmpdir-0.09/debian/changelog pam-tmpdir-0.09+nmu1/debian/changelog
--- pam-tmpdir-0.09/debian/changelog	2012-03-08 23:43:05.000000000 +0100
+++ pam-tmpdir-0.09+nmu1/debian/changelog	2024-01-21 11:34:38.000000000 +0100
@@ -1,3 +1,10 @@
+pam-tmpdir (0.09+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install into /usr (DEP17 M2) (Closes: #-1)
+
+ -- Chris Hofstaedtler <[email protected]>  Sun, 21 Jan 2024 11:34:38 +0100
+
 pam-tmpdir (0.09) unstable; urgency=low
 
   * Add README.Debian explaining a bit about how pam-tmpdir works.
diff -Nru pam-tmpdir-0.09/debian/lintian-overrides/libpam-tmpdir pam-tmpdir-0.09+nmu1/debian/lintian-overrides/libpam-tmpdir
--- pam-tmpdir-0.09/debian/lintian-overrides/libpam-tmpdir	2012-03-08 23:18:29.000000000 +0100
+++ pam-tmpdir-0.09+nmu1/debian/lintian-overrides/libpam-tmpdir	2024-01-21 11:34:38.000000000 +0100
@@ -1 +1 @@
-libpam-tmpdir: setuid-binary sbin/pam-tmpdir-helper 4755 root/root
+libpam-tmpdir: setuid-binary usr/sbin/pam-tmpdir-helper 4755 root/root
diff -Nru pam-tmpdir-0.09/debian/rules pam-tmpdir-0.09+nmu1/debian/rules
--- pam-tmpdir-0.09/debian/rules	2012-03-08 23:47:58.000000000 +0100
+++ pam-tmpdir-0.09+nmu1/debian/rules	2024-01-21 11:34:38.000000000 +0100
@@ -8,9 +8,9 @@
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- --exec-prefix=/ --with-pam-dir=/lib/$(DEB_HOST_MULTIARCH)/security 
+	dh_auto_configure -- --with-pam-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/security
 
 
 override_dh_fixperms:
 	dh_fixperms
-	chmod u+s debian/libpam-tmpdir/sbin/pam-tmpdir-helper
+	chmod u+s debian/libpam-tmpdir/usr/sbin/pam-tmpdir-helper
Binary files /tmp/z_IKIPNqq3/pam-tmpdir-0.09/.git/index and /tmp/wuIIZMaIcc/pam-tmpdir-0.09+nmu1/.git/index differ

Reply via email to