Hello community,

here is the log from the commit of package ksmtp for openSUSE:Factory checked 
in at 2018-05-16 11:32:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksmtp (Old)
 and      /work/SRC/openSUSE:Factory/.ksmtp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksmtp"

Wed May 16 11:32:24 2018 rev:8 rq:607236 version:18.04.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksmtp/ksmtp.changes      2018-04-25 
09:52:44.425795632 +0200
+++ /work/SRC/openSUSE:Factory/.ksmtp.new/ksmtp.changes 2018-05-16 
11:32:27.160249754 +0200
@@ -1,0 +2,13 @@
+Fri May 11 05:18:09 UTC 2018 - [email protected]
+
+- Update to 18.04.1
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.04.1.php
+- Changes since 18.04.0:
+  * Partial revert, restore API in the stable branch.
+  * KSMTP: Fix sending emails where a line starts with a dot (kde#392049)
+  * KSMTP: remove dependency on KMime, by removing setMessage().
+  * Increase SMTP session timeout to 1 minute
+
+-------------------------------------------------------------------

Old:
----
  ksmtp-18.04.0.tar.xz

New:
----
  ksmtp-18.04.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ksmtp.spec ++++++
--- /var/tmp/diff_new_pack.IU30sK/_old  2018-05-16 11:32:27.720229393 +0200
+++ /var/tmp/diff_new_pack.IU30sK/_new  2018-05-16 11:32:27.720229393 +0200
@@ -19,7 +19,7 @@
 %bcond_without lang
 
 Name:           ksmtp
-Version:        18.04.0
+Version:        18.04.1
 Release:        0
 Summary:        Job-based library to send email through an SMTP server
 License:        LGPL-2.1-or-later

++++++ ksmtp-18.04.0.tar.xz -> ksmtp-18.04.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-18.04.0/CMakeLists.txt 
new/ksmtp-18.04.1/CMakeLists.txt
--- old/ksmtp-18.04.0/CMakeLists.txt    2018-04-13 02:17:26.000000000 +0200
+++ new/ksmtp-18.04.1/CMakeLists.txt    2018-05-08 02:25:00.000000000 +0200
@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.0)
-set(PIM_VERSION "5.8.0")
+set(PIM_VERSION "5.8.1")
 
 project(KSMTP VERSION ${PIM_VERSION})
 
@@ -24,7 +24,7 @@
 
 set(KSMTP_LIB_VERSION ${PIM_VERSION})
 set(QT5_REQUIRED_VERSION "5.8.0")
-set(KMIME_LIB_VERSION "5.8.0")
+set(KMIME_LIB_VERSION "5.8.1")
 ecm_setup_version(PROJECT VARIABLE_PREFIX KSMTP
     VERSION_HEADER ${KSMTP_BINARY_DIR}/ksmtp_version.h
     PACKAGE_VERSION_FILE ${KSMTP_BINARY_DIR}/KPimSMTPConfigVersion.cmake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-18.04.0/Mainpage.dox 
new/ksmtp-18.04.1/Mainpage.dox
--- old/ksmtp-18.04.0/Mainpage.dox      2018-04-10 13:51:39.000000000 +0200
+++ new/ksmtp-18.04.1/Mainpage.dox      2018-04-30 16:18:11.000000000 +0200
@@ -11,12 +11,12 @@
  * @code
  * void MyClass::login()
  * {
- *   m_session = new KSmtp::Session("smtp.gmail.com", 587, 
KSmtp::Session::StartAndWait, this);
+ *   m_session = new KSmtp::Session("smtp.example.com", 587, 
KSmtp::Session::StartAndWait, this);
  * 
  *   // Start authentication
  *   KSmtp::LoginJob* login = new KSmtp::LoginJob(m_session);
  *   login->setUseTls(true);
- *      login->setUserName("[email protected]");
+ *      login->setUserName("[email protected]");
  *      login->setPassword("password");
  *      connect(login, SIGNAL(result(KJob*)), this, SLOT(loginResult(KJob*)));
  *      login->start();
@@ -31,18 +31,22 @@
  * 
  *   // Create a new KMime::Message
  *   KMime::Message::Ptr msg(new KMime::Message());
- *   msg->from()->fromUnicodeString("[email protected]", "utf-8");
+ *   msg->from()->fromUnicodeString("[email protected]", "utf-8");
  *      msg->to()->fromUnicodeString("[email protected]", "utf-8");
  *      msg->subject()->fromUnicodeString("Hi there!", "utf-8");
  *      msg->contentType()->setMimeType("text/plain");
  *      msg->contentTransferEncoding()->setEncoding(KMime::Headers::CEquPr);
- * 
+ *
  *      // Assembles and encodes the message
  *      msg->assemble();
- * 
+ *   const QByteArray content = msg->encodedContent(true) + "\r\n";
+ *
  *      // Start sending the message
  *      KSmtp::SendJob* send = new KSmtp::SendJob(m_session);
- *      send->setMessage(msg);
+ *      send->setData(content);
+ *   send->setSender("[email protected]");
+ *   send->setTo("[email protected]");
+ *   send->setBcc("[email protected]");
  *      connect(send, SIGNAL(result(KJob*)), SLOT(sendResult(KJob*)));
  *      send->start();
  * }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-18.04.0/autotests/smtptest.cpp 
new/ksmtp-18.04.1/autotests/smtptest.cpp
--- old/ksmtp-18.04.0/autotests/smtptest.cpp    2018-04-10 13:51:39.000000000 
+0200
+++ new/ksmtp-18.04.1/autotests/smtptest.cpp    2018-04-30 16:18:11.000000000 
+0200
@@ -212,7 +212,15 @@
              << "S: 250 ok"
              << "C: DATA"
              << "S: 354 Ok go ahead"
-             << "C: SKIP"
+             << "C: From: [email protected]"
+             << "C: To: [email protected]"
+             << "C: Hello world."
+             << "C: .." // Single dot becomes two
+             << "C: .." // Single dot becomes two
+             << "C: ..." // Two dots become three
+             << "C: ..Foo"  // .Foo becomes ..Foo
+             << "C: End"
+             << "C: "
              << "C: ."
              << "S: 250 Ok transfer done"
              << FakeServer::bye();
@@ -235,16 +243,13 @@
     session.openAndWait();
 
     KSmtp::SendJob *send = new KSmtp::SendJob(&session);
-
-    KMime::Message::Ptr m(new KMime::Message());
-    m->from()->fromUnicodeString(QStringLiteral("Foo Bar <[email protected]>"), 
"utf-8");
-    m->to()->fromUnicodeString(QStringLiteral("Bar Foo <[email protected]>"), 
"utf-8");
-    m->subject()->fromUnicodeString(QStringLiteral("Subject"), "utf-8");
-    send->setMessage(m);
+    send->setData("From: [email protected]\r\nTo: [email protected]\r\nHello 
world.\r\n.\r\n.\r\n..\r\n.Foo\r\nEnd");
+    send->setFrom(QStringLiteral("[email protected]"));
+    send->setTo({QStringLiteral("[email protected]")});
     send->exec();
 
     // Checking job error code:
-    QVERIFY2(send->error() == errorCode, "Unexpected LoginJob error code");
+    QVERIFY2(send->error() == errorCode, qPrintable(QStringLiteral("Unexpected 
LoginJob error: ") + send->errorString()));
 
     session.quitAndWait();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-18.04.0/po/gl/libksmtp5.po 
new/ksmtp-18.04.1/po/gl/libksmtp5.po
--- old/ksmtp-18.04.0/po/gl/libksmtp5.po        2018-04-13 02:17:26.000000000 
+0200
+++ new/ksmtp-18.04.1/po/gl/libksmtp5.po        2018-05-08 02:24:59.000000000 
+0200
@@ -3,14 +3,14 @@
 #
 # Marce Villarino <[email protected]>, 2013.
 # Adrián Chaves Fernández <[email protected]>, 2015, 2017.
-# Adrián Chaves (Gallaecio) <[email protected]>, 2017.
+# Adrián Chaves (Gallaecio) <[email protected]>, 2017, 2018.
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-01-30 03:24+0100\n"
-"PO-Revision-Date: 2017-11-03 17:48+0100\n"
-"Last-Translator: Adrián Chaves (Gallaecio) <[email protected]>\n"
+"PO-Revision-Date: 2018-04-20 19:00+0100\n"
+"Last-Translator: Adrian Chaves <[email protected]>\n"
 "Language-Team: Galician <[email protected]>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
@@ -35,7 +35,7 @@
 #: job.cpp:79
 #, kde-format
 msgid "Connection to server lost."
-msgstr ""
+msgstr "Perdeuse a conexión co servidor."
 
 #: loginjob.cpp:95
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-18.04.0/po/zh_CN/libksmtp5.po 
new/ksmtp-18.04.1/po/zh_CN/libksmtp5.po
--- old/ksmtp-18.04.0/po/zh_CN/libksmtp5.po     2018-04-13 02:17:26.000000000 
+0200
+++ new/ksmtp-18.04.1/po/zh_CN/libksmtp5.po     2018-05-08 02:25:00.000000000 
+0200
@@ -3,7 +3,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-01-30 03:24+0100\n"
-"PO-Revision-Date: 2018-04-05 09:39-0400\n"
+"PO-Revision-Date: 2018-04-26 06:08-0400\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-18.04.0/src/sendjob.cpp 
new/ksmtp-18.04.1/src/sendjob.cpp
--- old/ksmtp-18.04.0/src/sendjob.cpp   2018-04-10 13:51:39.000000000 +0200
+++ new/ksmtp-18.04.1/src/sendjob.cpp   2018-04-30 16:18:11.000000000 +0200
@@ -111,7 +111,7 @@
     d->m_data = data;
     // A line with a single dot would make SMTP think "end of message", so use 
two dots in that case,
     // as per https://tools.ietf.org/html/rfc5321#section-4.5.2
-    d->m_data.replace("\r\n.\r\n", "\r\n..\r\n");
+    d->m_data.replace("\r\n.", "\r\n..");
 }
 
 void SendJob::doStart()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmtp-18.04.0/src/session.cpp 
new/ksmtp-18.04.1/src/session.cpp
--- old/ksmtp-18.04.0/src/session.cpp   2018-04-10 13:51:39.000000000 +0200
+++ new/ksmtp-18.04.1/src/session.cpp   2018-04-30 16:18:11.000000000 +0200
@@ -42,7 +42,7 @@
       q(session),
       m_state(Session::Disconnected),
       m_thread(nullptr),
-      m_socketTimerInterval(10000),
+      m_socketTimerInterval(60000),
       m_startLoop(nullptr),
       m_sslVersion(KTcpSocket::UnknownSslVersion),
       m_jobRunning(false),


Reply via email to