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

Bug#978610: marked as done (a2ps: reproducible builds: Embeds build time README and info page)



Your message dated Wed, 30 Dec 2020 04:18:21 +0000
with message-id <E1kuSwH-0006Sz-7K@fasolo.debian.org>
and subject line Bug#978610: fixed in a2ps 1:4.14-6
has caused the Debian Bug report #978610,
regarding a2ps: reproducible builds: Embeds build time README and info page
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.)


-- 
978610: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978610
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 README and a2ps embed the build time:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/a2ps.html

  README
  Mon·Nov·30·21:05:05·-12·2020
  vs.
  Tue·Jan··4·05:31:47·+14·2022


The attached patches fix this by passing arguments to date to support
SOURCE_DATE_EPOCH and by removing the UPDATED calls in the .texi files
used to generate the documentation.


Thanks for maintaining a2ps!


live well,
  vagrant
From 4c7ac30978cf3d4657274e139d4b1f30155f63e2 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 29 Dec 2020 07:16:56 +0000
Subject: [PATCH 1/6] etc/Makefile.*: Pass arguments to date to support
 SOURCE_DATE_EPOCH when generating README.

https://reproducible-builds.org/docs/source-date-epoch/
---
 etc/Makefile.am | 2 +-
 etc/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/Makefile.am b/etc/Makefile.am
index b0cdcac..9b75777 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -44,5 +44,5 @@ a2ps.cfg: a2ps_cfg Makefile
 
 # Building a time stamp to know the version.
 README: README.in Makefile
-	sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g"	\
+	sed "s!@date@!`LC_ALL=C date --utc --date=@$(SOURCE_DATE_EPOCH)`!g;s!@version@!$(VERSION)!g"	\
 	$(srcdir)/README.in > README
diff --git a/etc/Makefile.in b/etc/Makefile.in
index 0fe7d4c..50af809 100644
--- a/etc/Makefile.in
+++ b/etc/Makefile.in
@@ -486,7 +486,7 @@ a2ps.cfg: a2ps_cfg Makefile
 
 # Building a time stamp to know the version.
 README: README.in Makefile
-	sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g"	\
+	sed "s!@date@!`LC_ALL=C date --utc --date=@$(SOURCE_DATE_EPOCH)`!g;s!@version@!$(VERSION)!g"	\
 	$(srcdir)/README.in > README
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
-- 
2.20.1

From b21b23ae6a8e867b4941eab3486d6d940ae48f61 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 29 Dec 2020 07:52:21 +0000
Subject: [PATCH 4/6] doc/a2ps.texi: Remove dates from generated documentation.

---
 doc/a2ps.texi | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/doc/a2ps.texi b/doc/a2ps.texi
index 5a99e8d..18c0f91 100644
--- a/doc/a2ps.texi
+++ b/doc/a2ps.texi
@@ -103,7 +103,7 @@ approved by the author.
 @titlepage
 @title GNU a2ps, version @value{VERSION}
 @subtitle General Purpose PostScript Generating Utility
-@subtitle Edition @value{EDITION}, @value{UPDATED}
+@subtitle Edition @value{EDITION}
 @author Akim Demaille
 @author Miguel Santana
 
@@ -141,8 +141,7 @@ GNU @pack{} is a filter which generates PostScript from various formats,
 with pretty-printing features, strong support for many alphabets, and
 customizable layout.
 
-This is Edition @value{VERSION} of the @pack{} documentation, updated
-@value{UPDATED}.
+This is Edition @value{VERSION} of the @pack{} documentation.
 
 @menu
 * Introduction::                Foreword
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: a2ps
Source-Version: 1:4.14-6
Done: Vagrant Cascadian <vagrant@debian.org>

We believe that the bug you reported is fixed in the latest version of
a2ps, 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 978610@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated a2ps 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: Tue, 29 Dec 2020 20:01:09 -0800
Source: a2ps
Architecture: source
Version: 1:4.14-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 971819 971820 971821 978609 978610
Changes:
 a2ps (1:4.14-6) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Vagrant Cascadian ]
   * etc/Makefile.*: Pass arguments to date to support SOURCE_DATE_EPOCH
     when generating README. (Closes: #978610)
   * man/Makefile.*: Patch to use the system help2man.
     (Closes: #978609, #971819)
   * debian/control: Add help2man to Build-Depends.
   * doc/a2ps.texi: Remove dates from generated documentation.
     (Closes: #978610)
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/copyright: Update pointer to GPL-3.
   * debian/rules: Switch to dh.
   * debian/rules: Add dh_auto_test override to not fail on test suite
     failures.
   * Update to debhelper-compat 13.
   * debian/rules: Pass --without autoreconf to dh.
   * debian/rules: Pass configure options without --runstatedir, which is
     unsupported in the current configure script.
   * debian/mime: Remove quotes around %s to fix lintian issue.
   * debian/control: Add Homepage.
   * debian/control: Remove Build-Depends on autotools-dev, handled by
     debhelper-compat level.
   * debian/control: Add Vcs headers.
   * debian/control: Update Standards-Version to 4.5.1.
 .
   [ Bjarni Ingi Gislason ]
   * composeglyphs.1: Remove a repeated word (Closes: #971820).
   * fixnt.1: fix formatting of references to manuals (Closes: #971821).
Checksums-Sha1:
 13c2cc14f8a8c51fc247a50dac4cb35302741d9e 1527 a2ps_4.14-6.dsc
 565af99c823668799c5e5f33d3fccfd893442789 28008 a2ps_4.14-6.debian.tar.xz
Checksums-Sha256:
 a303e24705558977aab36ae1263f4d3ba2db1e47e26b0b8b106fda95a7c8f291 1527 a2ps_4.14-6.dsc
 510d2baedd08504e5fa4042ad23cbdc5966d73e3464335d5ac2eb4c072d7dbc0 28008 a2ps_4.14-6.debian.tar.xz
Files:
 5d6868a427db5b8591d1db600d461959 1527 text optional a2ps_4.14-6.dsc
 6e0b8e3c38325583d859d3d96e3c6fc2 28008 text optional a2ps_4.14-6.debian.tar.xz

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

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX+v9RBMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaq1qoA/3HwgZFNOnsqvtOdkEy/m8VV3MjPq1GR
YE1LFTPbkzA2AQD5Zn7sVRP+ATUnFp6VNO5kjG0+LS9UVSdChszLOXsSAg==
=YsVc
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: