* [gentoo-commits] repo/gentoo:master commit in: kde-apps/kmailtransport/files/
@ 2017-12-15 6:22 Andreas Sturmlechner
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2017-12-15 6:22 UTC (permalink / raw
To: gentoo-commits
commit: df62db764f12ea05bb1b150bf09e1a546e6bba68
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:22:02 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 06:22:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df62db76
kde-apps/kmailtransport: Add missing patch
Package-Manager: Portage-2.3.18, Repoman-2.3.6
.../files/kmailtransport-17.11.80-deps.patch | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/kde-apps/kmailtransport/files/kmailtransport-17.11.80-deps.patch b/kde-apps/kmailtransport/files/kmailtransport-17.11.80-deps.patch
new file mode 100644
index 00000000000..f245f77a965
--- /dev/null
+++ b/kde-apps/kmailtransport/files/kmailtransport-17.11.80-deps.patch
@@ -0,0 +1,37 @@
+From 1e6ac475c2f591b93d3b1a10c75514d172bbbdf7 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Thu, 16 Nov 2017 16:11:11 +0100
+Subject: [PATCH] Drop obsolete dependencies
+
+---
+ CMakeLists.txt | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 53761c3..1df4b65 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -38,7 +38,6 @@ set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5MailTransport")
+ find_package(KF5KCMUtils ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5ConfigWidgets ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5Wallet ${KF5_VERSION} CONFIG REQUIRED)
+-find_package(KF5DocTools ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5I18n ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5KIO ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5Mime ${KMIME_LIB_VERSION} CONFIG REQUIRED)
+@@ -50,12 +49,6 @@ add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
+ add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
+ add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
+ add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
+-find_package(Sasl2)
+-set_package_properties(Sasl2 PROPERTIES
+- DESCRIPTION "The Cyrus-sasl library"
+- URL "http://www.cyrussasl.org"
+- TYPE OPTIONAL
+-)
+
+ if(BUILD_TESTING)
+ add_definitions(-DBUILD_TESTING)
+--
+2.13.6
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-apps/kmailtransport/files/
@ 2022-04-25 21:48 Conrad Kostecki
0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2022-04-25 21:48 UTC (permalink / raw
To: gentoo-commits
commit: 81bb63c3ee3da471884b73827bd7ae3a1ba5be27
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Apr 23 16:05:45 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 21:46:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81bb63c3
kde-apps/kmailtransport: remove unused patch(es)
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../kmailtransport-21.08.3-CVE-2021-38373.patch | 63 ----------------------
...ort-21.08.3-fix-crash-when-response-empty.patch | 25 ---------
2 files changed, 88 deletions(-)
diff --git a/kde-apps/kmailtransport/files/kmailtransport-21.08.3-CVE-2021-38373.patch b/kde-apps/kmailtransport/files/kmailtransport-21.08.3-CVE-2021-38373.patch
deleted file mode 100644
index e83449e4e32a..000000000000
--- a/kde-apps/kmailtransport/files/kmailtransport-21.08.3-CVE-2021-38373.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From cc4907eba8e16c319fb837b5ec85393b118c4ab6 Mon Sep 17 00:00:00 2001
-From: Volker Krause <vkrause@kde.org>
-Date: Thu, 16 Sep 2021 17:07:08 +0200
-Subject: [PATCH] Adapt to KSmtp moving encryption settings from LoginJob to
- Session
-
-See https://invent.kde.org/pim/ksmtp/-/merge_requests/5.
-
-(cherry picked from commit b49ee72009620f152aaab1f592704e56e3be01f5)
----
- src/kmailtransport/plugins/smtp/smtpjob.cpp | 29 ++++++++++-----------
- 1 file changed, 14 insertions(+), 15 deletions(-)
-
-diff --git a/src/kmailtransport/plugins/smtp/smtpjob.cpp b/src/kmailtransport/plugins/smtp/smtpjob.cpp
-index 7ad0124..5a08dfd 100644
---- a/src/kmailtransport/plugins/smtp/smtpjob.cpp
-+++ b/src/kmailtransport/plugins/smtp/smtpjob.cpp
-@@ -134,6 +134,20 @@ void SmtpJob::startSmtpJob()
- d->session = new KSmtp::Session(transport()->host(), transport()->port());
- d->session->setUseNetworkProxy(transport()->useProxy());
- d->session->setUiProxy(d->uiProxy);
-+ switch (transport()->encryption()) {
-+ case Transport::EnumEncryption::None:
-+ d->session->setEncryptionMode(KSmtp::Session::Unencrypted);
-+ break;
-+ case Transport::EnumEncryption::TLS:
-+ d->session->setEncryptionMode(KSmtp::Session::STARTTLS);
-+ break;
-+ case Transport::EnumEncryption::SSL:
-+ d->session->setEncryptionMode(KSmtp::Session::TLS);
-+ break;
-+ default:
-+ qCWarning(MAILTRANSPORT_SMTP_LOG) << "Unknown encryption mode" << transport()->encryption();
-+ break;
-+ }
- if (transport()->specifyHostname()) {
- d->session->setCustomHostname(transport()->localHostname());
- }
-@@ -298,21 +312,6 @@ void SmtpJobPrivate::doLogin()
- break;
- }
-
-- switch (q->transport()->encryption()) {
-- case Transport::EnumEncryption::None:
-- login->setEncryptionMode(KSmtp::LoginJob::Unencrypted);
-- break;
-- case Transport::EnumEncryption::TLS:
-- login->setEncryptionMode(KSmtp::LoginJob::STARTTLS);
-- break;
-- case Transport::EnumEncryption::SSL:
-- login->setEncryptionMode(KSmtp::LoginJob::SSLorTLS);
-- break;
-- default:
-- qCWarning(MAILTRANSPORT_SMTP_LOG) << "Unknown encryption mode" << q->transport()->encryption();
-- break;
-- }
--
- q->connect(login, &KJob::result, q, &SmtpJob::slotResult);
- q->addSubjob(login);
- login->start();
---
-2.34.0
-
diff --git a/kde-apps/kmailtransport/files/kmailtransport-21.08.3-fix-crash-when-response-empty.patch b/kde-apps/kmailtransport/files/kmailtransport-21.08.3-fix-crash-when-response-empty.patch
deleted file mode 100644
index 84589d4908a3..000000000000
--- a/kde-apps/kmailtransport/files/kmailtransport-21.08.3-fix-crash-when-response-empty.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From fb2ce5f1115ede2c782cc0e1095584eb07cf032b Mon Sep 17 00:00:00 2001
-From: Laurent Montel <montel@kde.org>
-Date: Mon, 1 Nov 2021 09:15:31 +0100
-Subject: [PATCH] Fix crash when response is empty
-
----
- src/kmailtransport/servertest.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/kmailtransport/servertest.cpp b/src/kmailtransport/servertest.cpp
-index 6e8d711..35079e1 100644
---- a/src/kmailtransport/servertest.cpp
-+++ b/src/kmailtransport/servertest.cpp
-@@ -236,7 +236,7 @@ bool ServerTestPrivate::handlePopConversation(MailTransport::Socket *socket, int
- // Initial Greeting
- if (stage == 0) {
- // Regexp taken from POP3 ioslave
-- const QString responseWithoutCRLF = response.chopped(2);
-+ const QString responseWithoutCRLF = response.isEmpty() ? response : response.chopped(2);
- const QRegularExpression re(QStringLiteral("<[A-Za-z0-9\\.\\-_]+@[A-Za-z0-9\\.\\-_]+>$"), QRegularExpression::CaseInsensitiveOption);
- if (responseWithoutCRLF.indexOf(re) != -1) {
- authenticationResults[type] << Transport::EnumAuthenticationType::APOP;
---
-GitLab
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-25 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-25 21:48 [gentoo-commits] repo/gentoo:master commit in: kde-apps/kmailtransport/files/ Conrad Kostecki
-- strict thread matches above, loose matches on Subject: below --
2017-12-15 6:22 Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox