Bug#1061701: nss-pam-ldapd: install PAM and NSS modules into /usr

2024-06-01 Thread Arthur de Jong
On Wed, 2024-05-29 at 00:59 +0200, Chris Hofstaedtler wrote:
> Please make sure this patch reaches unstable well before the trixie
> transition freeze. Now would be a good time.

Thanks for the reminder. I've uploaded 0.9.12-6 which includes this
change.

-- 
-- arthur - adej...@debian.org - https://people.debian.org/~adejong --



signature.asc
Description: This is a digitally signed message part


Bug#1061701: nss-pam-ldapd: install PAM and NSS modules into /usr

2024-05-28 Thread Chris Hofstaedtler
Control: reopen -1
Control: severity -1 important

Hi,

On Sat, Feb 24, 2024 at 05:52:40PM +0100, Arthur de Jong wrote:
> On Sun, 2024-01-28 at 20:44 +0100, Michael Biebl wrote:
> > We want to finalize the /usr-merge via DEP17 by moving all files to
> > /usr. nss-pam-ldapd 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.
> 
> Thanks for your patch. I've uploaded version 0.9.12-5 to experimental
> which includes this change.

Please make sure this patch reaches unstable well before the trixie
transition freeze. Now would be a good time.

Chris



Bug#1061701: nss-pam-ldapd: install PAM and NSS modules into /usr

2024-02-24 Thread Arthur de Jong
On Sun, 2024-01-28 at 20:44 +0100, Michael Biebl wrote:
> We want to finalize the /usr-merge via DEP17 by moving all files to
> /usr. nss-pam-ldapd 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.

Thanks for your patch. I've uploaded version 0.9.12-5 to experimental
which includes this change.

Kind regards,


-- 
-- arthur - adej...@debian.org - https://people.debian.org/~adejong --



signature.asc
Description: This is a digitally signed message part


Bug#1061701: nss-pam-ldapd: install PAM and NSS modules into /usr

2024-01-28 Thread Michael Biebl
Source: nss-pam-ldapd
Version: 0.9.12-4
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. nss-pam-ldapd 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 nss-pam-ldapd-0.9.12/debian/changelog 
nss-pam-ldapd-0.9.12/debian/changelog
--- nss-pam-ldapd-0.9.12/debian/changelog   2023-04-29 15:11:54.0 
+0200
+++ nss-pam-ldapd-0.9.12/debian/changelog   2024-01-28 20:40:03.0 
+0100
@@ -1,3 +1,10 @@
+nss-pam-ldapd (0.9.12-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install PAM and NSS modules into /usr. (Closes: #-1)
+
+ -- Michael Biebl   Sun, 28 Jan 2024 20:40:03 +0100
+
 nss-pam-ldapd (0.9.12-4) unstable; urgency=medium
 
   * Auto-detect LDAP server host name instead of IP address (closes: #1023460)
diff -Nru nss-pam-ldapd-0.9.12/debian/libnss-ldapd.install 
nss-pam-ldapd-0.9.12/debian/libnss-ldapd.install
--- nss-pam-ldapd-0.9.12/debian/libnss-ldapd.install2023-04-29 
15:11:54.0 +0200
+++ nss-pam-ldapd-0.9.12/debian/libnss-ldapd.install2024-01-28 
20:39:06.0 +0100
@@ -1 +1 @@
-lib/*/libnss_ldap.so*
+usr/lib/*/libnss_ldap.so*
diff -Nru nss-pam-ldapd-0.9.12/debian/libpam-ldapd.install 
nss-pam-ldapd-0.9.12/debian/libpam-ldapd.install
--- nss-pam-ldapd-0.9.12/debian/libpam-ldapd.install2023-04-29 
15:11:54.0 +0200
+++ nss-pam-ldapd-0.9.12/debian/libpam-ldapd.install2024-01-28 
20:39:09.0 +0100
@@ -1,2 +1,2 @@
-lib/*/security/pam_ldap.so
+usr/lib/*/security/pam_ldap.so
 debian/pam-configs/ldap usr/share/pam-configs
diff -Nru nss-pam-ldapd-0.9.12/debian/rules nss-pam-ldapd-0.9.12/debian/rules
--- nss-pam-ldapd-0.9.12/debian/rules   2023-04-29 15:11:54.0 +0200
+++ nss-pam-ldapd-0.9.12/debian/rules   2024-01-28 20:38:59.0 +0100
@@ -14,8 +14,8 @@
 # pass extra flags to configure
 override_dh_auto_configure:
dh_auto_configure -- \
-   --libdir=/lib/$(DEB_HOST_MULTIARCH) \
-   --with-pam-seclib-dir=/lib/$(DEB_HOST_MULTIARCH)/security \
+   --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
+   
--with-pam-seclib-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/security \
--enable-warnings \
--enable-pynslcd \
PYTHON=python3