[Pkg-privacy-commits] [torbirdy] 20/53: Make TorBirdy XPI deterministic (#15459)

Ulrike Uhlig u-guest at moszumanska.debian.org
Sat Jul 2 20:08:05 UTC 2016


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

u-guest pushed a commit to annotated tag 0.2.0
in repository torbirdy.

commit caaf2b593ba2a116ac8f63416bb311bcdd140ee2
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Tue May 3 15:29:52 2016 -0400

    Make TorBirdy XPI deterministic (#15459)
---
 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index 96214b1..48c661c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,15 @@
 SHELL := /bin/bash
 VERSION := $(shell cat install.rdf|grep '<em:version>'|cut -d\> -f2|cut -d\< -f1)
 
+FAKETIME := 200001010000
+
 make-xpi:
 	zip -r ../torbirdy-$(VERSION).xpi * -x "debian/*" -x "patches/*" -x "ChangeLog" -x "Makefile" -x "gpg.conf" -x "import-translations.sh" -x "README.RELEASE"
 
+make-reproducible:
+	find . -print0 | xargs -0 touch -t $(FAKETIME)
+	zip -X ../torbirdy-$(VERSION).xpi `find . | sort` -x "debian/*" -x "patches/*" -x "ChangeLog" -x "Makefile" -x "gpg.conf" -x "import-translations.sh" -x "README.RELEASE" -x *.git*
+
 clean:
 	rm -f ../torbirdy-$(VERSION).xpi
 

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



More information about the Pkg-privacy-commits mailing list