From cd9d926b8c6659ebfa55b0f2a9842bfba54d89b1 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 20 Sep 2022 10:30:36 +0800 Subject: smarty: upgrade 4.2.0 -> 4.2.1 Changelog: ========= Security --------- Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks #454 Fixed -------- Fixed PHP8.1 deprecation errors in modifiers (upper, explode, number_format and replace) #755 and #788 Fixed PHP8.1 deprecation errors in capitalize modifier #789 Fixed use of rand() without a parameter in math function #794 Fixed unselected year/month/day not working in html_select_date #395 Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj --- meta-oe/recipes-support/smarty/smarty_4.2.0.bb | 26 -------------------------- meta-oe/recipes-support/smarty/smarty_4.2.1.bb | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-support/smarty/smarty_4.2.0.bb create mode 100644 meta-oe/recipes-support/smarty/smarty_4.2.1.bb diff --git a/meta-oe/recipes-support/smarty/smarty_4.2.0.bb b/meta-oe/recipes-support/smarty/smarty_4.2.0.bb deleted file mode 100644 index 2cd96a255d..0000000000 --- a/meta-oe/recipes-support/smarty/smarty_4.2.0.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=master" - -SRCREV = "97aeb14c6fc2fb733938809926e2f9d6c581a70d" - -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.2.1.bb b/meta-oe/recipes-support/smarty/smarty_4.2.1.bb new file mode 100644 index 0000000000..71040d0164 --- /dev/null +++ b/meta-oe/recipes-support/smarty/smarty_4.2.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=master" + +SRCREV = "ffa2b81a8e354a49fd8a2f24742dc9dc399e8007" + +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