[Reproducible-builds] Bug#794779: foxyproxy: please make the build reproducible
Dhole
dhole at openmailbox.org
Thu Aug 6 14:19:40 UTC 2015
Source: foxyproxy
Version: 3.4-1.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 foxyproxy could not be built reproducibly.
The attached patch removes timezone-varying timestamps from the
files compressed with zip. Once applied, foxyproxy can be built
reproducibly in our current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
-------------- next part --------------
diff -u foxyproxy-3.4/debian/rules foxyproxy-3.4/debian/rules
--- foxyproxy-3.4/debian/rules
+++ foxyproxy-3.4/debian/rules
@@ -18,7 +18,7 @@
rm -rf get-orig-source
override_dh_auto_build:
- cd src; ant build-foxyproxy-standard
+ cd src; TZ=UTC ant build-foxyproxy-standard
mv targets/foxyproxy-standard*.xpi .
rmdir targets/
diff -u foxyproxy-3.4/debian/changelog foxyproxy-3.4/debian/changelog
--- foxyproxy-3.4/debian/changelog
+++ foxyproxy-3.4/debian/changelog
@@ -1,3 +1,11 @@
+foxyproxy (3.4-1.2) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Set TZ=UTC before calling ant to normalize timezones and make the package
+ build reproducibly.
+
+ -- Eduard Sanou <dhole at openmailbox.org> Wed, 05 Aug 2015 18:54:11 +0200
+
foxyproxy (3.4-1.1) unstable; urgency=low
* Non-maintainer upload.
-------------- 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/reproducible-builds/attachments/20150806/43d5b0e1/attachment.sig>
More information about the Reproducible-builds
mailing list