From 4a382710c1f9780fa5c10859caf5d49ac876d0e1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Nov 2025 10:47:34 +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 24bde42..7bc0860 100644 --- a/php.spec +++ b/php.spec @@ -100,7 +100,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php Version: %{upver}%{?rcver:~%{rcver}}%{?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 @@ -161,6 +161,7 @@ Patch48: php-8.3.0-openssl-ec-param.patch # RC Patch # Upstream fixes (100+) +Patch100: php-bug20528.patch # Security fixes (200+) @@ -868,6 +869,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 @@ -1373,7 +1375,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 libxml openssl pcntl pcre readline reflection session spl standard zlib +for mod in core date filter hash json libxml openssl pcntl pcre random readline reflection session sockets spl standard zlib do $TESTCMD --modules | grep -i "$mod\$" done @@ -1658,6 +1660,10 @@ fi %changelog +* Fri Nov 21 2025 Remi Collet - 8.4.15-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.4.15-1 - Update to 8.4.15 - http://www.php.net/releases/8_4_15.php - switch to bz2 archive to workaround RHEL-125143 -- cgit