[packages/php-phpmailer] up to 5.2.7 (September 12th 2013)

glen glen at pld-linux.org
Sat Nov 9 13:25:24 CET 2013


commit 1e429e6fc15f86e8d27421e68201b28bdee3cdb4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Nov 9 14:24:41 2013 +0200

    up to 5.2.7 (September 12th 2013)
    
    adds fa, lt, uk translations

 paths.patch        | 38 +++++++++++++++++++-------------------
 php-phpmailer.spec | 10 +++++++---
 2 files changed, 26 insertions(+), 22 deletions(-)
---
diff --git a/php-phpmailer.spec b/php-phpmailer.spec
index 5afe7a3..de6ac6a 100644
--- a/php-phpmailer.spec
+++ b/php-phpmailer.spec
@@ -4,12 +4,12 @@
 Summary:	Full featured email transfer class for PHP
 Summary(pl.UTF-8):	W pełni funkcjonalna klasa PHP do przesyłania e-maili
 Name:		php-%{pkgname}
-Version:	5.2.6
+Version:	5.2.7
 Release:	1
 License:	LGPL v2.1
 Group:		Development/Languages/PHP
-Source0:	https://github.com/PHPMailer/PHPMailer/archive/v%{version}.tar.gz
-# Source0-md5:	24b6658b50d2a363a81d927bcbffafd2
+Source0:	https://github.com/PHPMailer/PHPMailer/archive/v%{version}/%{pkgname}-%{version}.tar.gz
+# Source0-md5:	b07621694679cd625af3f53771502677
 Patch0:		paths.patch
 URL:		https://github.com/PHPMailer/PHPMailer
 BuildRequires:	php-pear-PhpDocumentor
@@ -119,6 +119,7 @@ rm -rf $RPM_BUILD_ROOT
 %lang(eo) %{_appdir}/language/phpmailer.lang-eo.php
 %lang(es) %{_appdir}/language/phpmailer.lang-es.php
 %lang(et) %{_appdir}/language/phpmailer.lang-et.php
+%lang(fa) %{_appdir}/language/phpmailer.lang-fa.php
 %lang(fi) %{_appdir}/language/phpmailer.lang-fi.php
 %lang(fo) %{_appdir}/language/phpmailer.lang-fo.php
 %lang(fr) %{_appdir}/language/phpmailer.lang-fr.php
@@ -126,6 +127,7 @@ rm -rf $RPM_BUILD_ROOT
 %lang(hu) %{_appdir}/language/phpmailer.lang-hu.php
 %lang(it) %{_appdir}/language/phpmailer.lang-it.php
 %lang(ja) %{_appdir}/language/phpmailer.lang-ja.php
+%lang(lt) %{_appdir}/language/phpmailer.lang-lt.php
 %lang(nb) %{_appdir}/language/phpmailer.lang-no.php
 %lang(nl) %{_appdir}/language/phpmailer.lang-nl.php
 %lang(pl) %{_appdir}/language/phpmailer.lang-pl.php
@@ -135,10 +137,12 @@ rm -rf $RPM_BUILD_ROOT
 %lang(sk) %{_appdir}/language/phpmailer.lang-sk.php
 %lang(sv) %{_appdir}/language/phpmailer.lang-se.php
 %lang(tr) %{_appdir}/language/phpmailer.lang-tr.php
+%lang(uk) %{_appdir}/language/phpmailer.lang-uk.php
 %lang(zh) %{_appdir}/language/phpmailer.lang-zh.php
 %lang(zh_CN) %{_appdir}/language/phpmailer.lang-zh_cn.php
 
 %dir %{_appdir}/extras
+%{_appdir}/extras/EasyPeasyICS.php
 %{_appdir}/extras/class.html2text.php
 %{_appdir}/extras/htmlfilter.php
 %{_appdir}/extras/ntlm_sasl_client.php
diff --git a/paths.patch b/paths.patch
index 5d7df42..80e00b5 100644
--- a/paths.patch
+++ b/paths.patch
@@ -1,20 +1,20 @@
---- PHPMailer-5.2.5/class.phpmailer.php~	2013-05-24 09:51:19.087751571 +0300
-+++ PHPMailer-5.2.5/class.phpmailer.php	2013-05-24 09:52:08.203626736 +0300
-@@ -134,7 +134,7 @@
-    * is in a different directory than the PHP include path.
-    * @var string
-    */
--  public $PluginDir         = '';
-+  public $PluginDir         = '/usr/share/php/phpmail/';
+--- PHPMailer-5.2.7/class.phpmailer.php~	2013-09-12 10:52:38.000000000 +0300
++++ PHPMailer-5.2.7/class.phpmailer.php	2013-11-09 13:09:34.941928857 +0200
+@@ -185,7 +185,7 @@
+      * @type string
+      * @deprecated Should not be needed now there is an autoloader.
+      */
+-    public $PluginDir = '';
++    public $PluginDir = '/usr/share/php/phpmail/';
  
-   /**
-    * Holds PHPMailer version.
-@@ -1134,7 +1134,7 @@
-    * @return bool
-    * @access public
-    */
--  function SetLanguage($langcode = 'en', $lang_path = 'language/') {
-+  function SetLanguage($langcode = 'en', $lang_path = '/usr/share/php/phpmailer/language/') {
-     //Define full set of translatable strings
-     $PHPMAILER_LANG = array(
-       'authenticate'         => 'SMTP Error: Could not authenticate.',
+     /**
+      * The email address that a reading confirmation should be sent to.
+@@ -1323,7 +1323,7 @@
+      * @return bool
+      * @access public
+      */
+-    public function setLanguage($langcode = 'en', $lang_path = 'language/')
++    public function setLanguage($langcode = 'en', $lang_path = '/usr/share/php/phpmailer/language/') {
+     {
+         //Define full set of translatable strings
+         $PHPMAILER_LANG = array(
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-phpmailer.git/commitdiff/1e429e6fc15f86e8d27421e68201b28bdee3cdb4



More information about the pld-cvs-commit mailing list