[Pkg-privacy-commits] [xul-ext-monkeysphere] 295/296: add TZ=UTC before zip in Makefile to make the files mtime invariant to timezone to make the package build reproducibly.

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.

commit 20d28aa8252c866a29f562156f562c589010005a
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Thu Aug 6 10:54:10 2015 -0400

    add TZ=UTC before zip in Makefile to make the files mtime  invariant to timezone to make the package build reproducibly.
---
 debian/changelog                  |  8 ++++++++
 debian/patches/fix_timezone.patch | 22 ++++++++++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 31 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e1a5b3b..23a9bff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+xul-ext-monkeysphere (0.8-2) unstable; urgency=medium
+
+  [ Eduard Sanou ]
+  * add TZ=UTC before zip in Makefile to make the files mtime 
+    invariant to timezone to make the package build reproducibly.
+
+ -- Daniel Kahn Gillmor <dkg at fifthhorseman.net>  Thu, 06 Aug 2015 10:53:43 -0400
+
 xul-ext-monkeysphere (0.8-1) unstable; urgency=low
 
   * New Upstream Release (Closes: #720600) thanks Kristian Fiskerstrand!
diff --git a/debian/patches/fix_timezone.patch b/debian/patches/fix_timezone.patch
new file mode 100644
index 0000000..29b40bf
--- /dev/null
+++ b/debian/patches/fix_timezone.patch
@@ -0,0 +1,22 @@
+Description: Fix timezone in zip
+ .
+ xul-ext-monkeysphere (0.8-1.1) UNRELEASED; urgency=medium
+ .
+   * Non-maintainer upload.
+   * add TZ=UTC before zip in Makefile to make the files mtime
+     invariant to timezone to make the package build reproducibly.
+Author: Eduard Sanou <dhole at openmailbox.org>
+
+---
+
+--- xul-ext-monkeysphere-0.8.orig/Makefile
++++ xul-ext-monkeysphere-0.8/Makefile
+@@ -12,7 +12,7 @@ ICONS = $(addprefix chrome/content/, bro
+ VERSION = $(shell head -n1 Changelog | sed -e 's/^.*(//' -e 's/).*$$//')
+ 
+ monkeysphere.xpi: $(XPI_CONTENTS) $(ICONS)
+-	zip $@ $(XPI_CONTENTS) $(ICONS)
++	TZ=UTC zip $@ $(XPI_CONTENTS) $(ICONS)
+ 
+ install.rdf: install.rdf.template Changelog
+ 	sed 's/__VERSION__/$(VERSION)/' < $< > $@
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..923c881
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_timezone.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git



More information about the Pkg-privacy-commits mailing list