summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/smarty
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/smarty')
-rw-r--r--meta-oe/recipes-support/smarty/smarty_4.4.1.bb26
-rw-r--r--meta-oe/recipes-support/smarty/smarty_5.4.5.bb37
2 files changed, 37 insertions, 26 deletions
diff --git a/meta-oe/recipes-support/smarty/smarty_4.4.1.bb b/meta-oe/recipes-support/smarty/smarty_4.4.1.bb
deleted file mode 100644
index 1caa4cd1bb..0000000000
--- a/meta-oe/recipes-support/smarty/smarty_4.4.1.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1DESCRIPTION = "the compiling PHP template engine"
2SECTION = "console/network"
3HOMEPAGE = "https://www.smarty.net/"
4
5LICENSE = "GPL-3.0-only"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
7
8DEPENDS += "php"
9
10SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=support/4.3"
11
12SRCREV = "f4152e9b814ae2369b6e4935c05e1e0c3654318d"
13
14S = "${WORKDIR}/git"
15
16do_install() {
17 install -d ${D}${datadir}/php/smarty3/libs/
18 install -m 0644 ${S}/libs/*.php ${D}${datadir}/php/smarty3/libs/
19
20 install -d ${D}${datadir}/php/smarty3/libs/plugins
21 install -m 0644 ${S}/libs/plugins/*.php ${D}${datadir}/php/smarty3/libs/plugins/
22
23 install -d ${D}${datadir}/php/smarty3/libs/sysplugins
24 install -m 0644 ${S}/libs/sysplugins/*.php ${D}${datadir}/php/smarty3/libs/sysplugins/
25}
26FILES:${PN} = "${datadir}/php/smarty3/"
diff --git a/meta-oe/recipes-support/smarty/smarty_5.4.5.bb b/meta-oe/recipes-support/smarty/smarty_5.4.5.bb
new file mode 100644
index 0000000000..047f10589d
--- /dev/null
+++ b/meta-oe/recipes-support/smarty/smarty_5.4.5.bb
@@ -0,0 +1,37 @@
1SUMMARY = "Template engine for PHP"
2DESCRIPTION = "\
3 Smarty facilitates the separation of presentation (HTML/CSS) from \
4 application logic. This implies that PHP code is application logic, and is \
5 separated from the presentation. \
6"
7HOMEPAGE = "https://smarty-php.github.io/smarty/"
8BUGTRACKER = "https://github.com/smarty-php/smarty/issues"
9
10LICENSE = "GPL-3.0-only"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
12
13SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master;tag=v${PV}"
14
15SRCREV = "e26f82d02c4d18fc82094c28fbc65f711e39ed5d"
16
17
18INHIBIT_DEFAULT_DEPS = "1"
19
20# `make clean` removes files, they can't be rebuild with `make all`
21CLEANBROKEN = "1"
22
23do_configure[noexec] = "1"
24do_compile[noexec] = "1"
25
26do_install() {
27 install -d ${D}${datadir}/php/smarty3/libs/
28 install -m 0644 ${S}/libs/*.php ${D}${datadir}/php/smarty3/libs/
29
30 install -d ${D}${datadir}/php/smarty3/src/
31 cp -rf ${S}/src/* ${D}${datadir}/php/smarty3/src/
32}
33FILES:${PN} += "${datadir}/php/smarty3/"
34
35RDEPENDS:${PN} = "php"
36
37CVE_STATUS[CVE-2020-10375] = "cpe-incorrect: The recipe used in the meta-openembedded is a different smarty package compared to the one which has the CVE issue."