diff --git a/php-pear-CAS-systemlibs.patch b/php-pear-CAS-systemlibs.patch
index 5b18b15..0811483 100644
--- a/php-pear-CAS-systemlibs.patch
+++ b/php-pear-CAS-systemlibs.patch
@@ -1,7 +1,7 @@
-diff -up CAS-1.1.2/CAS.php.systemlib CAS-1.1.2/CAS.php
---- CAS-1.1.2/CAS.php.systemlib 2010-08-03 17:58:12.000000000 +0200
-+++ CAS-1.1.2/CAS.php 2010-08-03 18:00:12.000000000 +0200
-@@ -40,7 +40,7 @@ if (!$_SERVER['REQUEST_URI']) {
+diff -up CAS-1.1.3/CAS.php.systemlib CAS-1.1.3/CAS.php
+--- CAS-1.1.3/CAS.php.systemlib 2010-10-04 18:47:53.000000000 +0200
++++ CAS-1.1.3/CAS.php 2010-10-04 18:47:53.000000000 +0200
+@@ -40,7 +40,7 @@ if (!isset($_SERVER['REQUEST_URI'])) {
// another one by Vangelis Haniotakis also to make phpCAS work with PHP5
//
if (version_compare(PHP_VERSION, '5', '>=') && !(function_exists('domxml_new_doc'))) {
@@ -10,23 +10,23 @@ diff -up CAS-1.1.2/CAS.php.systemlib CAS-1.1.2/CAS.php
}
/**
-diff -up CAS-1.1.2/php-pear-CAS.xml.systemlib CAS-1.1.2/php-pear-CAS.xml
---- CAS-1.1.2/php-pear-CAS.xml.systemlib 1970-01-01 10:13:08.000000000 +0100
-+++ CAS-1.1.2/php-pear-CAS.xml 2010-08-03 18:02:37.000000000 +0200
-@@ -51,7 +51,6 @@ see http://www.ja-sig.org/wiki/display/C
-
-
-
--
-
+diff -up CAS-1.1.3/php-pear-CAS.xml.systemlib CAS-1.1.3/php-pear-CAS.xml
+--- CAS-1.1.3/php-pear-CAS.xml.systemlib 1970-01-01 10:13:08.000000000 +0100
++++ CAS-1.1.3/php-pear-CAS.xml 2010-10-04 18:49:45.000000000 +0200
+@@ -50,7 +50,6 @@ see http://www.ja-sig.org/wiki/display/C
+
+
+
+-
+
-
-@@ -198,7 +197,7 @@ see http://www.ja-sig.org/wiki/display/C
-
-
-
--
-+
+
+@@ -188,7 +187,7 @@ see http://www.ja-sig.org/wiki/display/C
+
+
+
+-
++
diff --git a/php-pear-CAS.spec b/php-pear-CAS.spec
index 4d3ca45..3f5c11d 100644
--- a/php-pear-CAS.spec
+++ b/php-pear-CAS.spec
@@ -5,7 +5,7 @@
Name: php-pear-CAS
-Version: 1.1.2
+Version: 1.1.3
Release: %{?prever:0.}1%{?prever:.}%{?prever}%{?dist}
Summary: Central Authentication Service client library in php
@@ -37,9 +37,13 @@ This package is a PEAR library for using a Central Authentication Service.
%prep
%setup -q -c
-# Package is V2
-mv package.xml %{pear_name}-%{version}%{?prever}/%{name}.xml
+# Create a "localized" php.ini to avoid build warning
+cp /etc/php.ini .
+echo "date.timezone=UTC" >>php.ini
+
cd %{pear_name}-%{version}%{?prever}
+# package.xml is V2
+mv ../package.xml %{name}.xml
# converting to unix format mandatory for old patch version
sed -i -e 's/\r//' CAS.php
@@ -54,7 +58,7 @@ cd %{pear_name}-%{version}%{?prever}
%install
rm -rf $RPM_BUILD_ROOT docdir
cd %{pear_name}-%{version}%{?prever}
-%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+PHPRC=../php.ini %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
# Move documentation
@@ -95,6 +99,11 @@ fi
%changelog
+* Mon Oct 04 2010 Remi Collet - 1.1.3-1
+- update to 1.1.3
+- fix CVE-2010-3690, CVE-2010-3691, CVE-2010-3692
+- set timezone during build
+
* Tue Aug 03 2010 Remi Collet - 1.1.2-1
- update to 1.1.2
- fix CVE-2010-2795, CVE-2010-2796, #620753