Control: tags 1089300 + patch
Control: tags 1089300 + pending


Dear maintainer,

I've prepared an NMU for checkinstall (versioned as 1.6.2+git20170426.d24a630-5.1) and uploaded it to DELAYED/7. Please feel free to tell me if I should delay it longer.

This package can probably come truly rootless if the upstream makefile could be convinced to not pass `-o root -g root` to `install`. A common trick here is to use `-o $(USER) -g $(GROUP)` and then have the Debian package substitute USER/GROUP with `id -u`/`id -g` (which is a noop but allowed) and then rely on `dh_fixperms` + `dh_builddeb` to build the package with the correct ownership. However, it is was not a minimal patch, so I skipped that for the NMU.

Regards.

diff -Nru checkinstall-1.6.2+git20170426.d24a630/debian/changelog checkinstall-1.6.2+git20170426.d24a630/debian/changelog --- checkinstall-1.6.2+git20170426.d24a630/debian/changelog 2024-09-11 05:24:44.000000000 +0000 +++ checkinstall-1.6.2+git20170426.d24a630/debian/changelog 2025-01-01 14:59:22.000000000 +0000
@@ -1,3 +1,13 @@
+checkinstall (1.6.2+git20170426.d24a630-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Make requirement for root when building the package explicit.
+    (Closes: #1089300)
+  * Pass `-n` to `gzip` to make compressed files easier to
+    reproduce.
+
+ -- Niels Thykier <[email protected]>  Wed, 01 Jan 2025 14:59:22 +0000
+
 checkinstall (1.6.2+git20170426.d24a630-5) unstable; urgency=medium
    [ Stephen Gelman ]
diff -Nru checkinstall-1.6.2+git20170426.d24a630/debian/control checkinstall-1.6.2+git20170426.d24a630/debian/control --- checkinstall-1.6.2+git20170426.d24a630/debian/control 2024-09-11 05:24:44.000000000 +0000 +++ checkinstall-1.6.2+git20170426.d24a630/debian/control 2025-01-01 14:59:22.000000000 +0000
@@ -9,6 +9,7 @@
                libc0.3 (>=2.10) [hurd-i386 hurd-amd64],
libc6-dev (>=2.10) [i386 amd64 armel hppa mips mipsel powerpc s390 sparc],
                libc6.1-dev (>=2.10) [alpha ia64]
+Rules-Requires-Root: binary-targets
 Standards-Version: 4.6.2
 Vcs-Git: https://salsa.debian.org/debian/checkinstall.git
 Vcs-Browser: https://salsa.debian.org/debian/checkinstall
diff -Nru checkinstall-1.6.2+git20170426.d24a630/debian/rules checkinstall-1.6.2+git20170426.d24a630/debian/rules --- checkinstall-1.6.2+git20170426.d24a630/debian/rules 2019-10-04 21:49:39.000000000 +0000 +++ checkinstall-1.6.2+git20170426.d24a630/debian/rules 2025-01-01 14:59:22.000000000 +0000
@@ -37,9 +37,9 @@
        # installwatch's documentation
        mkdir -p $(TMPDIR)/usr/share/doc/checkinstall
-       gzip -9c installwatch/CHANGELOG \
+       gzip -9nc installwatch/CHANGELOG \
                > $(TMPDIR)/usr/share/doc/checkinstall/installwatch.changelog.gz
-       gzip -9c debian/changelog.installwatch.old \
+       gzip -9nc debian/changelog.installwatch.old \
                > 
$(TMPDIR)/usr/share/doc/checkinstall/installwatch.changelog.Debian.gz
        cp installwatch/BUGS \
                $(TMPDIR)/usr/share/doc/checkinstall/BUGS.installwatch

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to