commit 31c29ff872a9f827f0446c7d8af02788089dd244 Author: Nicolas Vigier boklm@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 984d14a..8ceb952 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 -%] # OpenSSL expects the NDK home to include the pre-assembled architecture directory diff --git a/projects/openssl/config b/projects/openssl/config index 662de63..179c2d5 100644 --- a/projects/openssl/config +++ b/projects/openssl/config @@ -32,7 +32,5 @@ input_files: project: '[% c("var/compiler") %]' - URL: 'https://www.openssl.org/source/openssl-%5B% 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
tor-commits@lists.torproject.org