public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: v8.5.6RC2
Date: Fri, 27 Nov 2026 07:34:19 GMT	[thread overview]
Message-ID: <179576485971.1.11419619406693472425.rpms-php-b8026c117fa2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : b8026c117fa25e00e7459c170866c14173c4ee85
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2026-04-29T07:28:00+02:00
Stats  : +71/-6 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/b8026c117fa25e00e7459c170866c14173c4ee85?branch=private-php86

Log:
v8.5.6RC2

---
diff --git a/.gitignore b/.gitignore
index ec5689b..c4d45cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,5 @@ TODO
 /php-8.5.5.tar.xz.asc
 /php-8.5.6RC1.tar.xz
 /php-8.5.6RC1.tar.xz.asc
+/php-8.5.6RC2.tar.xz
+/php-8.5.6RC2.tar.xz.asc

diff --git a/php-openssl4.patch b/php-openssl4.patch
new file mode 100644
index 0000000..dec5bd2
--- /dev/null
+++ b/php-openssl4.patch
@@ -0,0 +1,57 @@
+From c3e703eb1f4475668cb18133eaf965e60a39046a Mon Sep 17 00:00:00 2001
+From: Jordi Kroon <jkroon@onyourmarks.agency>
+Date: Mon, 30 Mar 2026 19:45:32 +0200
+Subject: [PATCH] replace ERR_NUM_ERRORS with PHP_OPENSSL_ERR_BUFFER_SIZE
+
+---
+ ext/openssl/openssl.c     | 6 +++---
+ ext/openssl/php_openssl.h | 4 +++-
+ 2 files changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
+index bc00b6b189b9..4baa19988891 100644
+--- a/ext/openssl/openssl.c
++++ b/ext/openssl/openssl.c
+@@ -218,9 +218,9 @@ void php_openssl_store_errors(void)
+ 	errors = OPENSSL_G(errors);
+ 
+ 	do {
+-		errors->top = (errors->top + 1) % ERR_NUM_ERRORS;
++		errors->top = (errors->top + 1) % PHP_OPENSSL_ERR_BUFFER_SIZE;
+ 		if (errors->top == errors->bottom) {
+-			errors->bottom = (errors->bottom + 1) % ERR_NUM_ERRORS;
++			errors->bottom = (errors->bottom + 1) % PHP_OPENSSL_ERR_BUFFER_SIZE;
+ 		}
+ 		errors->buffer[errors->top] = error_code;
+ 	} while ((error_code = ERR_get_error()));
+@@ -4042,7 +4042,7 @@ PHP_FUNCTION(openssl_error_string)
+ 		RETURN_FALSE;
+ 	}
+ 
+-	OPENSSL_G(errors)->bottom = (OPENSSL_G(errors)->bottom + 1) % ERR_NUM_ERRORS;
++	OPENSSL_G(errors)->bottom = (OPENSSL_G(errors)->bottom + 1) % PHP_OPENSSL_ERR_BUFFER_SIZE;
+ 	val = OPENSSL_G(errors)->buffer[OPENSSL_G(errors)->bottom];
+ 
+ 	if (val) {
+diff --git a/ext/openssl/php_openssl.h b/ext/openssl/php_openssl.h
+index 92ccd9a546f9..e565707a3c40 100644
+--- a/ext/openssl/php_openssl.h
++++ b/ext/openssl/php_openssl.h
+@@ -36,6 +36,8 @@ extern zend_module_entry openssl_module_entry;
+ #define PHP_OPENSSL_API_VERSION 0x30200
+ #endif
+ 
++#define PHP_OPENSSL_ERR_BUFFER_SIZE 16
++
+ #define OPENSSL_RAW_DATA 1
+ #define OPENSSL_ZERO_PADDING 2
+ #define OPENSSL_DONT_ZERO_PAD_KEY 4
+@@ -65,7 +67,7 @@ extern zend_module_entry openssl_module_entry;
+ #endif
+ 
+ struct php_openssl_errors {
+-	int buffer[ERR_NUM_ERRORS];
++	int buffer[PHP_OPENSSL_ERR_BUFFER_SIZE];
+ 	int top;
+ 	int bottom;
+ };

diff --git a/php.spec b/php.spec
index be8284b..98252ee 100644
--- a/php.spec
+++ b/php.spec
@@ -66,7 +66,8 @@
 %bcond_without   lmdb
 
 # liburiparser version 1.0.0 required
-%global liburiparser_ver 1.0.0
+%global liburiparser_minver 1.0.0
+%global liburiparser_bunver 1.0.1
 %if 0%{?fedora}
 # use system liburiparser when available
 %bcond_without       liburiparser
@@ -76,7 +77,7 @@
 %endif
 
 %global upver        8.5.6
-%global rcver        RC1
+%global rcver        RC2
 
 Summary: PHP scripting language for creating dynamic web sites
 %if %{with rename}
@@ -142,6 +143,7 @@ Patch47: php-8.4.0-phpinfo.patch
 Patch48: php-8.5.0-openssl-ec-param.patch
 
 # Upstream fixes (100+)
+Patch100: php-openssl4.patch
 
 # Security fixes (200+)
 
@@ -185,9 +187,9 @@ BuildRequires: systemtap-sdt-devel
 BuildRequires: systemtap-sdt-dtrace
 %endif
 %if %{with liburiparser}
-BuildRequires: pkgconfig(liburiparser) >= %{liburiparser_ver}
+BuildRequires: pkgconfig(liburiparser) >= %{liburiparser_minver}
 %else
-Provides:      bundled(liburiparser) = %{liburiparser_ver}
+Provides:      bundled(liburiparser) = %{liburiparser_bunver}
 %endif
 # used for tests
 BuildRequires: %{_bindir}/ps
@@ -862,6 +864,7 @@ in pure PHP.
 %patch -P48 -p1 -b .ec-param
 
 # upstream patches
+%patch -P100 -p1 -b .v4
 
 # security patches
 
@@ -1663,6 +1666,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
 
 
 %changelog
+* Wed Apr 29 2026 Remi Collet <remi@remirepo.net> - 8.5.6~RC2-1
+- update to 8.5.6RC2
+
 * Wed Apr 22 2026 Remi Collet <remi@remirepo.net> - 8.5.6~RC1-1
 - update to 8.5.6RC1
 

diff --git a/sources b/sources
index d253a28..bc63d80 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (php-8.5.6RC1.tar.xz) = 7d6fae513d88f0f330b32ae5e887d516c99d84f94f0fbae7e600356e9d1eb889b9a8101437325adab5c57f23a17987f39e1b7230ed3c29dd4b681d3aefbe4361
-SHA512 (php-8.5.6RC1.tar.xz.asc) = 6a611507584c1da32a9c8ca9856883840ed011043b276167daec45cbb240e3069429cb90a27c4cbb1410c3dba8dc628abc046a07a850fcce0945a8e90f7d9c74
+SHA512 (php-8.5.6RC2.tar.xz) = f3d58ed306d3df790963fd933416274bd9adba369d21c53b0fc53b0d1c13277cc3f2ded4c59eaee52037d918c7ea862a87b8d2ce85a00e76bd3cb5ac05a469f0
+SHA512 (php-8.5.6RC2.tar.xz.asc) = ed5bb2a3ac744fa2520c4c92324449e794119c101eef52e1c5488f26982ee1772c2cbc2631994727429c1fe907d13ade770a1bb84cfdf8c3c9bc3c0ef02635a8

                 reply	other threads:[~2026-11-27  7:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576485971.1.11419619406693472425.rpms-php-b8026c117fa2@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox