mirror of
git://git.openembedded.org/meta-openembedded
synced 2025-12-31 13:38:06 +00:00
Some CVEs assign smarty-php as the vendor to the corresponding CPE. E.g CVE-2024-35226[1] is tracked with smarty-php:smarty by mitre (NVD tracks it without CPE). [1]: https://cveawg.mitre.org/api/cve/CVE-2024-35226 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
38 lines
1.1 KiB
BlitzBasic
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 = "73da7e90f302175a570662fcb0ba41f57b7a92ab"
|
|
|
|
|
|
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"
|