public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: Update to 8.1.7 - http://www.php.net/releases/8_1_7.php
@ 2026-11-27 7:31 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27 7:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 44fd4ef0f2fc6de80909bc3f1274d66d87320ac8
Author : Remi Collet <remi@fedoraproject.org>
Date : 2022-06-08T08:29:58+02:00
Stats : +44/-3 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/44fd4ef0f2fc6de80909bc3f1274d66d87320ac8?branch=private-php86
Log:
Update to 8.1.7 - http://www.php.net/releases/8_1_7.php
add upstream patch to initialize pcre before mbstring
---
diff --git a/.gitignore b/.gitignore
index 4834ca3..3f90044 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,5 @@ php-7.*.xz.asc
/php-8.1.6.tar.xz.asc
/php-8.1.7RC1.tar.xz
/php-8.1.7RC1.tar.xz.asc
+/php-8.1.7.tar.xz
+/php-8.1.7.tar.xz.asc
diff --git a/php-mbstring.patch b/php-mbstring.patch
new file mode 100644
index 0000000..7da512b
--- /dev/null
+++ b/php-mbstring.patch
@@ -0,0 +1,33 @@
+From 2eb2f9d74f22bf35a4915ec95afc53a47ebf1af9 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 2 Jun 2022 08:05:22 +0200
+Subject: [PATCH] Fix GH-8685 mbstring requires pcre
+
+---
+ ext/mbstring/mbstring.c | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c
+index 48f22a682a19..4a4088aed3fb 100644
+--- a/ext/mbstring/mbstring.c
++++ b/ext/mbstring/mbstring.c
+@@ -161,9 +161,18 @@ static const php_mb_nls_ident_list php_mb_default_identify_list[] = {
+
+ /* }}} */
+
++/* {{{ mbstring_deps[] */
++static const zend_module_dep mbstring_deps[] = {
++ ZEND_MOD_REQUIRED("pcre")
++ ZEND_MOD_END
++};
++/* }}} */
++
+ /* {{{ zend_module_entry mbstring_module_entry */
+ zend_module_entry mbstring_module_entry = {
+- STANDARD_MODULE_HEADER,
++ STANDARD_MODULE_HEADER_EX,
++ NULL,
++ mbstring_deps,
+ "mbstring",
+ ext_functions,
+ PHP_MINIT(mbstring),
diff --git a/php.spec b/php.spec
index 78d7059..7488b7c 100644
--- a/php.spec
+++ b/php.spec
@@ -65,7 +65,7 @@
%bcond_without lmdb
%global upver 8.1.7
-%global rcver RC1
+#global rcver RC1
Summary: PHP scripting language for creating dynamic web sites
Name: php
@@ -121,6 +121,7 @@ Patch45: php-7.4.0-ldap_r.patch
Patch47: php-8.1.0-phpinfo.patch
# Upstream fixes (100+)
+Patch100: php-mbstring.patch
# Security fixes (200+)
@@ -722,6 +723,7 @@ in pure PHP.
%patch47 -p1 -b .phpinfo
# upstream patches
+%patch100 -p1 -b .up
# security patches
@@ -1541,6 +1543,10 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%changelog
+* Wed Jun 8 2022 Remi Collet <remi@remirepo.net> - 8.1.7-1
+- Update to 8.1.7 - http://www.php.net/releases/8_1_7.php
+- add upstream patch to initialize pcre before mbstring
+
* Wed May 25 2022 Remi Collet <remi@remirepo.net> - 8.1.7~RC1-1
- update to 8.1.7RC1
diff --git a/sources b/sources
index 8f7d725..bc783e3 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (php-8.1.7RC1.tar.xz) = 436290d09349f2a97bbf5d9425b54a3e63aa152104aef16509430f8f61aae0271587a4cf6a68d96cd8ede7d0b471a8c57e5ad4e99c99b5ae8c776bb3c03375e9
-SHA512 (php-8.1.7RC1.tar.xz.asc) = 80ce5fcebdc1468e3f03ce8a9c8d74b3bf089dbcc803ad5c5029f1d6f3f7f396b75fd44e92ef2dcd390409084e3feea8688aa43aa4df056d08e578697ee9c475
+SHA512 (php-8.1.7.tar.xz) = 1d72db220f3485310e02b67c41dd6434c26b7118f673ba7f425ff6b79cc96c86fc45bfe9c90b302d719eb9b7a5334f363a92ac309c367aacc93ab31a72a63c45
+SHA512 (php-8.1.7.tar.xz.asc) = 9c34d74718261ed2a3375bb06a1e4d68b71d091c12558868bd0ab0325a5046e88af0b8a09fc4035169d681f98b14e108c04ea24053d7d80ca4a0cee5510054fa
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:31 [rpms/php] private-php86: Update to 8.1.7 - http://www.php.net/releases/8_1_7.php Remi Collet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox