[packages/Smarty] up to 2.6.27, split->preg_split fixes (for php 5.3)

glen glen at pld-linux.org
Thu Jan 17 23:30:23 CET 2013


commit 1426c8500e30b9589a2fdf3157d0dbd5e91f1913
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Jan 18 00:28:38 2013 +0200

    up to 2.6.27, split->preg_split fixes (for php 5.3)
    
    2012-09-24  Uwe Tews
        * Fixed  escape Smarty error messages to avoid possible script execution
    
    2010-04-17  Uwe Tews
        * Fixed security hole in {math} plugin

 Smarty.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/Smarty.spec b/Smarty.spec
index 314dc99..ce9e703 100644
--- a/Smarty.spec
+++ b/Smarty.spec
@@ -4,12 +4,12 @@
 Summary:	Template engine for PHP
 Summary(pl.UTF-8):	System szablonów dla PHP
 Name:		Smarty
-Version:	2.6.26
-Release:	9
+Version:	2.6.27
+Release:	1
 License:	LGPL v2.1+
 Group:		Development/Languages/PHP
-Source0:	http://www.smarty.net/distributions/%{name}-%{version}.tar.gz
-# Source0-md5:	e0da351443b8613e1013c481ab30cb84
+Source0:	http://www.smarty.net/files/%{name}-%{version}.tar.gz
+# Source0-md5:	da7b37c8d4c2f35570b3a9710547b22d
 # Source1Download: http://www.smarty.net/download-docs.php
 Source1:	http://www.smarty.net/distributions/manual/en/%{name}-%{doc_version}-docs.tar.gz
 # Source1-md5:	5123152dd248898a84b96b806f551e78
@@ -19,9 +19,9 @@ Patch1:		modifier.mb_truncate.patch
 URL:		http://www.smarty.net/
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php(core) >= %{php_min_version}
+Requires:	php(date)
 Requires:	php(pcre)
 Requires:	php(tokenizer)
-Requires:	php-date
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Smarty.git/commitdiff/1426c8500e30b9589a2fdf3157d0dbd5e91f1913



More information about the pld-cvs-commit mailing list