[tbb-commits] [tor-browser-bundle/master] Bug 20133: Don't apply OpenSSL patch anymore
gk at torproject.org
gk at torproject.org
Mon Sep 12 17:59:17 UTC 2016
commit 4e2d9e7d4a0e0485ee5a5654e98c7262b9e6c03c
Author: Georg Koppen <gk at torproject.org>
Date: Mon Sep 12 12:31:26 2016 +0000
Bug 20133: Don't apply OpenSSL patch anymore
The patch we applied for building OpenSSL reproducible got upstreamed
into 1.0.2. Thus, we don't need to apply it anymore after switching to
the new OpenSSL series.
---
gitian/descriptors/linux/gitian-utils.yml | 2 --
gitian/descriptors/windows/gitian-utils.yml | 2 --
.../patches/openssl-Make-build-reproducible.patch | 28 ----------------------
3 files changed, 32 deletions(-)
diff --git a/gitian/descriptors/linux/gitian-utils.yml b/gitian/descriptors/linux/gitian-utils.yml
index 0adcf5d..7093a0d 100644
--- a/gitian/descriptors/linux/gitian-utils.yml
+++ b/gitian/descriptors/linux/gitian-utils.yml
@@ -32,7 +32,6 @@ files:
- "binutils.tar.bz2"
- "gcc.tar.bz2"
- "openssl.tar.gz"
-- "openssl-Make-build-reproducible.patch"
- "gmp.tar.bz2"
- "versions"
- "dzip.sh"
@@ -97,7 +96,6 @@ script: |
# Building OpenSSL
tar xzf openssl.tar.gz
cd openssl-*
- patch -p1 < ../openssl-Make-build-reproducible.patch
find -type f -print0 | xargs -0 touch --date="$REFERENCE_DATETIME"
if [ $GBUILD_BITS == "64" ];
then
diff --git a/gitian/descriptors/windows/gitian-utils.yml b/gitian/descriptors/windows/gitian-utils.yml
index 0876bff..9c31834 100644
--- a/gitian/descriptors/windows/gitian-utils.yml
+++ b/gitian/descriptors/windows/gitian-utils.yml
@@ -27,7 +27,6 @@ files:
- "binutils.tar.bz2"
- "gcc.tar.bz2"
- "openssl.tar.gz"
-- "openssl-Make-build-reproducible.patch"
- "gmp.tar.bz2"
- "enable-reloc-section-ld.patch"
- "peXXigen.patch"
@@ -137,7 +136,6 @@ script: |
# Building OpenSSL
tar xzf openssl.tar.gz
cd openssl-*
- patch -p1 < ../openssl-Make-build-reproducible.patch
find -type f -print0 | xargs -0 touch --date="$REFERENCE_DATETIME"
# TODO: Add enable-ec_nistp_64_gcc_128 for 64bit Windows.
./Configure -shared --cross-compile-prefix=i686-w64-mingw32- mingw "-fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -fno-strict-overflow -Wno-missing-field-initializers -Wformat -Wformat-security -Wl,--dynamicbase -Wl,--nxcompat -Wl,--enable-reloc-section -lssp -L$INSTDIR/gcclibs/" --prefix=$INSTDIR/openssl
diff --git a/gitian/patches/openssl-Make-build-reproducible.patch b/gitian/patches/openssl-Make-build-reproducible.patch
deleted file mode 100644
index d86f5ba..0000000
--- a/gitian/patches/openssl-Make-build-reproducible.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From b88c021b5a7c539f821b7b7c47c72138cc3c3271 Mon Sep 17 00:00:00 2001
-From: Kurt Roeckx <kurt at roeckx.be>
-Date: Fri, 2 Jan 2015 12:27:57 +0100
-Subject: [PATCH] Make build reproducible
-
-It contained a date on when it was build.
-
-Reviewed-by: Rich Salz <rsalz at openssl.org>
----
- crypto/cversion.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/crypto/cversion.c b/crypto/cversion.c
-index 9e6f50d78182..c417d1d1121f 100644
---- a/crypto/cversion.c
-+++ b/crypto/cversion.c
-@@ -68,7 +68,11 @@ const char *SSLeay_version(int t)
- return OPENSSL_VERSION_TEXT;
- if (t == SSLEAY_BUILT_ON) {
- #ifdef DATE
-+# ifdef OPENSSL_USE_BUILD_DATE
- return (DATE);
-+# else
-+ return("built on: reproducible build, date unspecified");
-+# endif
- #else
- return ("built on: date not available");
- #endif
More information about the tbb-commits
mailing list