[Reproducible-builds] Bug#834537: mozvoikko: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Aug 16 19:52:10 UTC 2016


Source: mozvoikko
Version: 2.0.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that mozvoikko could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build.patch	2016-08-16 20:39:25.918272932 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-16
+
+--- mozvoikko-2.0.1.orig/Makefile
++++ mozvoikko-2.0.1/Makefile
+@@ -18,7 +18,7 @@ $(patsubst %,mozvoikko-$(VERSION)/%, $(s
+ 
+ mozvoikko2:
+ 	rm -vf mozvoikko2.xpi
+-	zip -9 mozvoikko2.xpi $(XPI_FILES) $(shell find voikko -type f '!' -name '.*' '!' -path 'voikko*/.*')
++	TZ=UTC zip -9 mozvoikko2.xpi $(XPI_FILES) $(shell find voikko -type f '!' -name '.*' '!' -path 'voikko*/.*')
+ 
+ clean:
+ 	rm -f mozvoikko-$(VERSION).tar.gz mozvoikko2.xpi
--- a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series	2016-08-16 20:45:57.677578777 +0100
@@ -0,0 +1 @@
+reproducible-build.patch


More information about the Reproducible-builds mailing list