Source: foxyproxy
Version: 3.4-1.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 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
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 <dh...@openmailbox.org>  Wed, 05 Aug 2015 18:54:11 +0200
+
 foxyproxy (3.4-1.1) unstable; urgency=low
 
   * Non-maintainer upload.

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