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 - lbeltrame@kde.org
+
+- 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("example@gmail.com");
+ * login->setUserName("example@example.com");
* 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("sender@gmail.com", "utf-8");
+ * msg->from()->fromUnicodeString("sender@example.com", "utf-8");
* msg->to()->fromUnicodeString("recipient@example.com", "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("sender@example.com");
+ * send->setTo("recipient@example.com");
+ * send->setBcc("hidden-recipient@example.com");
* 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: foo@bar.com"
+ << "C: To: bar@foo.com"
+ << "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