From 698c93690b73ad295e806f35eea1389784944309 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 6 Mar 2024 16:43:27 +0800 Subject: smarty: upgrade 4.3.4 -> 4.4.1 Changelog: =========== - Fixed internal release-tooling - Using the '|implode', '|json_encode' and '|substr' modifiers does not generate a deprecation warning anymore as they will continue to be supported in v5 - PHP8.3 support - Incorrect compilation of expressions when escape_html=true Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/smarty/smarty_4.3.4.bb | 26 -------------------------- meta-oe/recipes-support/smarty/smarty_4.4.1.bb | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-support/smarty/smarty_4.3.4.bb create mode 100644 meta-oe/recipes-support/smarty/smarty_4.4.1.bb (limited to 'meta-oe/recipes-support') diff --git a/meta-oe/recipes-support/smarty/smarty_4.3.4.bb b/meta-oe/recipes-support/smarty/smarty_4.3.4.bb deleted file mode 100644 index 960d0665d..000000000 --- a/meta-oe/recipes-support/smarty/smarty_4.3.4.bb +++ /dev/null @@ -1,26 +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 = "3931d8f54b8f7a4ffab538582d34d4397ba8daa5" - -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/" diff --git a/meta-oe/recipes-support/smarty/smarty_4.4.1.bb b/meta-oe/recipes-support/smarty/smarty_4.4.1.bb new file mode 100644 index 000000000..1caa4cd1b --- /dev/null +++ b/meta-oe/recipes-support/smarty/smarty_4.4.1.bb @@ -0,0 +1,26 @@ +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/" -- cgit v1.2.3-54-g00ecf