From 5abd56e9aa0a0a8c655136da7b65e1f6e76ec48e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 12 Dec 2024 14:15:19 +0800 Subject: smarty: update 4.4.1 -> 4.5.5 Changelog: =========== - Add PHP 8.4 support to Smarty - Fixed that using count() would trigger a deprecation notice. - Fixed argument must be passed by reference error introduced in v4.5.1 - Using PHP functions and static class methods in expressions now also triggers a deprecation notice Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/smarty/smarty_4.4.1.bb | 28 -------------------------- meta-oe/recipes-support/smarty/smarty_4.5.5.bb | 28 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 meta-oe/recipes-support/smarty/smarty_4.4.1.bb create mode 100644 meta-oe/recipes-support/smarty/smarty_4.5.5.bb diff --git a/meta-oe/recipes-support/smarty/smarty_4.4.1.bb b/meta-oe/recipes-support/smarty/smarty_4.4.1.bb deleted file mode 100644 index e0979bb5aa..0000000000 --- a/meta-oe/recipes-support/smarty/smarty_4.4.1.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "the compiling PHP template engine" -SECTION = "console/network" -HOMEPAGE = "https://www.smarty.net/" - -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3" - -DEPENDS += "php" - -SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=support/4.3" - -SRCREV = "f4152e9b814ae2369b6e4935c05e1e0c3654318d" - -S = "${WORKDIR}/git" - -do_install() { - install -d ${D}${datadir}/php/smarty3/libs/ - install -m 0644 ${S}/libs/*.php ${D}${datadir}/php/smarty3/libs/ - - install -d ${D}${datadir}/php/smarty3/libs/plugins - install -m 0644 ${S}/libs/plugins/*.php ${D}${datadir}/php/smarty3/libs/plugins/ - - install -d ${D}${datadir}/php/smarty3/libs/sysplugins - install -m 0644 ${S}/libs/sysplugins/*.php ${D}${datadir}/php/smarty3/libs/sysplugins/ -} -FILES:${PN} = "${datadir}/php/smarty3/" - -CVE_STATUS[CVE-2020-10375] = "cpe-incorrect: The recipe used in the meta-openembedded is a different smarty package compared to the one which has the CVE issue." diff --git a/meta-oe/recipes-support/smarty/smarty_4.5.5.bb b/meta-oe/recipes-support/smarty/smarty_4.5.5.bb new file mode 100644 index 0000000000..e8a63a74a7 --- /dev/null +++ b/meta-oe/recipes-support/smarty/smarty_4.5.5.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "the compiling PHP template engine" +SECTION = "console/network" +HOMEPAGE = "https://www.smarty.net/" + +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3" + +DEPENDS += "php" + +SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=support/4" + +SRCREV = "c4851c12e34ff80073ddeb7d98b059d57dea9de2" + +S = "${WORKDIR}/git" + +do_install() { + install -d ${D}${datadir}/php/smarty3/libs/ + install -m 0644 ${S}/libs/*.php ${D}${datadir}/php/smarty3/libs/ + + install -d ${D}${datadir}/php/smarty3/libs/plugins + install -m 0644 ${S}/libs/plugins/*.php ${D}${datadir}/php/smarty3/libs/plugins/ + + install -d ${D}${datadir}/php/smarty3/libs/sysplugins + install -m 0644 ${S}/libs/sysplugins/*.php ${D}${datadir}/php/smarty3/libs/sysplugins/ +} +FILES:${PN} = "${datadir}/php/smarty3/" + +CVE_STATUS[CVE-2020-10375] = "cpe-incorrect: The recipe used in the meta-openembedded is a different smarty package compared to the one which has the CVE issue." -- cgit v1.2.3-54-g00ecf