[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#961764: marked as done (texi2html: texi2html embeds User and Date information in generated .html files)



Your message dated Mon, 16 Nov 2020 03:18:28 +0000
with message-id <E1keV2C-0004uV-Vv@fasolo.debian.org>
and subject line Bug#961764: fixed in texi2html 1.82+dfsg1-6
has caused the Debian Bug report #961764,
regarding texi2html: texi2html embeds User and Date information in generated .html files
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 owner@bugs.debian.org
immediately.)


-- 
961764: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961764
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texi2html
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain timestamps username
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Files generated by texi2html often embed the build user and build date.

The attached patch removes the code which embeds the build date and
build user in order to achieve reproducible builds for the texi2html
package itself, as well as several other packages identified by the
reproducible builds project:

  https://tests.reproducible-builds.org/debian/issues/unstable/texi2html_captures_users_gecos_issue.html

Maybe additional packages would benefit from this patch as well.


Unfortunately, texi2html appears dead upstream, so I'm not sure there's
anywhere to forward this patch to.


live well,
  vagrant

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 29 May 2020 00:27:27 +0000
X-Dgit-Generated: 1.82+dfsg1-5 990d56af9f181e30e6a2315766afed1040a6ca7b
Subject: Strip out user and date from generated documentation to ensure

reproducible builds.

---

--- texi2html-1.82+dfsg1.orig/texi2html.init
+++ texi2html-1.82+dfsg1/texi2html.init
@@ -1325,25 +1325,6 @@ EOT
 
 sub T2H_DEFAULT_program_string()
 {
-    my $user = $Texi2HTML::THISDOC{'user'};
-    my $date = $Texi2HTML::THISDOC{'today'};
-    $user = '' if (!defined($user));
-    $date = '' if (!defined($date));
-    if (($user ne '') and ($date ne ''))
-    {
-        return  &$I('This document was generated by @emph{%{user}} on @emph{%{date}} using @uref{%{program_homepage}, @emph{%{program}}}.', {
-           'user' => $user, 'date' => $date, 'program_homepage' => $Texi2HTML::THISDOC{'program_homepage'}, 'program' => $Texi2HTML::THISDOC{'program'} }, {'duplicate'=>1});
-    }
-    elsif ($user ne '')
-    {
-        return  &$I('This document was generated by @emph{%{user}} using @uref{%{program_homepage}, @emph{%{program}}}.', {
-           'user' => $user, 'program_homepage' => $Texi2HTML::THISDOC{'program_homepage'}, 'program' => $Texi2HTML::THISDOC{'program'} }, {'duplicate'=>1});
-    }
-    elsif ($date ne '')
-    {
-        return  &$I('This document was generated on @i{%{date}} using @uref{%{program_homepage}, @i{%{program}}}.', {
-           'date' => $date, 'program_homepage' => $Texi2HTML::THISDOC{'program_homepage'}, 'program' => $Texi2HTML::THISDOC{'program'} },{'duplicate'=>1});
-    }
     return &$I('This document was generated using @uref{%{program_homepage}, @emph{%{program}}}.', {
        'program_homepage' => $Texi2HTML::THISDOC{'program_homepage'}, 'program'
 => $Texi2HTML::THISDOC{'program'} },{'duplicate'=>1});

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: texi2html
Source-Version: 1.82+dfsg1-6
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

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 961764@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 15 Nov 2020 18:57:14 -0800
Source: texi2html
Architecture: source
Version: 1.82+dfsg1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 961764
Changes:
 texi2html (1.82+dfsg1-6) unstable; urgency=medium
 .
   * QA upload.
   * debian/patches:
     - Do not embed the build user in html files (Closes: #961764).
   * debian/control:
     - Set Rules-Requres-Root to no.
     - Update to debhelper-compat 13.
     - Drop dh-autoreconf from Build-Depends.
     - Delete trailing whitespace.
     - Update Standards-Version to 4.5.0.
   * debian/changelog:
     - Remove trailing whitespace.
Checksums-Sha1:
 5134dacd9d9a6553e52dc1611a0477c251403ff5 1333 texi2html_1.82+dfsg1-6.dsc
 96a643d580fd291b91fefbdb30f28c216925fe73 7672 texi2html_1.82+dfsg1-6.debian.tar.xz
Checksums-Sha256:
 460f2757e5b6cfe73e77a0d062c911ba217ef3d56399f11c8ebfa3584652b3e6 1333 texi2html_1.82+dfsg1-6.dsc
 2284d807aff1483064ae4143030cc2e4d5bb0d4c1e069d8f21a5fdcca44e1b2f 7672 texi2html_1.82+dfsg1-6.debian.tar.xz
Files:
 0579abaeccab639b6f5ee34942f73bea 1333 text optional texi2html_1.82+dfsg1-6.dsc
 661c175b44fe1d7d5a6fa5fbf7092cd3 7672 text optional texi2html_1.82+dfsg1-6.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX7HstyAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqnLKAQCSSPz45UCdd1UD
2Mgi2S19plzMW5A+ZNU68/cVaczgIQD/TZ1q81aIPhdfzSaF564lYt17Ddbo8XxQ
dC1s2njdIQg=
=AbNp
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: