Your message dated Sun, 16 Oct 2022 23:17:56 +0000
with message-id <e1okcti-00ebk6...@fasolo.debian.org>
and subject line Bug#842550: fixed in the 3.3~rc1-3.1
has caused the Debian Bug report #842550,
regarding the: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
842550: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842550
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: the
Version: 3.3~rc1-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps locale
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi!

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.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/md5_sums b/debian/md5_sums
index a5dbdef..d6c42ba 100644
--- a/debian/md5_sums
+++ b/debian/md5_sums
@@ -7,7 +7,7 @@ TMP_FILE=./file-list
 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 --git a/debian/patches/reproducible-build b/debian/patches/reproducible-build
new file mode 100644
index 0000000..cafd111
--- /dev/null
+++ b/debian/patches/reproducible-build
@@ -0,0 +1,31 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: Generate reproducible documentation
+ - Use fixed copyright year
+ - Don't embed generation timestamp
+
+--- a/man2html.rex
++++ b/man2html.rex
+@@ -1137,9 +1137,8 @@
+ footing: Procedure Expose html_ext
+ Parse Arg src .
+ Say '<ADDRESS>'
+-Say 'The Hessling Editor is Copyright &copy; <A HREF = "http://www.rexx.org/";>Mark Hessling</A>, 1990-'Left( Date('S'), 4 )
++Say 'The Hessling Editor is Copyright &copy; <A HREF = "http://www.rexx.org/";>Mark Hessling</A>, 1990-2011'
+ Say '&lt;<A HREF = "mailto:m...@rexx.org">m...@rexx.org</A>&gt;'
+-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>'
+--- a/man2hv.rex
++++ b/man2hv.rex
+@@ -1228,9 +1228,8 @@
+ footing: Procedure Expose html_ext ?port ?slash ?os
+ Parse Arg fn src .
+ Call Lineout fn, '<ADDRESS>'
+-Call Lineout fn, 'The Hessling Editor is Copyright &copy; <A HREF = "http://www.rexx.org/";>Mark Hessling</A>, 1990-'Left( Date('S'), 4 )
++Call Lineout fn, 'The Hessling Editor is Copyright &copy; <A HREF = "http://www.rexx.org/";>Mark Hessling</A>, 1990-2011'
+ Call Lineout fn, '&lt;<A HREF = "mailto:m...@rexx.org">m...@rexx.org</A>&gt;'
+-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 --git a/debian/patches/series b/debian/patches/series
index 42fe636..7690bc9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 az-patch-01
+reproducible-build

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: the
Source-Version: 3.3~rc1-3.1
Done: Vagrant Cascadian <vagr...@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
the, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 842...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagr...@reproducible-builds.org> (supplier of updated the 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 06 Oct 2022 15:12:42 -0700
Source: the
Architecture: source
Version: 3.3~rc1-3.1
Distribution: unstable
Urgency: medium
Maintainer: Alen Zekulic <a...@nms.hr>
Changed-By: Vagrant Cascadian <vagr...@reproducible-builds.org>
Closes: 842550
Changes:
 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)
Checksums-Sha1:
 f98a31eed61fdeccd2ba563064378984927a254e 1336 the_3.3~rc1-3.1.dsc
 c4eb2f01b113ef1e872f9dcd5728a2713a03dc2c 12362 the_3.3~rc1-3.1.debian.tar.bz2
Checksums-Sha256:
 5796e41b98e48c3ecfde3fa7cc8515d9a023be47626fd46ffee964935c3e4d4e 1336 
the_3.3~rc1-3.1.dsc
 bf92542f42984dca8b3c0ca9c3990493c547debf1676ac758a278ddce62a9973 12362 
the_3.3~rc1-3.1.debian.tar.bz2
Files:
 c3f6d08ec542f4a8c5476ca4a33be4b3 1336 editors optional the_3.3~rc1-3.1.dsc
 88bbffa2b918259c88d04652f5605110 12362 editors optional 
the_3.3~rc1-3.1.debian.tar.bz2

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYz9UaSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqnLEAQDAyyn/UIB14s8z
1/ZiYr++SqcVxh65CVuZuGJ5P6hJhQEAsx7Aah/fLPZeNHLJWbtRjtT4XZJM9Bi6
Nk+3xyLtcgY=
=q53w
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to