Control: tags 1089298 + patch
Control: tags 1089298 + pending


Dear maintainer,

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

Regards.

diff -Nru bsdowl-2.2.2/debian/changelog bsdowl-2.2.2/debian/changelog
--- bsdowl-2.2.2/debian/changelog       2021-05-04 10:33:45.000000000 +0000
+++ bsdowl-2.2.2/debian/changelog       2025-01-02 18:11:11.000000000 +0000
@@ -1,3 +1,11 @@
+bsdowl (2.2.2-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove need for root when building the package.
+    (Closes: #1089298)
+
+ -- Niels Thykier <ni...@thykier.net>  Thu, 02 Jan 2025 18:11:11 +0000
+
 bsdowl (2.2.2-1.2) unstable; urgency=medium
    * Non-maintainer upload.
diff -Nru bsdowl-2.2.2/debian/control bsdowl-2.2.2/debian/control
--- bsdowl-2.2.2/debian/control 2014-12-04 09:20:59.000000000 +0000
+++ bsdowl-2.2.2/debian/control 2025-01-02 18:06:04.000000000 +0000
@@ -2,6 +2,7 @@
 Maintainer: Michael Grünewald <michip...@gmail.com>
 Section: devel
 Priority: optional
+Rules-Requires-Root: no
 Standards-Version: 3.9.5
 Build-Depends: debhelper (>= 9), bmake, graphicsmagick, gawk, m4
 Vcs-Git: git://github.com/michipili/bsdowl.git
diff -Nru bsdowl-2.2.2/debian/rules bsdowl-2.2.2/debian/rules
--- bsdowl-2.2.2/debian/rules   2021-05-04 10:19:59.000000000 +0000
+++ bsdowl-2.2.2/debian/rules   2025-01-02 18:11:11.000000000 +0000
@@ -3,6 +3,16 @@
 %:
        dh $@ -O--buildsystem=bmake
 +
+override_dh_auto_install:
+       # Upstream's Makefile checks if $$(DESTDIR)/$$(PREFIX) is writable
+       # by the current user and uses `su` when it is not. However, it
+       # fails to handle the case where the directory is non-existent
+       # and the current user is able to create it. So pre-create it
+       # to avoid triggering the `su` case.
+       mkdir -p debian/bsdowl/usr
+       dh_auto_install --buildsystem=bmake
+
 # debhelper's bmake.pm no longer inherits from autoconf, so for
 # auto_configure we have to pretend to use autoconf.
 # If you fix any problems here please tell the udfclient maintainer

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to