From 88968a659d6f4c52ad4a1220311b9fdd71ce61ef Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Nov 2025 10:10:04 +0100 Subject: Fix GH-20528 regression breaks mysql connexion using an IPv6 address enclosed in square brackets (upstream patch) --- php.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'php.spec') diff --git a/php.spec b/php.spec index 7230842..b8479bb 100644 --- a/php.spec +++ b/php.spec @@ -108,7 +108,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php Version: %{upver}%{?lowrc:~%{lowrc}}%{?gh_date:.%{gh_date}} -Release: 1%{?dist} +Release: 2%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -169,6 +169,7 @@ Patch48: php-8.5.0-openssl-ec-param.patch # RC Patch # Upstream fixes (100+) +Patch100: php-bug20528.patch # Security fixes (200+) @@ -869,6 +870,7 @@ sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in %patch -P48 -p1 -b .ec-param # upstream patches +%patch -P100 -p1 -b .20528 # security patches @@ -1372,7 +1374,7 @@ ln -s %{_bindir}/lsphp $RPM_BUILD_ROOT%{_root_bindir}/ls%{scl} TESTCMD="$RPM_BUILD_ROOT%{_bindir}/php --no-php-ini" # Ensure all provided extensions are really there -for mod in core date filter hash json lexbor libxml openssl pcntl pcre random readline reflection session spl standard uri zlib +for mod in core date filter hash json lexbor libxml openssl pcntl pcre random readline reflection session sockets spl standard uri zlib do $TESTCMD --modules | grep -i "$mod\$" done @@ -1657,6 +1659,10 @@ fi %changelog +* Fri Nov 21 2025 Remi Collet - 8.5.0-2 +- Fix GH-20528 regression breaks mysql connexion using an IPv6 address enclosed + in square brackets (upstream patch) + * Wed Nov 19 2025 Remi Collet - 8.5.0-1 - Update to 8.5.0 GA - switch to bz2 archive to workaround RHEL-125143 -- cgit