Your message dated Sat, 08 Aug 2015 07:34:18 +0000
with message-id <e1znye2-0007tx...@franck.debian.org>
and subject line Bug#783475: fixed in texi2html 1.82+dfsg1-4
has caused the Debian Bug report #783475,
regarding texi2html: [PATCH] Allow make the build of documentation reproducible
adding the use-date flag.
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.)
--
783475: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783475
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: texi2html
Version: 1.82+dfsg1
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Hi!
While working on the "reproducible builds" effort [1], we have noticed
that texi2html could not allow to built documentation reproducibly.
The attached patch adds the flag use-date that allows use the given string
for the date, instead the generated timestamps.
Once applied, we can build reproducibly the packages that use
texi2html for generate documentation in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Description: Add flag use-date
Allow make the build of documentation reproducible using the value given in
the command line for use instead of date timestamp.
Author: Juan Picca <jumap...@gmail.com>
Last-Update: 2015-04-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/texi2html.init
+++ b/texi2html.init
@@ -260,6 +260,10 @@ $MONOLITHIC = 1;
# the specified url are used as stylesheet links
@CSS_REFS = ();
+# -use-date
+# the specified string is used as date timestamp in generated files
+$USE_DATE = undef;
+
######################
# The following options are only relevant if $L2H is set
#
--- a/texi2html.pl
+++ b/texi2html.pl
@@ -261,6 +261,7 @@ $EXTERNAL_DIR
$IGNORE_PREAMBLE_TEXT
@CSS_FILES
@CSS_REFS
+$USE_DATE
$INLINE_CONTENTS
$INLINE_INSERTCOPYING
);
@@ -1910,6 +1911,8 @@ sub set_date()
}
$Texi2HTML::THISDOC{'today'} = $Texi2HTML::Config::DATE
if (defined($Texi2HTML::Config::DATE));
+ $Texi2HTML::THISDOC{'today'} = $Texi2HTML::Config::USE_DATE
+ if (defined($Texi2HTML::Config::USE_DATE));
$::things_map_ref->{'today'} = $Texi2HTML::THISDOC{'today'};
$::pre_map_ref->{'today'} = $Texi2HTML::THISDOC{'today'};
$::texi_map_ref->{'today'} = $Texi2HTML::THISDOC{'today'};
@@ -2600,6 +2603,13 @@ $T2H_OPTIONS -> {'css-ref'} =
verbose => 'generate reference to the CSS URL $s'
};
+$T2H_OPTIONS -> {'use-date'} =
+{
+ type => '=s',
+ linkage => \$Texi2HTML::Config::USE_DATE,
+ verbose => 'use given date in generation timestamps $s'
+};
+
$T2H_OPTIONS -> {'transliterate-file-names'} =
{
type => '!',
--- a/doc/texi2html.texi
+++ b/doc/texi2html.texi
@@ -853,6 +853,9 @@ This command line switch provides for th
to a Cascading Style Sheet (@acronym{CSS}) URL. More than one URL may be
specified (array @variable{@@CSS_REFS}).
+@item @longopt{use-date=@var{DATE}}
+This command line uses the given date in place of generated timestamps.
+
@item @longopt{html-xref-prefix=@var{path}}
This option sets the base directory for external @acronym{HTML} texinfo manuals
(variable @variable{$EXTERNAL_DIR}). Defaults to @samp{../}.
--- a/doc/texi2html.info
+++ b/doc/texi2html.info
@@ -700,6 +700,9 @@ Miscalleneous style changes may be achie
to a Cascading Style Sheet (CSS) URL. More than one URL may be
specified (array `@CSS_REFS').
+`--use-date=DATE'
+ This command line uses the given date in place of generated timestamps.
+
`--html-xref-prefix=PATH'
This option sets the base directory for external HTML texinfo
manuals (variable `$EXTERNAL_DIR'). Defaults to `../'.
--- End Message ---
--- Begin Message ---
Source: texi2html
Source-Version: 1.82+dfsg1-4
We believe that the bug you reported is fixed in the latest version of
texi2html, 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 783...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
akira <marival...@gmail.com> (supplier of updated texi2html 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: SHA256
Format: 1.8
Date: Sat, 08 Aug 2015 09:04:44 +0200
Source: texi2html
Binary: texi2html
Architecture: source all
Version: 1.82+dfsg1-4
Distribution: sid
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: akira <marival...@gmail.com>
Description:
texi2html - Convert Texinfo files to HTML
Closes: 783475
Changes:
texi2html (1.82+dfsg1-4) unstable; urgency=medium
.
* QA upload.
* Make texi2html produce reproducible output (Closes: #783475):
- Add patch: 03_add_build-date_param.patch to honour $SOURCE_DATE_EPOCH
and
command line option --build-date
- Add patch: 04_sort-perl-hash to sort hash values
Checksums-Sha1:
17259ef87056caf5ba9486eba468351935e0ee02 1782 texi2html_1.82+dfsg1-4.dsc
0157683a879afcfaa5add9832915a2834448efc8 4349557
texi2html_1.82+dfsg1.orig.tar.gz
368293f1da57840e879cb17cb7e9164ec8ec575c 7106 texi2html_1.82+dfsg1-4.diff.gz
13b9b7efb7947726185814cdf55f870dc5c41e36 356248 texi2html_1.82+dfsg1-4_all.deb
Checksums-Sha256:
d79557463df89f2564e78ff75ccce09894a8d07bfbefb6b84da266493bdb5f6b 1782
texi2html_1.82+dfsg1-4.dsc
7ac504504593f404162b53c3d822d0718aab30ca04ab54405940c4cb352f0f9b 4349557
texi2html_1.82+dfsg1.orig.tar.gz
527412286acd195a05d30084a7779533d4dd940d6387adb7c345fc76854fec44 7106
texi2html_1.82+dfsg1-4.diff.gz
86421004d0d1ca587b17989dba745f9e7a35eaecf7763bfaa66bbb99b0f22425 356248
texi2html_1.82+dfsg1-4_all.deb
Files:
f83aece657b7ec51a5f03380c163426d 1782 text optional texi2html_1.82+dfsg1-4.dsc
2b15ae6289cbcedd34b6855b5d536dc7 4349557 text optional
texi2html_1.82+dfsg1.orig.tar.gz
9fc257bd13b864b4559c655c7f25e0c8 7106 text optional
texi2html_1.82+dfsg1-4.diff.gz
cbdcd25ab2543d90edaf4661c55f3705 356248 text optional
texi2html_1.82+dfsg1-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVxa6RAAoJEPLLpcePvYPhBLYP/AvmOozgt0WYpbodP+nsBYv2
fBn6auadXjvK4DHau2mWrsahsnrEiQzLN61CbgQ3Lo785YpQUwab0u/DFwonrueZ
AkTk9iywXlksFNnZIYnkXa3EosvivmZv+MGJ0zMfMzoQ3im51XkWsI5VbL/LTjq9
fMgZvP1seHCvQgNNnuFyQaoHgvZ56uNbWhyrNapI9exWC9daFCUGNUst3C2Okw5M
W4YdxuXNYsFH5j/jaZtfmvKpm3+nZUVExpTkxFzpOfiYi78WSR66ul2VoRq5f5Os
1Gtgc7rO0k7NmiDoM69holrGuJ8xyLQsk655E0o6KxXh70F3m2Vy3dRBeFxwxaZb
GCT/mfGKZ8KaOB13NdpX10ZEmcJ2SgnwLLSYN7udFqAPcYWqfArpNurSmACw/6HJ
GcegF2/5tGs7azTgF2bzUshLWFRdLvMpXoppCeGVLXD6wh5rx8Vb4Q7KYsrgpk3k
5eGR17vvn/HLeopiOz8PwXxSY5byPWcRSnPB/y3vdq1oyLXXqxJj7+mjWSylAKPC
D9w4/rQFHXny37HMJN02TiQkk9ywqmsPc6iGUCzV0NhDD1vPgohJegG7Vpoi+6dc
cBI5r4OnsEfCcczfdShfC8SE1ckxEr6fSsJkYHsIBoiKVWtTTN5EFjeiXCB2l5i/
bNv2q9diOaKYSUOfUlA7
=B9xY
-----END PGP SIGNATURE-----
--- End Message ---