Files
Wang Mingyu 43fc425c32 smarty: upgrade 5.8.3 -> 5.8.4
Changelog:
============
- Fixed a 'TypeError' on PHP 8 when 'Security::$static_classes' was set to a
  non-array value (e.g. the string ''none'') to disable static class access;
  any non-array value now cleanly denies access. Use 'Security::$static_classes =
  null' to disable access to all static classes.
- Security: the built-in 'stream:' resource type now validates the nested
  stream wrapper against the security policy, so a template such as
  'stream:php://filter/...' can no longer bypass 'Security::$streams' (including
  'Security::$streams = null') to read local files

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-08 11:05:06 -07:00

38 lines
1.1 KiB
BlitzBasic

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 = "94a27cbbc7820198d7adc17a2be8d457fb267753"
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 smarty-php:smarty"