Source: blkreplay
Version: 1.0-2
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 blkreplay could not be built reproducibly.

The attached patch fixes the timezone in the date from the man pages to
UTC. Once applied, blkreplay can be built reproducibly in our current
experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,
-- 
Dhole
diff -Nru blkreplay-1.0/debian/changelog blkreplay-1.0/debian/changelog
--- blkreplay-1.0/debian/changelog      2015-06-29 18:54:10.000000000 +0200
+++ blkreplay-1.0/debian/changelog      2015-08-12 21:18:44.000000000 +0200
@@ -1,3 +1,10 @@
+blkreplay (1.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Set date timezone in man pages to UTC to make package build reproducibly.
+
+ -- Eduard Sanou <[email protected]>  Wed, 12 Aug 2015 21:18:21 +0200
+
 blkreplay (1.0-2) unstable; urgency=medium
 
   * Fix lib.sh so it doesn't try to create downloads directory.
diff -Nru blkreplay-1.0/debian/rules blkreplay-1.0/debian/rules
--- blkreplay-1.0/debian/rules  2015-06-22 11:00:38.000000000 +0200
+++ blkreplay-1.0/debian/rules  2015-08-12 21:18:16.000000000 +0200
@@ -4,7 +4,7 @@
        dh $@ --with autoreconf
 
 %.1: %.pod
-       pod2man -c "" -d $$(date -d "$$(dpkg-parsechangelog -S Date)" +%F) -r 
"" $< > $@
+       pod2man -c "" -d $$(date -u -d "$$(dpkg-parsechangelog -S Date)" +%F) 
-r "" $< > $@
 
 override_dh_auto_build: debian/blkreplay.1
        dh_auto_build

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to