import php-8.0.27-1.el9_1

This commit is contained in:
CentOS Sources 2023-03-28 11:35:19 +00:00 committed by Stepan Oksanichenko
parent fca0ee7648
commit a5ae9ae2a4
7 changed files with 230 additions and 262 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/php-8.0.20.tar.xz SOURCES/php-8.0.27.tar.xz
SOURCES/php-keyring.gpg SOURCES/php-keyring.gpg

View File

@ -1,2 +1,2 @@
20fb0e37359586a6794ecf57f2b63c2f2c396f5c SOURCES/php-8.0.20.tar.xz ac46d5e81f142f65130407d073997f549f316b4f SOURCES/php-8.0.27.tar.xz
7325aa0b303d1a0187b2066e407645b5bea29c8c SOURCES/php-keyring.gpg 84a18625778745667413034f693446ea76846714 SOURCES/php-keyring.gpg

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJEBAABCgAuFiEEFyn4OTjaROJ7oPTT29s5dHDRIXIFAmKf85UQHHBvbGxpdGFA
cGhwLm5ldAAKCRDb2zl0cNEhck+gEAC/LtjNXwNKHtE3M/mj8cYKIq3nJ1eOI7lD
9NBz+hUdMpH1RjtYqrEjflVWyLLRlqfa3ZtX9mlVEq1Z/+bUKR9a0OYyXOD1ZKYe
nt6m2exrt4ZgynTDiwZrpcoT+yM5qhKx8OhiiLSOREI7M3Zrf5tmxuCnrDTwWq4n
6KlbeGg4KMq1HsAir8BVXTMV5C9BSChkBFgZtc6I1Mw4WfeBByrxILEPi9EFj2jy
SSZBTUI/0sHKC1DAan1Ixdj5RAHWdpks8wAX5padQDDK+tytQLe92jQh1hD4scGE
PGwPKaJ9I4UyBleuGV2oAFIXANwwWs54zqjW9QezbXJFU5PLNNyViOGfeNRv75uN
jMOoi34/1egYpNM5OSHlLJi8Th1otvWmLqP/cSwRHFAjj9kp4g0kmKLNpOTxg/oo
DtpX70FxlQhhJEpjKbJ0GIJbjZuvVkMBx6j4VyjL/GP67o/eCWinyiKGpI8uU3mL
ihItvHydGoBgp3COYG3yVClHjWrJMsF4rABY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33 +0,0 @@
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),

View File

@ -56,13 +56,13 @@
%bcond_with imap %bcond_with imap
%bcond_without lmdb %bcond_without lmdb
%global upver 8.0.20 %global upver 8.0.27
#global rcver RC1 #global rcver RC1
Summary: PHP scripting language for creating dynamic web sites Summary: PHP scripting language for creating dynamic web sites
Name: php Name: php
Version: %{upver}%{?rcver:~%{rcver}} Version: %{upver}%{?rcver:~%{rcver}}
Release: 3%{?dist} Release: 1%{?dist}
# All files licensed under PHP version 3.01, except # All files licensed under PHP version 3.01, except
# Zend is licensed under Zend # Zend is licensed under Zend
# TSRM is licensed under BSD # TSRM is licensed under BSD
@ -118,12 +118,11 @@ Patch48: php-8.0.10-snmp-sha.patch
# implement openssl_256 and openssl_512 for phar signatures, from 8.1 # implement openssl_256 and openssl_512 for phar signatures, from 8.1
Patch49: php-8.0.10-phar-sha.patch Patch49: php-8.0.10-phar-sha.patch
# compatibility with OpenSSL 3.0, from 8.1 # compatibility with OpenSSL 3.0, from 8.1
Patch50: php-8.0.10-openssl3.patch Patch50: php-8.0.21-openssl3.patch
# use system libxcrypt # use system libxcrypt
Patch51: php-8.0.13-crypt.patch Patch51: php-8.0.13-crypt.patch
# Upstream fixes (100+) # Upstream fixes (100+)
Patch100: php-mbstring.patch
# Security fixes (200+) # Security fixes (200+)
@ -726,7 +725,6 @@ rm ext/openssl/tests/p12_with_extra_certs.p12
%patch51 -p1 -b .libxcrypt %patch51 -p1 -b .libxcrypt
# upstream patches # upstream patches
%patch100 -p1 -b .up
# security patches # security patches
@ -1537,6 +1535,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%changelog %changelog
* Fri Jan 13 2023 Remi Collet <rcollet@redhat.com> - 8.0.27-1
- rebase to 8.0.27
* Mon Aug 1 2022 Remi Collet <rcollet@redhat.com> - 8.0.20-3 * Mon Aug 1 2022 Remi Collet <rcollet@redhat.com> - 8.0.20-3
- snmp3 calls using authPriv or authNoPriv immediately return false #2104630 - snmp3 calls using authPriv or authNoPriv immediately return false #2104630