Source: dc3dd Severity: normal Tags: patch User: [email protected] Usertags: timestamps X-Debbugs-Cc: [email protected]
The date is embedded in /usr/share/man/man1/dc3dd.1.gz: https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/dc3dd.html .TH·DC3DD·"1"·"October·2022"·"dc3dd·7.2.646"·"User·Commands" vs. .TH·DC3DD·"1"·"November·2023"·"dc3dd·7.2.646"·"User·Commands" The attached patches fix this by adding help2man to Build-Depends and using the packaged version of help2man from Makefile.am. According to my local tests, with these patches applied dc3dd should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining dc3dd! live well, vagrant
From 0ff67d76e43a58719330b29cf6dc666c6c3adb48 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <[email protected]> Date: Fri, 14 Oct 2022 01:05:51 +0000 Subject: [PATCH 1/2] debian/control: Add help2man to Build-Depends. --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 389d0ef..417b1b4 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Maintainer: Debian Security Tools <[email protected]> Build-Depends: bison, debhelper-compat (= 13), gperf, + help2man, liblocale-gettext-perl Standards-Version: 4.6.0.1 Homepage: http://dc3dd.sf.net -- 2.37.2
From 00a23d1d0db3ab5f6abd7dbba6a6ae09a7f0e2ed Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <[email protected]> Date: Fri, 14 Oct 2022 01:06:25 +0000 Subject: [PATCH 2/2] man/Makefile.am: Use packaged help2man. The embedded copy of help2man is an old version lacking fixes to support reproducible timestamps. --- man/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/Makefile.am b/man/Makefile.am index 19b4841..3ba7c8b 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -51,7 +51,7 @@ mapped_name = `echo $*|sed 's/^install$$/ginstall/; s/^test$$/[/'` rm -rf $t; \ mkdir $t; \ (cd $t && $(LN_S) ../../src/$(mapped_name) $*); \ - $(PERL) -- $(srcdir)/help2man \ + help2man \ --source='$(PACKAGE_STRING)' \ --include=$(srcdir)/$*.x \ --output=$t/$@ $t/$*; \ -- 2.37.2
signature.asc
Description: PGP signature

