Skip to contentSkip to conversation

php: upgrade 7.3.11 -> 7.3.16

PATCH New Changqing Li 1 participant 1 message Apr 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 php: upgrade 7.3.11 -> 7.3.16

From: Changqing Li <[email protected]>

* upgrade to 7.3.16
* remove unuseful patches

---
 ...nclude.m4-skip-binconfig-check-for-libxml.patch | 56 --------------
 ...i.c-build-empty-php_load_zend_extension_c.patch | 63 ----------------
 meta-oe/recipes-devtools/php/php/70_mod_php5.conf  | 12 ---
 .../recipes-devtools/php/php/CVE-2019-11045.patch  | 78 --------------------
 .../recipes-devtools/php/php/CVE-2019-11046.patch  | 59 ---------------
 .../recipes-devtools/php/php/CVE-2019-11047.patch  | 57 --------------
 .../recipes-devtools/php/php/CVE-2019-11050.patch  | 53 -------------
 .../recipes-devtools/php/php/CVE-2020-7059.patch   | 86 ----------------------
 .../php/{php_7.3.11.bb => php_7.3.16.bb}           |  9 +--
 9 files changed, 2 insertions(+), 471 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/php/php/0001-acinclude.m4-skip-binconfig-check-for-libxml.patch
 delete mode 100644 meta-oe/recipes-devtools/php/php/0001-main-php_ini.c-build-empty-php_load_zend_extension_c.patch
 delete mode 100644 meta-oe/recipes-devtools/php/php/70_mod_php5.conf
 delete mode 100644 meta-oe/recipes-devtools/php/php/CVE-2019-11045.patch
 delete mode 100644 meta-oe/recipes-devtools/php/php/CVE-2019-11046.patch
 delete mode 100644 meta-oe/recipes-devtools/php/php/CVE-2019-11047.patch
 delete mode 100644 meta-oe/recipes-devtools/php/php/CVE-2019-11050.patch
 delete mode 100644 meta-oe/recipes-devtools/php/php/CVE-2020-7059.patch
 rename meta-oe/recipes-devtools/php/{php_7.3.11.bb => php_7.3.16.bb} (97%)
meta-oe/recipes-devtools/php/php/0001-acinclude.m4-skip-binconfig-check-for-libxml.patch deleted +0 -56
deleted file mode 100644
index 1532926..0000000
@@ -1,56 +0,0 @@
-From a2d146b8dd9d02f523d1e205d79792626a71dec3 Mon Sep 17 00:00:00 2001
-From: Anuj Mittal <[email protected]>
-Date: Mon, 2 Apr 2018 15:27:09 +0800
-Subject: [PATCH] acinclude.m4: skip binconfig check for libxml
-
-We want libxml flags to be picked up using pkg-config instead of the
-xml2-config file.
-
-Upstream-Status: Inappropriate [OE-specific]
-
-Signed-off-by: Anuj Mittal <[email protected]>
-
----
- acinclude.m4 | 29 -----------------------------
- 1 file changed, 29 deletions(-)
-
-diff --git a/acinclude.m4 b/acinclude.m4
-index d42d708..d32766a 100644
---- a/acinclude.m4
-+++ b/acinclude.m4
-@@ -2525,35 +2525,6 @@ dnl
- AC_DEFUN([PHP_SETUP_LIBXML], [
-   found_libxml=no
- 
--  dnl First try to find xml2-config
--  AC_CACHE_CHECK([for xml2-config path], ac_cv_php_xml2_config_path,
--  [
--    for i in $PHP_LIBXML_DIR /usr/local /usr; do
--      if test -x "$i/bin/xml2-config"; then
--        ac_cv_php_xml2_config_path="$i/bin/xml2-config"
--        break
--      fi
--    done
--  ])
--
--  if test -x "$ac_cv_php_xml2_config_path"; then
--    XML2_CONFIG="$ac_cv_php_xml2_config_path"
--    libxml_full_version=`$XML2_CONFIG --version`
--    ac_IFS=$IFS
--    IFS="."
--    set $libxml_full_version
--    IFS=$ac_IFS
--    LIBXML_VERSION=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
--    if test "$LIBXML_VERSION" -ge "2006011"; then
--      found_libxml=yes
--      LIBXML_LIBS=`$XML2_CONFIG --libs`
--      LIBXML_INCS=`$XML2_CONFIG --cflags`
--    else
--      AC_MSG_ERROR([libxml2 version 2.6.11 or greater required.])
--    fi
--  fi
--
--  dnl If xml2-config fails, try pkg-config
-   if test "$found_libxml" = "no"; then
-     if test -z "$PKG_CONFIG"; then
-       AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
meta-oe/recipes-devtools/php/php/0001-main-php_ini.c-build-empty-php_load_zend_extension_c.patch deleted +0 -63

63 lines not on this page · raw message

meta-oe/recipes-devtools/php/php/70_mod_php5.conf deleted +0 -12
deleted file mode 100644
index 1de6fb1..0000000
@@ -1,12 +0,0 @@
-# vim: ft=apache sw=4 ts=4
-<IfDefine PHP5>
-	# Load the module first
-	<IfModule !sapi_apache2.c>
-		LoadModule php5_module    lib/apache2/modules/libphp5.so
-	</IfModule>
-
-	# Set it to handle the files
-	AddHandler php5-script .php .phtml .php3 .php4 .php5
-	AddType application/x-httpd-php-source .phps
-	DirectoryIndex index.html index.html.var index.php index.phtml
-</IfDefine>
meta-oe/recipes-devtools/php/php/CVE-2019-11045.patch deleted +0 -78

78 lines not on this page · raw message

meta-oe/recipes-devtools/php/php/CVE-2019-11046.patch deleted +0 -59

59 lines not on this page · raw message

meta-oe/recipes-devtools/php/php/CVE-2019-11047.patch deleted +0 -57

57 lines not on this page · raw message

meta-oe/recipes-devtools/php/php/CVE-2019-11050.patch deleted +0 -53

53 lines not on this page · raw message

meta-oe/recipes-devtools/php/php/CVE-2020-7059.patch deleted +0 -86

86 lines not on this page · raw message

meta-oe/recipes-devtools/php/php_7.3.16.bb renamed from meta-oe/recipes-devtools/php/php_7.3.11.bb +2 -7
similarity index 97%
rename from meta-oe/recipes-devtools/php/php_7.3.11.bb
rename to meta-oe/recipes-devtools/php/php_7.3.16.bb
index 880ac83..050916b 100644
@@ -18,11 +18,6 @@ SRC_URI = "http://php.net/distributions/php-${PV}.tar.bz2 \
            file://0001-Use-pkg-config-for-libxml2-detection.patch \
            file://debian-php-fixheader.patch \
            file://CVE-2019-6978.patch \
-           file://CVE-2020-7059.patch \
-           file://CVE-2019-11045.patch \
-           file://CVE-2019-11046.patch \
-           file://CVE-2019-11047.patch \
-           file://CVE-2019-11050.patch \
           "
 
 SRC_URI_append_class-target = " \
@@ -39,8 +34,8 @@ SRC_URI_append_class-target = " \
             file://xfail_two_bug_tests.patch \
           "
 S = "${WORKDIR}/php-${PV}"
-SRC_URI[md5sum] = "21b710b4126d4d54714de9693a6c7b0d"
-SRC_URI[sha256sum] = "92d1ff4b13c7093635f1ec338a5e6891ca99b10e65fbcadd527e5bb84d11b5e7"
+SRC_URI[md5sum] = "fc72fa1c2a6da38a5a7f8797eaa08c58"
+SRC_URI[sha256sum] = "b8072d526a283182963b03960b7982392daa43cb31131eca4cf0b996764a042e"
 
 inherit autotools pkgconfig python3native gettext
 
Signature · 1 line
2.7.4