Source: libpam-encfs
Version: 0.1.4.4-15
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-encfs 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-encfs-0.1.4.4/debian/changelog 
libpam-encfs-0.1.4.4/debian/changelog
--- libpam-encfs-0.1.4.4/debian/changelog       2023-01-19 18:43:33.000000000 
+0100
+++ libpam-encfs-0.1.4.4/debian/changelog       2024-01-25 23:37:36.000000000 
+0100
@@ -1,3 +1,10 @@
+libpam-encfs (0.1.4.4-15.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install PAM module into /usr. (Closes: #-1)
+
+ -- Michael Biebl <bi...@debian.org>  Thu, 25 Jan 2024 23:37:36 +0100
+
 libpam-encfs (0.1.4.4-15) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru libpam-encfs-0.1.4.4/debian/patches/03_install_into_usr.patch 
libpam-encfs-0.1.4.4/debian/patches/03_install_into_usr.patch
--- libpam-encfs-0.1.4.4/debian/patches/03_install_into_usr.patch       
1970-01-01 01:00:00.000000000 +0100
+++ libpam-encfs-0.1.4.4/debian/patches/03_install_into_usr.patch       
2024-01-25 23:37:34.000000000 +0100
@@ -0,0 +1,10 @@
+Index: libpam-encfs-0.1.4.4/Makefile
+===================================================================
+--- libpam-encfs-0.1.4.4.orig/Makefile 2024-01-25 23:36:19.000000000 +0100
++++ libpam-encfs-0.1.4.4/Makefile      2024-01-25 23:37:32.673299975 +0100
+@@ -1,4 +1,4 @@
+-PAM_LIB_DIR = $(DESTDIR)/lib/$(DEB_HOST_MULTIARCH)/security
++PAM_LIB_DIR = $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/security
+ CC = gcc
+ LD = ld
+ INSTALL = /usr/bin/install
diff -Nru libpam-encfs-0.1.4.4/debian/patches/series 
libpam-encfs-0.1.4.4/debian/patches/series
--- libpam-encfs-0.1.4.4/debian/patches/series  2021-02-24 23:08:46.000000000 
+0100
+++ libpam-encfs-0.1.4.4/debian/patches/series  2024-01-25 23:37:20.000000000 
+0100
@@ -1,2 +1,3 @@
 01_pam_encfs.c_hint-console-login-on-error.patch
 02_Makefile_Debian-build-stuff.diff
+03_install_into_usr.patch

Reply via email to