From 82d31dfddeeed6e20d84f0da618bdd43e926a1fc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Nov 2025 10:47:40 +0100 Subject: Fix GH-20528 regression breaks mysql connexion using an IPv6 address enclosed in square brackets (upstream patch) --- php84.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'php84.spec') diff --git a/php84.spec b/php84.spec index 0e70530..e4830d6 100644 --- a/php84.spec +++ b/php84.spec @@ -87,7 +87,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{rcver}} -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 @@ -146,6 +146,7 @@ Patch48: php-8.3.0-openssl-ec-param.patch # RC Patch # Upstream fixes (100+) +Patch100: php-bug20528.patch # Security fixes (200+) @@ -992,6 +993,7 @@ in pure PHP. %patch -P48 -p1 -b .ec-param # upstream patches +%patch -P100 -p1 -b .20528 # security patches @@ -1556,7 +1558,7 @@ install -D -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/default.d/php. 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 @@ -1851,6 +1853,10 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %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