diff mbox series

[meta-oe,master] php: upgrade 8.2.20 -> 8.2.26

Message ID 20241220074241.1346260-1-vanusuri@mvista.com
State Under Review
Headers show
Series [meta-oe,master] php: upgrade 8.2.20 -> 8.2.26 | expand

Commit Message

Vijay Anusuri Dec. 20, 2024, 7:42 a.m. UTC
From: Vijay Anusuri <vanusuri@mvista.com>

Includes fix for CVE-2024-8925, CVE-2024-8926, CVE-2024-8927,
CVE-2024-9026, CVE-2024-8929, CVE-2024-11236, CVE-2024-11234 and
CVE-2024-11233

Changelog:
https://www.php.net/ChangeLog-8.php#8.2.26

Refresh 0001-ext-opcache-config.m4-enable-opcache.patch to new version

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
---
 .../php/0001-ext-opcache-config.m4-enable-opcache.patch    | 7 +++++--
 .../recipes-devtools/php/{php_8.2.20.bb => php_8.2.26.bb}  | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/php/{php_8.2.20.bb => php_8.2.26.bb} (99%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/php/php/0001-ext-opcache-config.m4-enable-opcache.patch b/meta-oe/recipes-devtools/php/php/0001-ext-opcache-config.m4-enable-opcache.patch
index c743697469..783717a185 100644
--- a/meta-oe/recipes-devtools/php/php/0001-ext-opcache-config.m4-enable-opcache.patch
+++ b/meta-oe/recipes-devtools/php/php/0001-ext-opcache-config.m4-enable-opcache.patch
@@ -23,6 +23,9 @@  Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
 
 update patch to version 8.2.18
 Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
+
+update patch to version 8.2.26
+Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
 ---
  ext/opcache/config.m4 | 204 ++----------------------------------------
  1 file changed, 8 insertions(+), 196 deletions(-)
@@ -247,8 +250,8 @@  index 6bf07ad3..5d645b86 100644
 +  have_shm_mmap_posix=yes
 +  PHP_CHECK_LIBRARY(rt, shm_unlink, [PHP_ADD_LIBRARY(rt,1,OPCACHE_SHARED_LIBADD)])
  
-   PHP_NEW_EXTENSION(opcache,
- 	ZendAccelerator.c \
+   AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough],
+     [PHP_OPCACHE_CFLAGS="$PHP_OPCACHE_CFLAGS -Wno-implicit-fallthrough"],,
 -- 
 2.40.0
 
diff --git a/meta-oe/recipes-devtools/php/php_8.2.20.bb b/meta-oe/recipes-devtools/php/php_8.2.26.bb
similarity index 99%
rename from meta-oe/recipes-devtools/php/php_8.2.20.bb
rename to meta-oe/recipes-devtools/php/php_8.2.26.bb
index f306b16931..f5e57ab36a 100644
--- a/meta-oe/recipes-devtools/php/php_8.2.20.bb
+++ b/meta-oe/recipes-devtools/php/php_8.2.26.bb
@@ -34,7 +34,7 @@  SRC_URI:append:class-target = " \
           "
 
 S = "${WORKDIR}/php-${PV}"
-SRC_URI[sha256sum] = "5dec6fa61c7b9c47aa1d76666be651f2642ed2bcf6cd8638c57e3571ce2aac61"
+SRC_URI[sha256sum] = "be57c347d451c905bcb4336832a864d9928dd0e20989b872705fea0ba6476c6b"
 
 CVE_STATUS_GROUPS += "CVE_STATUS_PHP"
 CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored."