From dd302242f64c9b907b4aee2acab545867279fc98 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 15 Aug 2022 14:49:04 +0800 Subject: smarty: upgrade 4.1.1 -> 4.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog: ========== add local testrunners for all supported PHP versions using docker. Fix PHP 8.1 htmlspecialchars deprecation Do not use obsolete smarty properties '_dir_perms', '_file_perms', 'p… Update to HTML5-syntax in debug template Merge branch 'fix-issue-549-v3' of github.com:AnrDaemon/smarty into A… Fixed second param of unescape modifier Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/smarty/smarty_4.1.1.bb | 26 -------------------------- meta-oe/recipes-support/smarty/smarty_4.2.0.bb | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-support/smarty/smarty_4.1.1.bb create mode 100644 meta-oe/recipes-support/smarty/smarty_4.2.0.bb (limited to 'meta-oe/recipes-support/smarty') diff --git a/meta-oe/recipes-support/smarty/smarty_4.1.1.bb b/meta-oe/recipes-support/smarty/smarty_4.1.1.bb deleted file mode 100644 index df441e8db2..0000000000 --- a/meta-oe/recipes-support/smarty/smarty_4.1.1.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 = "71036be8be02bf93735c47b0b745f722efbc729f" - -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.0.bb b/meta-oe/recipes-support/smarty/smarty_4.2.0.bb new file mode 100644 index 0000000000..2cd96a255d --- /dev/null +++ b/meta-oe/recipes-support/smarty/smarty_4.2.0.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 = "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/" -- cgit v1.2.3-54-g00ecf