Control: tags 1089391 + patch
Control: tags 1089391 + pending


Dear maintainer,

I've prepared an NMU for mono (versioned as 6.12.0.199+dfsg-2.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru mono-6.12.0.199+dfsg/debian/changelog mono-6.12.0.199+dfsg/debian/changelog --- mono-6.12.0.199+dfsg/debian/changelog 2024-10-11 16:26:06.000000000 +0000 +++ mono-6.12.0.199+dfsg/debian/changelog 2025-01-02 18:55:51.000000000 +0000
@@ -1,3 +1,14 @@
+mono (6.12.0.199+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove need for root when building the package.
+    (Closes: #1089391)
+  * dh_makecliclibs: Use `reset_perm_and_owner` from `Dh_lib.pm`
+    such that it works correctly when building packages without
+    root.
+
+ -- Niels Thykier <ni...@thykier.net>  Thu, 02 Jan 2025 18:55:51 +0000
+
 mono (6.12.0.199+dfsg-2) unstable; urgency=medium
    * Drop the boringssl reliance on obsolete "pipes" Python library
diff -Nru mono-6.12.0.199+dfsg/debian/control mono-6.12.0.199+dfsg/debian/control
--- mono-6.12.0.199+dfsg/debian/control 2024-10-11 01:43:02.000000000 +0000
+++ mono-6.12.0.199+dfsg/debian/control 2025-01-02 18:55:51.000000000 +0000
@@ -18,6 +18,7 @@
        tzdata,
        cmake,
        zlib1g-dev
+Rules-Requires-Root: no
 Standards-Version: 4.0.1
 Homepage: http://www.mono-project.com/
 Vcs-Git: https://salsa.debian.org/dotnet-team/mono.git
diff -Nru mono-6.12.0.199+dfsg/debian/dh_makeclilibs mono-6.12.0.199+dfsg/debian/dh_makeclilibs --- mono-6.12.0.199+dfsg/debian/dh_makeclilibs 2024-09-03 12:31:04.000000000 +0000 +++ mono-6.12.0.199+dfsg/debian/dh_makeclilibs 2025-01-02 18:55:51.000000000 +0000
@@ -295,8 +295,7 @@
     close FIND;
      if (-e "$tmp/DEBIAN/clilibs") {
-        doit("chmod", 644,   "$tmp/DEBIAN/clilibs");
-        doit("chown", "0:0", "$tmp/DEBIAN/clilibs");
+        reset_perm_and_owner(0644,  "$tmp/DEBIAN/clilibs");
complex_doit("LC_ALL=C sort $tmp/DEBIAN/clilibs -o $tmp/DEBIAN/clilibs");
     }
 }
diff -Nru mono-6.12.0.199+dfsg/debian/rules mono-6.12.0.199+dfsg/debian/rules
--- mono-6.12.0.199+dfsg/debian/rules   2024-10-11 01:43:02.000000000 +0000
+++ mono-6.12.0.199+dfsg/debian/rules   2025-01-02 18:55:51.000000000 +0000
@@ -396,7 +396,7 @@
        
        cd debian/detector && \
install -D -m 755 binfmt-detector-cli $(CURDIR)/debian/mono-runtime/usr/lib/cli/binfmt-detector-cli
-       install -D -m 644 -o root -g root debian/cli.binfmt \
+       install -D -m 644 debian/cli.binfmt \
          debian/mono-runtime/usr/share/binfmts/cli
        dh_install -s

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to