[tor-commits] [torbrowser/master] Bug 3688: Disable nspr timestamping.

mikeperry at torproject.org mikeperry at torproject.org
Fri Apr 26 02:07:38 UTC 2013


commit 0d911aaeb61c7208eb9e0718e47e17d391b901db
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Thu Apr 25 19:04:18 2013 -0700

    Bug 3688: Disable nspr timestamping.
    
    Firefox can now be built determistically (save for some FIPS-140 signing
    bullshit).
---
 .../0029-Disable-library-timestamping.patch        |   27 ++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/src/current-patches/firefox/0029-Disable-library-timestamping.patch b/src/current-patches/firefox/0029-Disable-library-timestamping.patch
new file mode 100644
index 0000000..8a37556
--- /dev/null
+++ b/src/current-patches/firefox/0029-Disable-library-timestamping.patch
@@ -0,0 +1,27 @@
+From 756c1673881ae104e20305fadad41cfea5f04608 Mon Sep 17 00:00:00 2001
+From: Mike Perry <mikeperry-git at torproject.org>
+Date: Thu, 1 Jan 1970 00:00:00 +0000
+Subject: [PATCH 29/29] Disable library timestamping.
+
+This timestamp prevents deterministic builds, and is set in a way that
+libfaketime can't correct.
+---
+ nsprpub/config/now.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/nsprpub/config/now.c b/nsprpub/config/now.c
+index 165b924..5e07a72 100644
+--- a/nsprpub/config/now.c
++++ b/nsprpub/config/now.c
+@@ -14,7 +14,7 @@
+ #error "Architecture not supported"
+ #endif
+ 
+-
++#define OMIT_LIB_BUILD_TIME
+ int main(int argc, char **argv)
+ {
+ #if defined(OMIT_LIB_BUILD_TIME)
+-- 
+1.7.9.5
+





More information about the tor-commits mailing list