Disable openssl ENGINE_API

Resolves: RHEL-33745
This commit is contained in:
Filip Janus 2024-07-03 14:06:29 +02:00
parent ba86d8c72c
commit 792fbb5c90

View File

@ -48,7 +48,7 @@
Summary: PostgreSQL client programs Summary: PostgreSQL client programs
Name: %{majorname}%{majorversion} Name: %{majorname}%{majorversion}
Version: %{majorversion}.1 Version: %{majorversion}.1
Release: 7%{?dist} Release: 8%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI # The PostgreSQL license is very similar to other MIT licenses, but the OSI
# recognizes it as an independent license, so we do as well. # recognizes it as an independent license, so we do as well.
@ -578,6 +578,7 @@ cd ..
# Fiddling with CFLAGS. # Fiddling with CFLAGS.
CFLAGS="${CFLAGS:-%optflags}" CFLAGS="${CFLAGS:-%optflags}"
CFLAGS="$CFLAGS -DOPENSSL_NO_ENGINE"
# Strip out -ffast-math from CFLAGS.... # Strip out -ffast-math from CFLAGS....
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100` CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
export CFLAGS export CFLAGS
@ -704,7 +705,7 @@ upgrade_configure ()
# its ideas about installation paths. # its ideas about installation paths.
# The -fno-aggressive-loop-optimizations is hack for #993532 # 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} \ --build=%{_build} \
--host=%{_host} \ --host=%{_host} \
--prefix=%prev_prefix \ --prefix=%prev_prefix \
@ -1338,6 +1339,9 @@ make -C postgresql-setup-%{setup_version} check
%changelog %changelog
* Wed Jul 3 2024 Filip Janus <fjanus@redhat.com> - 16.1-8
- Disable Openssl ENGINE_API
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 16.1-7 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 16.1-7
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild