From 792fbb5c902a9b444835eef22791d187fbabb899 Mon Sep 17 00:00:00 2001 From: Filip Janus Date: Wed, 3 Jul 2024 14:06:29 +0200 Subject: [PATCH] Disable openssl ENGINE_API Resolves: RHEL-33745 --- postgresql16.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/postgresql16.spec b/postgresql16.spec index 16204cf..08f6883 100644 --- a/postgresql16.spec +++ b/postgresql16.spec @@ -48,7 +48,7 @@ Summary: PostgreSQL client programs Name: %{majorname}%{majorversion} Version: %{majorversion}.1 -Release: 7%{?dist} +Release: 8%{?dist} # The PostgreSQL license is very similar to other MIT licenses, but the OSI # recognizes it as an independent license, so we do as well. @@ -578,6 +578,7 @@ cd .. # Fiddling with CFLAGS. CFLAGS="${CFLAGS:-%optflags}" +CFLAGS="$CFLAGS -DOPENSSL_NO_ENGINE" # Strip out -ffast-math from CFLAGS.... CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100` export CFLAGS @@ -704,7 +705,7 @@ upgrade_configure () # its ideas about installation paths. # The -fno-aggressive-loop-optimizations is hack for #993532 - CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \ + CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations -DOPENSSL_NO_ENGINE" ./configure \ --build=%{_build} \ --host=%{_host} \ --prefix=%prev_prefix \ @@ -1338,6 +1339,9 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Wed Jul 3 2024 Filip Janus - 16.1-8 +- Disable Openssl ENGINE_API + * Mon Jun 24 2024 Troy Dawson - 16.1-7 - Bump release for June 2024 mass rebuild