Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kdepim-runtime/files/, kde-apps/kdepim-runtime/
Date: Sat, 01 Aug 2020 22:57:58
Message-Id: 1596322637.b890132492bdf7f2a8de0156c370574a4ab5f13a.asturm@gentoo
1 commit: b890132492bdf7f2a8de0156c370574a4ab5f13a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 1 15:46:33 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 1 22:57:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8901324
7
8 kde-apps/kdepim-runtime: Fix CVE-2020-15954
9
10 Bug: https://bugs.gentoo.org/734126
11 Package-Manager: Portage-3.0.1, Repoman-2.3.23
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 .../kdepim-runtime-20.04.3-CVE-2020-15954.patch | 28 +++++++
15 .../kdepim-runtime-20.04.3-r1.ebuild | 91 ++++++++++++++++++++++
16 2 files changed, 119 insertions(+)
17
18 diff --git a/kde-apps/kdepim-runtime/files/kdepim-runtime-20.04.3-CVE-2020-15954.patch b/kde-apps/kdepim-runtime/files/kdepim-runtime-20.04.3-CVE-2020-15954.patch
19 new file mode 100644
20 index 00000000000..92fec0bbcfc
21 --- /dev/null
22 +++ b/kde-apps/kdepim-runtime/files/kdepim-runtime-20.04.3-CVE-2020-15954.patch
23 @@ -0,0 +1,28 @@
24 +From bd64ab29116aa7318fdee7f95878ff97580162f2 Mon Sep 17 00:00:00 2001
25 +From: Laurent Montel <montel@×××.org>
26 +Date: Tue, 28 Jul 2020 13:35:24 +0200
27 +Subject: [PATCH] Fix Bug 423426 - POP3 setup wizard defaults to unencrypted
28 + connections
29 +
30 +Make sure to use TLS when we create it
31 +CCBUG: 423426
32 +---
33 + resources/pop3/wizard/pop3wizard.es | 2 +-
34 + 1 file changed, 1 insertion(+), 1 deletion(-)
35 +
36 +diff --git a/resources/pop3/wizard/pop3wizard.es b/resources/pop3/wizard/pop3wizard.es
37 +index 81d511d0a..aa83d0abf 100644
38 +--- a/resources/pop3/wizard/pop3wizard.es
39 ++++ b/resources/pop3/wizard/pop3wizard.es
40 +@@ -53,7 +53,7 @@ function setup()
41 + var smtp = SetupManager.createTransport( "smtp" );
42 + smtp.setName( SetupManager.name() );
43 + smtp.setHost( page.widget().outgoingAddress.text.trim() );
44 +- smtp.setEncryption( "NONE" );
45 ++ smtp.setEncryption( "SSL" );
46 +
47 + SetupManager.execute();
48 + }
49 +--
50 +GitLab
51 +
52
53 diff --git a/kde-apps/kdepim-runtime/kdepim-runtime-20.04.3-r1.ebuild b/kde-apps/kdepim-runtime/kdepim-runtime-20.04.3-r1.ebuild
54 new file mode 100644
55 index 00000000000..5284241615d
56 --- /dev/null
57 +++ b/kde-apps/kdepim-runtime/kdepim-runtime-20.04.3-r1.ebuild
58 @@ -0,0 +1,91 @@
59 +# Copyright 1999-2020 Gentoo Authors
60 +# Distributed under the terms of the GNU General Public License v2
61 +
62 +EAPI=7
63 +
64 +ECM_HANDBOOK="forceoptional"
65 +ECM_TEST="forceoptional"
66 +PVCUT=$(ver_cut 1-3)
67 +KFMIN=5.70.0
68 +QTMIN=5.14.2
69 +VIRTUALX_REQUIRED="test"
70 +inherit ecm kde.org
71 +
72 +DESCRIPTION="Runtime plugin collection to extend the functionality of KDE PIM"
73 +HOMEPAGE="https://kde.org/applications/office/org.kde.kontact"
74 +
75 +LICENSE="GPL-2+ LGPL-2.1+"
76 +SLOT="5"
77 +KEYWORDS="~amd64 ~arm64 ~x86"
78 +IUSE=""
79 +
80 +# TODO kolab
81 +BDEPEND="
82 + dev-libs/libxslt
83 +"
84 +RDEPEND="
85 + >=app-crypt/qca-2.3.0:2
86 + dev-libs/cyrus-sasl:2
87 + dev-libs/libical:=
88 + >=dev-qt/qtdbus-${QTMIN}:5
89 + >=dev-qt/qtgui-${QTMIN}:5
90 + >=dev-qt/qtnetwork-${QTMIN}:5
91 + >=dev-qt/qtnetworkauth-${QTMIN}:5
92 + >=dev-qt/qtspeech-${QTMIN}:5
93 + >=dev-qt/qtwebengine-${QTMIN}:5[widgets]
94 + >=dev-qt/qtwidgets-${QTMIN}:5
95 + >=dev-qt/qtxml-${QTMIN}:5
96 + >=kde-apps/akonadi-${PVCUT}:5
97 + >=kde-apps/akonadi-calendar-${PVCUT}:5
98 + >=kde-apps/akonadi-contacts-${PVCUT}:5
99 + >=kde-apps/akonadi-mime-${PVCUT}:5
100 + >=kde-apps/akonadi-notes-${PVCUT}:5
101 + >=kde-apps/kalarmcal-${PVCUT}:5
102 + >=kde-apps/kcalutils-${PVCUT}:5
103 + || (
104 + >=kde-frameworks/kdav-${KFMIN}:5
105 + >=kde-apps/kdav-${PVCUT}:5
106 + )
107 + >=kde-apps/kidentitymanagement-${PVCUT}:5
108 + >=kde-apps/kimap-${PVCUT}:5
109 + >=kde-apps/kmailtransport-${PVCUT}:5
110 + >=kde-apps/kmbox-${PVCUT}:5
111 + >=kde-apps/kmime-${PVCUT}:5
112 + >=kde-apps/libkgapi-${PVCUT}:5
113 + >=kde-apps/pimcommon-${PVCUT}:5
114 + >=kde-frameworks/kcalendarcore-${KFMIN}:5
115 + >=kde-frameworks/kcodecs-${KFMIN}:5
116 + >=kde-frameworks/kcompletion-${KFMIN}:5
117 + >=kde-frameworks/kconfig-${KFMIN}:5
118 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5
119 + >=kde-frameworks/kcontacts-${KFMIN}:5
120 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
121 + >=kde-frameworks/kholidays-${KFMIN}:5
122 + >=kde-frameworks/ki18n-${KFMIN}:5
123 + >=kde-frameworks/kio-${KFMIN}:5
124 + >=kde-frameworks/kitemmodels-${KFMIN}:5
125 + >=kde-frameworks/kjobwidgets-${KFMIN}:5
126 + >=kde-frameworks/knotifications-${KFMIN}:5
127 + >=kde-frameworks/knotifyconfig-${KFMIN}:5
128 + >=kde-frameworks/kservice-${KFMIN}:5
129 + >=kde-frameworks/ktextwidgets-${KFMIN}:5
130 + >=kde-frameworks/kwallet-${KFMIN}:5
131 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
132 + >=kde-frameworks/kwindowsystem-${KFMIN}:5
133 + >=kde-frameworks/kxmlgui-${KFMIN}:5
134 +"
135 +DEPEND="${RDEPEND}
136 + >=dev-qt/qtxmlpatterns-${QTMIN}:5
137 + test? ( >=kde-apps/kimap-${PVCUT}:5[test] )
138 +"
139 +
140 +RESTRICT+=" test"
141 +
142 +PATCHES=( "${FILESDIR}/${P}-CVE-2020-15954.patch" )
143 +
144 +src_configure() {
145 + local mycmakeargs=(
146 + -DCMAKE_DISABLE_FIND_PACKAGE_Libkolabxml=ON
147 + )
148 + ecm_src_configure
149 +}