From 7973a69f410e8f12fabee9dff221557754896d0a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Nov 2025 11:12:39 +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 2aef565..24d0d41 100644 --- a/php.spec +++ b/php.spec @@ -137,7 +137,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 @@ -206,6 +206,7 @@ Patch49: php-8.2.0-iodbc.patch Patch91: php-7.2.0-oci8conf.patch # Upstream fixes (100+) +Patch100: php-bug20528.patch # Security fixes (200+) @@ -999,6 +1000,7 @@ sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in %patch -P91 -p1 -b .remi-oci8 # upstream patches +%patch -P100 -p1 -b .20528 # security patches @@ -1553,7 +1555,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 @@ -1889,6 +1891,10 @@ fi %changelog +* Fri Nov 21 2025 Remi Collet - 8.3.28-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.3.28-1 - Update to 8.3.28 - http://www.php.net/releases/8_3_28.php - switch to bz2 archive to workaround RHEL-125143 -- cgit