[tor-commits] [tor-browser-build/maint-9.0] Bug 33805: Remove escape-openssldir.patch

sysrqb at torproject.org sysrqb at torproject.org
Fri Apr 3 15:07:13 UTC 2020


commit 4e197c35adee024955e0c64283b67f9ae306ddf8
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Fri Apr 3 14:40:03 2020 +0200

    Bug 33805: Remove escape-openssldir.patch
    
    The issue fixed by escape-openssldir.patch has been solved upstream in a
    different way:
    https://github.com/openssl/openssl/pull/11434
---
 projects/openssl/build                   |  1 -
 projects/openssl/config                  |  2 --
 projects/openssl/escape-openssldir.patch | 28 ----------------------------
 3 files changed, 31 deletions(-)

diff --git a/projects/openssl/build b/projects/openssl/build
index 5851ff8..1f70957 100644
--- a/projects/openssl/build
+++ b/projects/openssl/build
@@ -14,7 +14,6 @@ export CC='gcc -m32'
   export CC="cc [% c("var/FLAGS") %]"
 [% END -%]
 [% IF c("var/windows") -%]
-  patch -p1 < $rootdir/escape-openssldir.patch
   patch -p1 < $rootdir/use-SOURCE_DATE_EPOCH.patch
 [% END -%]
 export SOURCE_DATE_EPOCH='[% c("timestamp") %]'
diff --git a/projects/openssl/config b/projects/openssl/config
index e63aa57..8ee3b69 100644
--- a/projects/openssl/config
+++ b/projects/openssl/config
@@ -29,7 +29,5 @@ input_files:
     project: '[% c("var/compiler") %]'
   - URL: 'https://www.openssl.org/source/openssl-[% c("version") %].tar.gz'
     sha256sum: 186c6bfe6ecfba7a5b48c47f8a1673d0f3b0e5ba2e25602dd23b629975da3f35
-  - filename: escape-openssldir.patch
-    enable: '[% c("var/windows") %]'
   - filename: use-SOURCE_DATE_EPOCH.patch
     enable: '[% c("var/windows") %]'
diff --git a/projects/openssl/escape-openssldir.patch b/projects/openssl/escape-openssldir.patch
deleted file mode 100644
index 684a179..0000000
--- a/projects/openssl/escape-openssldir.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
-index 7db7578a4b..e5ba20b589 100644
---- a/Configurations/unix-Makefile.tmpl
-+++ b/Configurations/unix-Makefile.tmpl
-@@ -215,6 +215,7 @@ INSTALLTOP_dev={- # $prefix is used in the OPENSSLDIR perl snippet
-                   $prefix_dev -}
- INSTALLTOP_dir={- my $x = File::Spec::Win32->canonpath($prefix_dir);
-                   $x =~ s|\\|/|g;
-+                  $x =~ s/([ \(\)])/\\$1/g;
-                   $x -}
- OPENSSLDIR_dev={- #
-                   # The logic here is that if no --openssldir was given,
-@@ -239,6 +240,7 @@ OPENSSLDIR_dev={- #
-                   $openssldir_dev -}
- OPENSSLDIR_dir={- my $x = File::Spec::Win32->canonpath($openssldir_dir);
-                   $x =~ s|\\|/|g;
-+                  $x =~ s/([ \(\)])/\\$1/g;
-                   $x -}
- LIBDIR={- our $libdir = $config{libdir} || "lib";
-           File::Spec::Win32->file_name_is_absolute($libdir) ? "" : $libdir -}
-@@ -253,6 +255,7 @@ ENGINESDIR_dev={- use File::Spec::Win32;
-                   $enginesdir_dev -}
- ENGINESDIR_dir={- my $x = File::Spec::Win32->canonpath($enginesdir_dir);
-                   $x =~ s|\\|/|g;
-+                  $x =~ s/([ \(\)])/\\$1/g;
-                   $x -}
- # In a Windows environment, $(DESTDIR) is harder to contatenate with other
- # directory variables, because both may contain devices.  What we do here is



More information about the tor-commits mailing list