Package: sauce
Severity: minor
Tags: patch
X-Debbugs-Cc: ni...@thykier.net

Hi Ian

I had a look at sauce which is one of 50 packages in sid not using a
package helper such as `debhelper` and also does not support
`Rules-Requires-Root: no`.

Unfortunately, sauce uses static ownership via chown root:mail in `debian/rules`. The current `dpkg` packaging stack cannot assemble this package without (fake)root. Vanilla `debhelper` does not change the situation either as `dpkg-deb` is the limiting factor. While we hope that will change, there is no clear timeline for `dpkg-deb` obtaining the relevant feature set.

The attached patch is a minimal change that makes the requirement for (fake)root explicit.

Best regards,
Niels
diff -Nru sauce-0.9.2/debian/changelog sauce-0.9.2+nmu1/debian/changelog
--- sauce-0.9.2/debian/changelog        2023-05-14 18:50:33.000000000 +0200
+++ sauce-0.9.2+nmu1/debian/changelog   2024-11-07 12:50:28.000000000 +0100
@@ -1,3 +1,11 @@
+sauce (0.9.2+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Be explicit about the need for `fakeroot` for assembling the
+    binary packages via `Rules-Requires-Root: binary-targets`.
+
+ -- Niels Thykier <ni...@thykier.net>  Thu, 07 Nov 2024 11:50:28 +0000
+
 sauce (0.9.2) unstable; urgency=medium
 
   * debian/rules: Fix mode on /etc/logrotate.d/sauce.
diff -Nru sauce-0.9.2/debian/control sauce-0.9.2+nmu1/debian/control
--- sauce-0.9.2/debian/control  2023-05-14 18:50:33.000000000 +0200
+++ sauce-0.9.2+nmu1/debian/control     2024-11-07 12:50:23.000000000 +0100
@@ -2,6 +2,7 @@
 Section: mail
 Priority: extra
 Maintainer: Ian Jackson <ijack...@chiark.greenend.org.uk>
+Rules-Requires-Root: binary-targets
 Standards-Version: 3.7.3.0
 Build-Depends: tcl
 

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to