Control: tags 1089413 + patch
Control: tags 1089413 + pending


Dear maintainer,

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

As noted in #1091987, the rebuild causes physlock to drop its libsystemd0 dependency. As concluded in that bug, this is unrelated to the NMU. The NMU is just the first rebuild that triggered. This part really warrants a maintainer review.

Regards.

diff -Nru physlock-13/debian/changelog physlock-13/debian/changelog
--- physlock-13/debian/changelog        2019-01-28 20:42:45.000000000 +0000
+++ physlock-13/debian/changelog        2024-12-31 12:47:04.000000000 +0000
@@ -1,3 +1,15 @@
+physlock (13-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Make requirement for root when building the package explicit.
+    (Closes: #1089413)
+  * Reorder some code in debian/rules to make it easier to support
+    rootless builds correctly in a later version. With this change,
+    only upstream makefile will need a patch followed by setting
+    `Rules-Requires-Root` to `no`.
+
+ -- Niels Thykier <[email protected]>  Tue, 31 Dec 2024 12:47:04 +0000
+
 physlock (13-1) unstable; urgency=medium
    * [5ed3be0] New upstream version 12 (was not uploaded to Debian yet
diff -Nru physlock-13/debian/control physlock-13/debian/control
--- physlock-13/debian/control  2019-01-28 20:42:18.000000000 +0000
+++ physlock-13/debian/control  2024-12-31 12:45:12.000000000 +0000
@@ -6,6 +6,7 @@
  debhelper (>= 10),
  libpam0g-dev,
  libsystemd-dev,
+Rules-Requires-Root: binary-targets
 Standards-Version: 4.3.0
 Homepage: https://github.com/muennich/physlock
 Vcs-git: https://salsa.debian.org/mika/physlock.git
diff -Nru physlock-13/debian/rules physlock-13/debian/rules
--- physlock-13/debian/rules    2017-08-17 12:04:45.000000000 +0000
+++ physlock-13/debian/rules    2024-12-31 12:45:47.000000000 +0000
@@ -12,8 +12,8 @@
 # set appropriate PREFIX
 override_dh_auto_install:
        make PREFIX=$(shell pwd)/debian/physlock/usr install
+
+
+execute_after_dh_fixperms:
        # ensure setuid bit is enabled
        chmod u+s $(shell pwd)/debian/physlock/usr/bin/physlock
-
-override_dh_fixperms:
-       dh_fixperms --exclude /usr/bin/physlock

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to