Source: doc-base Version: 0.10.6 Severity: wishlist Tags: patch User: [email protected] Usertags: timestamps X-Debbugs-Cc: [email protected]
Hi, While working on the "reproducible builds" effort [1], we have noticed that doc-base could not be built reproducibly. The attached patch sets the timeznoe to UTC for the timestamps in the docs. Once applied, doc-base can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- Dhole
diff -Nru doc-base-0.10.6/common.mk doc-base-0.10.6+nmu1/common.mk
--- doc-base-0.10.6/common.mk 2014-08-24 22:15:11.000000000 +0200
+++ doc-base-0.10.6+nmu1/common.mk 2015-08-06 17:50:25.000000000 +0200
@@ -35,7 +35,7 @@
DATE := $(shell LC_ALL=C dpkg-parsechangelog -l$(CHANGELOGFILE)
\
| sed -n 's/^Date: *//p')
# pretty-print the date; I wish this was dynamic like the top-level makefile
but oh well
- DATE_EN := $(shell LC_ALL=C date --date="$(DATE)" '+%d %B, %Y')
+ DATE_EN := $(shell LC_ALL=C date -u --date="$(DATE)" '+%d %B, %Y')
export VERSION DATE DATE_EN
unexport CDPATH
diff -Nru doc-base-0.10.6/debian/changelog doc-base-0.10.6+nmu1/debian/changelog
--- doc-base-0.10.6/debian/changelog 2014-08-24 22:15:11.000000000 +0200
+++ doc-base-0.10.6+nmu1/debian/changelog 2015-08-06 17:00:50.000000000
+0200
@@ -1,3 +1,10 @@
+doc-base (0.10.6+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Set UTC date when generating docs to get reproducible results.
+
+ -- Eduard Sanou <[email protected]> Thu, 06 Aug 2015 17:00:34 +0200
+
doc-base (0.10.6) unstable; urgency=medium
* Fix `Possible precedence issue with control flow operator'
signature.asc
Description: OpenPGP digital signature

