Package: a2ps Severity: normal Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org The embedded copy of help2man that a2ps uses to generate manpages is an old version that does not support SOURCE_DATE_EPOCH, and thus embeds timestamps in generated manpages. The attached patch adds help2man to build-depends and patches various Makefiles to use the system help2man binary, which supports SOURCE_DATE_EPOCH. Thanks for maintaining a2ps! live well, vagrant
From 3dd10ad40c8d8d4af9d8c0e3c749dde69d620a57 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagrant@reproducible-builds.org> Date: Tue, 29 Dec 2020 07:34:39 +0000 Subject: [PATCH 2/6] man/Makefile.*: Patch to use the system help2man. The embedded copy of help2man embeds the build time. https://tests.reproducible-builds.org/debian/issues/bullseye/timestamps_in_manpages_generated_by_help2man_issue.html --- man/Makefile.am | 2 +- man/Makefile.in | 2 +- man/Makefile.maint | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/Makefile.am b/man/Makefile.am index 9d79cc8..25f8a3d 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -9,7 +9,7 @@ texi2dvi4a2ps.1: $(top_srcdir)/contrib/texi2dvi4a2ps EXTRA_DIST = $(man_MANS) $(HELP2MAN) $(man_aux) \ Makefile.maint GNUmakefile common.x PERL = @PERL@ -HELP2MAN = help2man +HELP2MAN = /usr/bin/help2man MAINTAINERCLEANFILES = $(man_MANS) # For additional rules usually of interest only to the maintainer, diff --git a/man/Makefile.in b/man/Makefile.in index 7376a84..13be4dc 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -260,7 +260,7 @@ irregular_men = a2ps.1 texi2dvi4a2ps.1 EXTRA_DIST = $(man_MANS) $(HELP2MAN) $(man_aux) \ Makefile.maint GNUmakefile common.x -HELP2MAN = help2man +HELP2MAN = /usr/bin/help2man MAINTAINERCLEANFILES = $(man_MANS) all: all-am diff --git a/man/Makefile.maint b/man/Makefile.maint index c38b54c..6183cd8 100644 --- a/man/Makefile.maint +++ b/man/Makefile.maint @@ -1,7 +1,7 @@ # This -*- Makefile -*- uses features of GNU make. # It is included via GNUmakefile. -HELP2MAN-run = $(PERL) -w -- $(srcdir)/$(HELP2MAN) +HELP2MAN-run = /usr/bin/help2man # Depend on configure.in to get version number changes. $(man_MANS): $(top_srcdir)/configure.in common.x -- 2.20.1
From 2e278271f550ddc237b77b41626f7f73a8dca3c8 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagrant@reproducible-builds.org> Date: Tue, 29 Dec 2020 07:36:26 +0000 Subject: [PATCH 3/6] debian/control: Add help2man to Build-Depends. --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 7ebb0b4..74edb74 100644 --- a/debian/control +++ b/debian/control @@ -15,6 +15,7 @@ Build-Depends: autotools-dev, graphicsmagick-imagemagick-compat, groff-base, gv, + help2man, html2ps, libpaper-dev, lpr, -- 2.20.1
Attachment:
signature.asc
Description: PGP signature