11 Commits

Author SHA1 Message Date
Ninette Adhikari 3a819d34c6 smarty: Update status for CVE-2020-10375
The recipe used in the meta-openembedded is a different package compared to the one which has the CVE issue.
Package used in meta-embedded: https://www.smarty.net/
Package with CVE issue is from newmediacompany: https://www.smarty-online.de
No action required.

Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-14 10:20:37 -07:00
Wang Mingyu 698c93690b smarty: upgrade 4.3.4 -> 4.4.1
Changelog:
===========
- Fixed internal release-tooling
- Using the '|implode', '|json_encode' and '|substr' modifiers does not generate
 a deprecation warning anymore as they will continue to be supported in v5
- PHP8.3 support
- Incorrect compilation of expressions when escape_html=true

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:24 -08:00
Khem Raj 35032d37c8 smarty: upgrade 4.3.0 -> 4.3.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:15 -08:00
Wang Mingyu 57c9b88e08 smarty: upgrade 4.2.1 -> 4.3.0
Changelog:
==========
    clean output buffer for Throwable instead of just Exception
    Fix wrong indentation in libs/plugins/modifier.capitalize.php
    fix compilation for caching templates
    Fix Variable Expression
    Silence deprecation errors for strtime in PHP8.1 or higher
    Fixed PHP8.1 deprecation errors passing null to parameter in trim
    Re-organize all testrunners to use the same script(s).
    Fixed PHP8.1 deprecation errors in strip_tags
    #155 Adapt Smarty upper/lower functions to be codesafe (e.g. for Turkish locale)
    Bug fix for underscore in template name
    Using PHP functions as modifiers now triggers a deprecation notice.
    Use 'DIR' instead of 'dirname(FILE)'
    Fixed several typos and grammar errors
    PHP8.2 compatibility
    Make SmartyCompilerException play nicer with error handler libraries
    Change file permissions for directories and respect umask for files

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-28 11:32:26 -08:00
zhengruoqin cd9d926b8c smarty: upgrade 4.2.0 -> 4.2.1
Changelog:
=========
Security
---------
    Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks #454

Fixed
--------
    Fixed PHP8.1 deprecation errors in modifiers (upper, explode, number_format and replace) #755 and #788
    Fixed PHP8.1 deprecation errors in capitalize modifier #789
    Fixed use of rand() without a parameter in math function #794
    Fixed unselected year/month/day not working in html_select_date #395

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-20 18:55:26 -07:00
Wang Mingyu dd302242f6 smarty: upgrade 4.1.1 -> 4.2.0
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-15 16:27:53 -07:00
Wang Mingyu 9374648c39 smarty: upgrade 4.1.0 -> 4.1.1
Changelog:
==========
Security
--------
    Prevent PHP injection through malicious block name or include file name. This addresses CVE-2022-29221

Fixed
-------
    Exclude docs and demo from export and composer #751
    PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php #706
    PHP 8.1 deprecation notices in truncate modifier #699
    Math equation max(x, y) didn't work anymore #721
    Fix PHP 8.1 deprecated warning when calling rtrim #743
    PHP 8.1: fix deprecation in escape modifier #727

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-24 08:39:45 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj a9d994c2fd smarty: Upgrade to 4.1.0
Changes are here [1]

[1] https://github.com/smarty-php/smarty/releases/tag/v4.1.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-11 09:46:44 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
zangrc e06935c6c1 smarty: Add recipe
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-27 11:34:56 -07:00