[Pkg-mozext-maintainers] Bug#795395: adblock-plus: please make the build reproducible

Dhole dhole at openmailbox.org
Thu Aug 13 15:59:14 UTC 2015


Source: adblock-plus
Version: 2.6.9.1+dfsg+4real-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at 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
-------------- next part --------------
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 <dhole at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozext-maintainers/attachments/20150813/ce3c215b/attachment.sig>


More information about the Pkg-mozext-maintainers mailing list