From 1cc18a2a6265a99f333393c47759c2f8762d9d86 Mon Sep 17 00:00:00 2001 From: Ankur Tyagi Date: Wed, 19 Nov 2025 08:20:09 +1300 Subject: smarty: upgrade 5.4.5 -> 5.6.0 Changelog: https://github.com/smarty-php/smarty/blob/v5.6.0/CHANGELOG.md Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj --- meta-oe/recipes-support/smarty/smarty_5.4.5.bb | 37 -------------------------- meta-oe/recipes-support/smarty/smarty_5.6.0.bb | 37 ++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 meta-oe/recipes-support/smarty/smarty_5.4.5.bb create mode 100644 meta-oe/recipes-support/smarty/smarty_5.6.0.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/smarty/smarty_5.4.5.bb b/meta-oe/recipes-support/smarty/smarty_5.4.5.bb deleted file mode 100644 index 7f99b9b5d7..0000000000 --- a/meta-oe/recipes-support/smarty/smarty_5.4.5.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "Template engine for PHP" -DESCRIPTION = "\ - Smarty facilitates the separation of presentation (HTML/CSS) from \ - application logic. This implies that PHP code is application logic, and is \ - separated from the presentation. \ -" -HOMEPAGE = "https://smarty-php.github.io/smarty/" -BUGTRACKER = "https://github.com/smarty-php/smarty/issues" - -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3" - -SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master;tag=v${PV}" - -SRCREV = "e26f82d02c4d18fc82094c28fbc65f711e39ed5d" - - -INHIBIT_DEFAULT_DEPS = "1" - -# `make clean` removes files, they can't be rebuild with `make all` -CLEANBROKEN = "1" - -do_configure[noexec] = "1" -do_compile[noexec] = "1" - -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/src/ - cp -rf ${S}/src/* ${D}${datadir}/php/smarty3/src/ -} -FILES:${PN} += "${datadir}/php/smarty3/" - -RDEPENDS:${PN} = "php" - -CVE_PRODUCT = "smarty:smarty" diff --git a/meta-oe/recipes-support/smarty/smarty_5.6.0.bb b/meta-oe/recipes-support/smarty/smarty_5.6.0.bb new file mode 100644 index 0000000000..88afc55c15 --- /dev/null +++ b/meta-oe/recipes-support/smarty/smarty_5.6.0.bb @@ -0,0 +1,37 @@ +SUMMARY = "Template engine for PHP" +DESCRIPTION = "\ + Smarty facilitates the separation of presentation (HTML/CSS) from \ + application logic. This implies that PHP code is application logic, and is \ + separated from the presentation. \ +" +HOMEPAGE = "https://smarty-php.github.io/smarty/" +BUGTRACKER = "https://github.com/smarty-php/smarty/issues" + +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3" + +SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master;tag=v${PV}" + +SRCREV = "1fc41e385da8a27a87bec5914392ab662a7bb8ec" + + +INHIBIT_DEFAULT_DEPS = "1" + +# `make clean` removes files, they can't be rebuild with `make all` +CLEANBROKEN = "1" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +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/src/ + cp -rf ${S}/src/* ${D}${datadir}/php/smarty3/src/ +} +FILES:${PN} += "${datadir}/php/smarty3/" + +RDEPENDS:${PN} = "php" + +CVE_PRODUCT = "smarty:smarty" -- cgit v1.2.3-54-g00ecf