Source: adblock-plus
Version: 2.6.9.1+dfsg+4real-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that adblock-plus could not be built reproducibly.

The attached patch sets the timezone to UTC before calling the build.py
script to avoid timezone differences in zip metadata. Once applied,
adblock-plus can be builtreproducibly in our current experimental framework.

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


Regards,
-- 
Dhole
diff -Nru adblock-plus-2.6.9.1+dfsg+4real/debian/changelog 
adblock-plus-2.6.9.1+dfsg+4real/debian/changelog
--- adblock-plus-2.6.9.1+dfsg+4real/debian/changelog    2015-06-09 
20:00:48.000000000 +0200
+++ adblock-plus-2.6.9.1+dfsg+4real/debian/changelog    2015-08-12 
21:00:42.000000000 +0200
@@ -1,3 +1,10 @@
+adblock-plus (2.6.9.1+dfsg+4real-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix timezone when running build.py to make the package build reproducibly. 
+
+ -- Eduard Sanou <dh...@openmailbox.org>  Wed, 12 Aug 2015 21:00:15 +0200
+
 adblock-plus (2.6.9.1+dfsg+4real-1) unstable; urgency=medium
 
   * Restore buildtools as of 2.6.9 (Closes: #788225)
diff -Nru adblock-plus-2.6.9.1+dfsg+4real/debian/rules 
adblock-plus-2.6.9.1+dfsg+4real/debian/rules
--- adblock-plus-2.6.9.1+dfsg+4real/debian/rules        2015-06-08 
22:17:58.000000000 +0200
+++ adblock-plus-2.6.9.1+dfsg+4real/debian/rules        2015-08-12 
20:59:43.000000000 +0200
@@ -4,7 +4,7 @@
        dh $@ --with xul-ext
 
 override_dh_auto_build:
-       python build.py build --release
+       TZ=UTC python build.py build --release
 
 override_dh_auto_install:
        install-xpi adblockplus*.xpi

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to