From 494b95200ec1796650f361b5606df932e20e9307 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Nov 2025 10:09:15 +0100 Subject: Fix GH-20528 regression breaks mysql connexion using an IPv6 address enclosed in square brackets (upstream patch) --- php85.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'php85.spec') diff --git a/php85.spec b/php85.spec index c19d4ef..5679d44 100644 --- a/php85.spec +++ b/php85.spec @@ -94,7 +94,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 @@ -153,6 +153,7 @@ Patch48: php-8.5.0-openssl-ec-param.patch # RC Patch # Upstream fixes (100+) +Patch100: php-bug20528.patch # Security fixes (200+) @@ -1016,6 +1017,7 @@ in pure PHP. %patch -P48 -p1 -b .ec-param # upstream patches +%patch -P100 -p1 -b .20528 # security patches @@ -1576,7 +1578,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 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 @@ -1869,6 +1871,10 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %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