Control: tags 1089313 + patch
Control: tags 1089313 + pending

Dear maintainer,

I've prepared an NMU for dict-gcide (versioned as 0.48.5+nmu4) and
uploaded it to DELAYED/15. Please feel free to tell me if I
should delay it longer.
I noted the package was in the debian salsa group, so I imported the previous NMUs and added my own NMU to the git repo for you.

Best regards,
Niels

diff -Nru dict-gcide-0.48.5+nmu3/debian/changelog 
dict-gcide-0.48.5+nmu4/debian/changelog
--- dict-gcide-0.48.5+nmu3/debian/changelog     2024-08-05 10:02:31.000000000 
+0000
+++ dict-gcide-0.48.5+nmu4/debian/changelog     2024-12-17 05:33:31.000000000 
+0000
@@ -1,3 +1,10 @@
+dict-gcide (0.48.5+nmu4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Support building dict-gcide without root (Closes: #1089313)
+
+ -- Niels Thykier <ni...@thykier.net>  Tue, 17 Dec 2024 05:33:31 +0000
+
 dict-gcide (0.48.5+nmu3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru dict-gcide-0.48.5+nmu3/debian/control 
dict-gcide-0.48.5+nmu4/debian/control
--- dict-gcide-0.48.5+nmu3/debian/control       2024-08-05 10:02:31.000000000 
+0000
+++ dict-gcide-0.48.5+nmu4/debian/control       2024-12-17 05:29:21.000000000 
+0000
@@ -2,6 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: Ritesh Raj Sarraf <r...@debian.org>
+Rules-Requires-Root: no
 Standards-Version: 3.9.8
 Build-Depends: debhelper (>= 10), libmaa-dev
 Build-Depends-Indep: bison, dictzip, flex
diff -Nru dict-gcide-0.48.5+nmu3/debian/rules 
dict-gcide-0.48.5+nmu4/debian/rules
--- dict-gcide-0.48.5+nmu3/debian/rules 2024-08-05 10:02:31.000000000 +0000
+++ dict-gcide-0.48.5+nmu4/debian/rules 2024-12-17 05:29:48.000000000 +0000
@@ -47,9 +47,9 @@
 DICTDIR = debian/$(pkg1)/usr/share/dictd
 
 
-install_file= install -p -o root -g root -m 644
-install_program= install -p -o root -g root -m 755
-make_directory= install -d -o root -g root -m 755
+install_file= install -p -m 644
+install_program= install -p -m 755
+make_directory= install -d -m 755
 
 all build: stamp-build
 # Builds the binary package.
@@ -92,7 +92,6 @@
 
 stamp-binary-indep:
 # Makes a binary package.
-       @@test root = "`whoami`" || (echo need root privileges; exit 1)
        $(checkdir)
        test -f stamp-build  || $(MAKE) -f debian/rules build
        rm -rf               debian/$(pkg1) debian/tmp.deb
@@ -116,16 +115,12 @@
        $(install_file)      debian/copyright \
                             debian/$(pkg1)/usr/share/doc/$(pkg1)/copyright
        dpkg-gencontrol      -isp -p$(pkg1) -Pdebian/$(pkg1)
-       chown -R root:root   debian/$(pkg1)
        dh_md5sums
-       dpkg --build         debian/$(pkg1) ..
+       dpkg-deb --build --root-owner-group debian/$(pkg1) ..
 
        touch                stamp-binary-indep
 
 
-checkroot:
-       @@test root = "`whoami`" || (echo need root priviledges; exit 1)
-
 define checkdir
        test -f  webfmt.c -a -f debian/rules
 endef

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to