Control: tags 842550 pending On 2016-10-30, Reiner Herrmann wrote: > While working on the "reproducible builds" effort [1], we have noticed > that 'the' could not be built reproducibly. > The sorting of the md5sums file varies with different locales, and the > generated documentation contains build timestamps. > > The attached patch fixes this.
Upload an NMU to DELAYED/10 applying a variation of this patch: diff -Nru the-3.3~rc1/debian/changelog the-3.3~rc1/debian/changelog --- the-3.3~rc1/debian/changelog 2016-08-10 00:56:45.000000000 -0700 +++ the-3.3~rc1/debian/changelog 2022-10-06 15:12:42.000000000 -0700 @@ -1,3 +1,13 @@ +the (3.3~rc1-3.1) unstable; urgency=medium + + * Non-maintainer upload. + + [ Reiner Herrmann ] + * Generate reproducible documentation (Closes: #842550) + * Sort the md5sums file. (Closes: #842550) + + -- Vagrant Cascadian <vagr...@reproducible-builds.org> Thu, 06 Oct 2022 15:12:42 -0700 + the (3.3~rc1-3) unstable; urgency=low * Applied patches from Maria Valentina Marin <marival...@gmail.com> diff -Nru the-3.3~rc1/debian/md5_sums the-3.3~rc1/debian/md5_sums --- the-3.3~rc1/debian/md5_sums 2010-01-28 09:34:54.000000000 -0800 +++ the-3.3~rc1/debian/md5_sums 2022-10-06 15:12:42.000000000 -0700 @@ -7,7 +7,7 @@ for TMPDIR; do find debian/${TMPDIR}/* -type f ! -regex "^debian/${TMPDIR}/DEBIAN/.*" \ ! -regex "^debian/${TMPDIR}/etc/.*" | \ - sed s@debian/${TMPDIR}/@@g | sort > ${TMP_FILE} + sed s@debian/${TMPDIR}/@@g | LC_ALL=C sort > ${TMP_FILE} cd debian/${TMPDIR} xargs < ../../${TMP_FILE} md5sum > DEBIAN/md5sums cd ../../ diff -Nru the-3.3~rc1/debian/patches/generate-reproducible-documentation-clos.patch the-3.3~rc1/debian/patches/generate-reproducible-documentation-clos.patch --- the-3.3~rc1/debian/patches/generate-reproducible-documentation-clos.patch 1969-12-31 16:00:00.000000000 -0800 +++ the-3.3~rc1/debian/patches/generate-reproducible-documentation-clos.patch 2022-10-06 15:12:42.000000000 -0700 @@ -0,0 +1,40 @@ +From: Reiner Herrmann <rei...@reiner-h.de> +Date: Sun, 30 Oct 2016 12:47:53 +0100 +X-Dgit-Generated: 3.3~rc1-3.1 634e2b177616b31752934f174a55a6f70fe1f239 +Subject: Generate reproducible documentation (Closes: #842550) + +- Use fixed copyright year +- Don't embed generation timestamp + +--- + +diff --git a/man2html.rex b/man2html.rex +index 4505f8c..2ab6ae5 100644 +--- a/man2html.rex ++++ b/man2html.rex +@@ -1137,9 +1137,8 @@ Return + footing: Procedure Expose html_ext + Parse Arg src . + Say '<ADDRESS>' +-Say 'The Hessling Editor is Copyright © <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-'Left( Date('S'), 4 ) ++Say 'The Hessling Editor is Copyright © <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-2011' + Say '<<A HREF = "mailto:m...@rexx.org">m...@rexx.org</A>>' +-Say '<BR>Generated on:' Date() + Say '</ADDRESS><HR>' + If src \= 'TOC' Then Say 'Return to <A HREF = "index' || html_ext || '#TOC"> Table of Contents </A><BR>' + Say '</BODY> </HTML>' +diff --git a/man2hv.rex b/man2hv.rex +index 19bc63e..ad22752 100644 +--- a/man2hv.rex ++++ b/man2hv.rex +@@ -1228,9 +1228,8 @@ Return + footing: Procedure Expose html_ext ?port ?slash ?os + Parse Arg fn src . + Call Lineout fn, '<ADDRESS>' +-Call Lineout fn, 'The Hessling Editor is Copyright © <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-'Left( Date('S'), 4 ) ++Call Lineout fn, 'The Hessling Editor is Copyright © <A HREF = "http://www.rexx.org/">Mark Hessling</A>, 1990-2011' + Call Lineout fn, '<<A HREF = "mailto:m...@rexx.org">m...@rexx.org</A>>' +-Call Lineout fn, '<BR>Generated on:' Date() + Call Lineout fn, '</ADDRESS><HR>' + If src \= 'TOC' Then Call Lineout fn, 'Return to <A HREF = "../index' || html_ext || '#TOC"> Table of Contents </A><BR>' + Call Lineout fn, '</BODY> </HTML>' diff -Nru the-3.3~rc1/debian/patches/series the-3.3~rc1/debian/patches/series --- the-3.3~rc1/debian/patches/series 2012-06-30 08:20:52.000000000 -0700 +++ the-3.3~rc1/debian/patches/series 2022-10-06 15:12:42.000000000 -0700 @@ -1 +1,2 @@ az-patch-01 +generate-reproducible-documentation-clos.patch
signature.asc
Description: PGP signature