Date: Fri, 3 Jun 2022 09:04:10 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9e760ad9e23d - main - www/smarty3: Update to 3.1.45 Message-ID: <202206030904.25394ABM089423@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e760ad9e23dd35eaf3f643b7a388c4c68738459 commit 9e760ad9e23dd35eaf3f643b7a388c4c68738459 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-03 08:50:19 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-03 09:00:27 +0000 www/smarty3: Update to 3.1.45 - Fix LICENSE - Reformat pkg-descr - Take maintainership Changes: https://github.com/smarty-php/smarty/releases https://github.com/smarty-php/smarty/blob/support/3.1/CHANGELOG.md Security: CVE-2021-21408, CVE-2021-26119, CVE-2021-26120, CVE-2021-29454, CVE-2022-29221 --- www/smarty3/Makefile | 18 +++++++++--------- www/smarty3/distinfo | 6 +++--- www/smarty3/files/pkg-message.in | 4 ++-- www/smarty3/pkg-descr | 17 ++++++++--------- 4 files changed, 22 insertions(+), 23 deletions(-) diff --git a/www/smarty3/Makefile b/www/smarty3/Makefile index 959a3c3faba9..da5e528dd2da 100644 --- a/www/smarty3/Makefile +++ b/www/smarty3/Makefile @@ -2,30 +2,30 @@ PORTNAME= smarty DISTVERSIONPREFIX= v -DISTVERSION= 3.1.34 +PORTVERSION= 3.1.45 CATEGORIES= www PKGNAMESUFFIX= 3${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP compiling template engine -LICENSE= LGPL21+ +LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cpe php:web,flavors +USES= cpe php:flavors,web USE_PHP= pcre -USE_GITHUB= yes -GH_ACCOUNT= smarty-php NO_ARCH= yes NO_BUILD= yes +DATADIR= ${PREFIX}/share/smarty3${PHP_PKGNAMESUFFIX} SUB_FILES= pkg-message -DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} +USE_GITHUB= yes +GH_ACCOUNT= smarty-php do-install: - @${MKDIR} ${STAGEDIR}${DATADIR} - (cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include <bsd.port.mk> diff --git a/www/smarty3/distinfo b/www/smarty3/distinfo index c26ca1d56a74..3cf5f11542ff 100644 --- a/www/smarty3/distinfo +++ b/www/smarty3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1585780469 -SHA256 (smarty-php-smarty-v3.1.34_GH0.tar.gz) = f1830270b96faf8b2a79a34eaee1fa683e77c986805dd88f305648a8c1b5cda2 -SIZE (smarty-php-smarty-v3.1.34_GH0.tar.gz) = 250396 +TIMESTAMP = 1653925906 +SHA256 (smarty-php-smarty-v3.1.45_GH0.tar.gz) = 4e8dcc8b52ea097b93d32aa432cb552547568ae328505d25af078d63354a9a83 +SIZE (smarty-php-smarty-v3.1.45_GH0.tar.gz) = 265781 diff --git a/www/smarty3/files/pkg-message.in b/www/smarty3/files/pkg-message.in index d19f8e1461ee..d46544aea6db 100644 --- a/www/smarty3/files/pkg-message.in +++ b/www/smarty3/files/pkg-message.in @@ -1,10 +1,10 @@ [ { type: install message: <<EOM -You need to adjust php's include_path to contain `%%DATADIR%%'! +You need to adjust php's include_path to contain %%DATADIR%%! For example, insert include_path = ".:%%DATADIR%%" -into `%%LOCALBASE%%/etc/php.ini'. +into %%LOCALBASE%%/etc/php.ini. EOM } ] diff --git a/www/smarty3/pkg-descr b/www/smarty3/pkg-descr index cc964e5a43f2..5a72dea37c6e 100644 --- a/www/smarty3/pkg-descr +++ b/www/smarty3/pkg-descr @@ -1,11 +1,10 @@ -Smarty is a template engine for PHP. Many other template engines for PHP -provide basic variable substitution and dynamic block functionality. -Smarty takes a step further to be a "smart" template engine, adding -features such as configuration files, template functions, and variable -modifiers, and making all of this functionality as easy as possible to -use for both programmers and template designers. Smarty also converts -the templates into PHP scripts, eliminating the need to parse the -templates on every invocation. This makes Smarty extremely scalable and -managable for large application needs. +Smarty is a template engine for PHP. Many other template engines for PHP provide +basic variable substitution and dynamic block functionality. Smarty takes a step +further to be a "smart" template engine, adding features such as configuration +files, template functions, and variable modifiers, and making all of this +functionality as easy as possible to use for both programmers and template +designers. Smarty also converts the templates into PHP scripts, eliminating the +need to parse the templates on every invocation. This makes Smarty extremely +scalable and managable for large application needs. WWW: https://www.smarty.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206030904.25394ABM089423>