Remove dependnecy on OpenSSL engines, which are deprecated in Fedora

Related: RHEL-87738
This commit is contained in:
Michal Schorm 2025-04-14 13:14:27 +02:00
parent 111a259568
commit ce7a3be1da
2 changed files with 0 additions and 21 deletions

View File

@ -1,15 +0,0 @@
https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine
https://fedoraproject.org/wiki/Changes/OpensslNoEngine
--- mysql-8.4.0/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/network/xcom_network_provider_ssl_native_lib.cc 2024-04-10 08:26:28.000000000 +0200
+++ mysql-8.4.0/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/network/xcom_network_provider_ssl_native_lib.cc_patched 2024-07-18 18:33:26.237771364 +0200
@@ -50,7 +50,9 @@
#include "my_compiler.h"
#endif
+#if !defined(OPENSSL_NO_ENGINE)
#include "openssl/engine.h"
+#endif
#include "xcom/retry.h"
#include "xcom/task_debug.h"

View File

@ -145,7 +145,6 @@ Patch5: %{pkgnamepatch}-paths.patch
Patch51: %{pkgnamepatch}-sharedir.patch
Patch52: %{pkgnamepatch}-rpath.patch
Patch56: %{pkgnamepatch}-flush-logrotate.patch
Patch57: %{pkgnamepatch}-openssl-engine.patch
# Patches taken from boost 1.59
Patch112: boost-1.57.0-mpl-print.patch
@ -176,10 +175,6 @@ BuildRequires: libquadmath-devel
%endif
BuildRequires: openssl
BuildRequires: openssl-devel
%if 0%{?fedora} >= 41
# Complement of mysql-openssl-engine.patch
BuildRequires: openssl-devel-engine
%endif
BuildRequires: perl-interpreter
BuildRequires: perl-generators
@ -509,7 +504,6 @@ regression test suite distributed with the MySQL sources.
%patch -P51 -p1
%patch -P52 -p1
%patch -P56 -p1
%patch -P57 -p1
# Patch Boost
pushd extra/boost/boost_$(echo %{boost_bundled_version}| tr . _)