Control: tags 1089368 + patch
Control: tags 1089368 + pending


Dear maintainer,

I've prepared an NMU for libpam-ccreds (versioned as 10-10.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru libpam-ccreds-10/debian/changelog libpam-ccreds-10/debian/changelog
--- libpam-ccreds-10/debian/changelog   2024-06-21 05:36:38.000000000 +0000
+++ libpam-ccreds-10/debian/changelog   2024-12-31 10:30:13.000000000 +0000
@@ -1,3 +1,15 @@
+libpam-ccreds (10-10.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Make requirement for root when building the package explicit.
+    (Closes: #1089368)
+  * Reorder some logic in debian/rules to make it easier to make
+    the package rootless down the line. With these changes, it would
+    just need a patch to the upstream makefile and
+    `Rules-Requires-Root` set to `no`.
+
+ -- Niels Thykier <[email protected]>  Tue, 31 Dec 2024 10:30:13 +0000
+
 libpam-ccreds (10-10) unstable; urgency=medium
    * [cb3a76c] d/gbp.conf: Switch to more modern layout
diff -Nru libpam-ccreds-10/debian/control libpam-ccreds-10/debian/control
--- libpam-ccreds-10/debian/control     2024-06-21 05:34:34.000000000 +0000
+++ libpam-ccreds-10/debian/control     2024-12-31 10:30:13.000000000 +0000
@@ -7,6 +7,7 @@
  libdb-dev,
  libgcrypt20-dev,
  libpam0g-dev,
+Rules-Requires-Root: binary-targets
 Standards-Version: 4.6.2
 Homepage: https://github.com/PADL/pam_ccreds
 Vcs-Browser: https://salsa.debian.org/agx/libpam-ccreds
diff -Nru libpam-ccreds-10/debian/rules libpam-ccreds-10/debian/rules
--- libpam-ccreds-10/debian/rules       2024-06-20 06:17:42.000000000 +0000
+++ libpam-ccreds-10/debian/rules       2024-12-31 10:29:34.000000000 +0000
@@ -15,8 +15,6 @@
  override_dh_auto_install:
        dh_auto_install
-       chown root:root debian/libpam-ccreds/usr/sbin/ccreds_chkpwd
-       chmod 4755 debian/libpam-ccreds/usr/sbin/ccreds_chkpwd
        mkdir -p debian/libpam-ccreds/usr/share/pam-configs
        install -m 0644 debian/libpam-ccreds.pam-auth-update.ccreds-save \
@@ -24,6 +22,6 @@
        install -m 0644 debian/libpam-ccreds.pam-auth-update.ccreds-check \
                debian/libpam-ccreds/usr/share/pam-configs/ccreds-check
 -override_dh_fixperms:
-       dh_fixperms -X/usr/sbin/ccreds_chkpwd
+execute_after_dh_fixperms:
+       chmod 4755 debian/libpam-ccreds/usr/sbin/ccreds_chkpwd

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to