summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-12-17 10:53:26 +0100
committerRemi Collet <remi@php.net>2025-12-17 10:53:26 +0100
commitbb854e29585e47aedf3181e2671a3160746cd39b (patch)
treea66534067ad2a6721b8b66c13fca2145752cac67
parentfac8309c9e96e4ad7d38929abd1a2a6bdb62144c (diff)
Update to 8.1.34 - http://www.php.net/releases/8_1_34.phpHEADmaster
-rw-r--r--failed.txt16
-rw-r--r--php-7.4.33-bash53.patch26
-rw-r--r--php.spec12
3 files changed, 44 insertions, 10 deletions
diff --git a/failed.txt b/failed.txt
index 0d7073c..0fff1a2 100644
--- a/failed.txt
+++ b/failed.txt
@@ -1,23 +1,25 @@
-===== 8.1.33 (2025-07-03)
+===== 8.1.34 (2025-12-18)
$ grep -ar 'Tests failed' /var/lib/mock/*/build.log
/var/lib/mock/scl81el8a/build.log:Tests failed : 0
/var/lib/mock/scl81el8x/build.log:Tests failed : 0
-/var/lib/mock/scl81el9a/build.log:Tests failed : 0
-/var/lib/mock/scl81el9x/build.log:Tests failed : 0
-/var/lib/mock/scl81el10a/build.log:Tests failed : 1
-/var/lib/mock/scl81el10x/build.log:Tests failed : 1
-/var/lib/mock/scl81fc40a/build.log:Tests failed : 1
-/var/lib/mock/scl81fc40x/build.log:Tests failed : 1
+/var/lib/mock/scl81el9a/build.log:Tests failed : 2
+/var/lib/mock/scl81el9x/build.log:Tests failed : 2
+/var/lib/mock/scl81el10a/build.log:Tests failed : 2
+/var/lib/mock/scl81el10x/build.log:Tests failed : 2
/var/lib/mock/scl81fc41a/build.log:Tests failed : 1
/var/lib/mock/scl81fc41x/build.log:Tests failed : 1
/var/lib/mock/scl81fc42a/build.log:Tests failed : 1
/var/lib/mock/scl81fc42x/build.log:Tests failed : 1
+/var/lib/mock/scl81fc43a/build.log:Tests failed : 2
+/var/lib/mock/scl81fc43x/build.log:Tests failed : 2
fc*, el10:
3 openssl_x509_parse() tests [ext/openssl/tests/openssl_x509_parse_basic.phpt]
+fc43, el9, el10:
+ 3 Bug #74341 (openssl_x509_parse fails to parse ASN.1 UTCTime without seconds) [ext/openssl/tests/bug74341.phpt]
(1) proc_open give erratic test results :(
diff --git a/php-7.4.33-bash53.patch b/php-7.4.33-bash53.patch
new file mode 100644
index 0000000..0b09e2a
--- /dev/null
+++ b/php-7.4.33-bash53.patch
@@ -0,0 +1,26 @@
+From 98d2b923243d406b3d26f0770ac02f917729b948 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 4 Sep 2025 09:01:49 +0200
+Subject: [PATCH] Fix GH-19681 PHP_EXPAND_PATH broken with bash 5.3.0
+
+---
+ build/php.m4 | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/build/php.m4 b/build/php.m4
+index 142ddf08fd98b..e5ead0f4c44af 100644
+--- a/build/php.m4
++++ b/build/php.m4
+@@ -64,7 +64,11 @@ AC_DEFUN([PHP_EXPAND_PATH],[
+ changequote({,})
+ ep_dir=`echo $1|$SED 's%/*[^/][^/]*/*$%%'`
+ changequote([,])
+- ep_realdir=`(cd "$ep_dir" && pwd)`
++ if test -z $ep_dir ; then
++ ep_realdir=`(pwd)`
++ else
++ ep_realdir=`(cd "$ep_dir" && pwd)`
++ fi
+ $2="$ep_realdir"/`basename "$1"`
+ fi
+ ])
diff --git a/php.spec b/php.spec
index 1342cb3..59ee152 100644
--- a/php.spec
+++ b/php.spec
@@ -49,7 +49,7 @@
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
-%global oraclever 23.8
+%global oraclever 23.9
%global oraclemax 24
%global oraclelib 23.1
%global oracledir 23
@@ -128,12 +128,12 @@
#global gh_date 20210809
%global gh_owner php
%global gh_project php-src
-%global upver 8.1.33
+%global upver 8.1.34
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: %{upver}%{?rcver:~%{rcver}}%{?gh_date:.%{gh_date}}
-Release: 2%{?dist}
+Release: 1%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -174,6 +174,8 @@ Patch1: php-7.4.0-httpd.patch
Patch5: php-7.2.0-includedir.patch
Patch6: php-8.0.0-embed.patch
Patch8: php-8.1.0-libdb.patch
+# Fix for bash 5.3 (Fedora 43)
+Patch13: php-7.4.33-bash53.patch
# Functional changes
# Use system nikic/php-parser
@@ -963,6 +965,7 @@ in pure PHP.
%patch -P5 -p1 -b .includedir
%patch -P6 -p1 -b .embed
%patch -P8 -p1 -b .libdb
+%patch -P13 -p1 -b .bash53
%patch -P41 -p1 -b .syslib
%if %{with tzdata}
@@ -1861,6 +1864,9 @@ fi
%changelog
+* Wed Dec 17 2025 Remi Collet <remi@remirepo.net> - 8.1.34-1
+- Update to 8.1.34 - http://www.php.net/releases/8_1_34.php
+
* Thu Aug 28 2025 Remi Collet <remi@remirepo.net> - 8.1.33-2
- rebuild using gd3php on EL-10