* [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/
@ 2015-09-10 12:09 Michael Palimaka
0 siblings, 0 replies; 6+ messages in thread
From: Michael Palimaka @ 2015-09-10 12:09 UTC (permalink / raw
To: gentoo-commits
commit: 6065d16d88a1a0ce0d5638935e89a5f34b58ac3e
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 12:08:47 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 12:09:07 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6065d16d
kde-misc/kdeconnect: backport patch from upstream fixing build with dev-util/ninja.
Gentoo-bug: 559904
Package-Manager: portage-2.2.20.1
.../kdeconnect/files/kdeconnect-0.8-ninja.patch | 36 ++++++++++++++++++++++
kde-misc/kdeconnect/kdeconnect-0.8.ebuild | 2 ++
2 files changed, 38 insertions(+)
diff --git a/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch b/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch
new file mode 100644
index 0000000..d482549
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch
@@ -0,0 +1,36 @@
+From d9e0c61185a5ecbd9b013740fe73d21ba5adaa44 Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Thu, 10 Sep 2015 21:56:39 +1000
+Subject: [PATCH] Fix make with ninja.
+
+The custom command name must differ from the name of the generated file.
+
+REVIEW: 125137
+---
+ cmake/DbusInterfaceMacros.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cmake/DbusInterfaceMacros.cmake b/cmake/DbusInterfaceMacros.cmake
+index 9d4810d..801452a 100644
+--- a/cmake/DbusInterfaceMacros.cmake
++++ b/cmake/DbusInterfaceMacros.cmake
+@@ -12,7 +12,7 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
+ OPTIONS ${qdbus_options}
+ )
+ add_custom_target(
+- ${output_xml_file}
++ ${output_xml_file}_target
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
+ )
+ install(
+@@ -21,6 +21,6 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
+ )
+ add_dependencies(
+ ${main_project_target}
+- ${output_xml_file}
++ ${output_xml_file}_target
+ )
+ endmacro (generate_and_install_dbus_interface)
+--
+2.4.6
+
diff --git a/kde-misc/kdeconnect/kdeconnect-0.8.ebuild b/kde-misc/kdeconnect/kdeconnect-0.8.ebuild
index 07e7568..e27ce0c 100644
--- a/kde-misc/kdeconnect/kdeconnect-0.8.ebuild
+++ b/kde-misc/kdeconnect/kdeconnect-0.8.ebuild
@@ -42,6 +42,8 @@ DEPEND="${COMMON_DEPEND}
[[ ${KDE_BUILD_TYPE} != live ]] && S=${WORKDIR}/${MY_P}
+PATCHES=( "${FILESDIR}/${P}-ninja.patch" )
+
pkg_postinst(){
elog
elog "Optional dependency:"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/
@ 2016-11-19 17:25 Johannes Huber
0 siblings, 0 replies; 6+ messages in thread
From: Johannes Huber @ 2016-11-19 17:25 UTC (permalink / raw
To: gentoo-commits
commit: a8228efb97571d72189ca2b20c079a2fd448a5ab
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 19 17:25:14 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 17:25:38 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8228efb
kde-misc/kdeconnect: Drop slot 4
Exported to kde-sunset overlay.
Package-Manager: portage-2.3.2
kde-misc/kdeconnect/Manifest | 1 -
.../kdeconnect/files/kdeconnect-0.8-ninja.patch | 36 --------------
.../files/kdeconnect-0.8-openssh-7.0.patch | 32 ------------
kde-misc/kdeconnect/kdeconnect-0.8-r1.ebuild | 58 ----------------------
4 files changed, 127 deletions(-)
diff --git a/kde-misc/kdeconnect/Manifest b/kde-misc/kdeconnect/Manifest
index 8d8d978..06fc62b 100644
--- a/kde-misc/kdeconnect/Manifest
+++ b/kde-misc/kdeconnect/Manifest
@@ -1,2 +1 @@
-DIST kdeconnect-kde-0.8.tar.xz 141916 SHA256 c33611c076a327a67f9974ffa5662f2c093dda6ad14024e434027f9f19d9a0ab SHA512 7c7c460648960dde501596c85282eddd4d9add3b1be291b6d22a75f316cce6cdee0015d81b275eaa7c66758dcf16fa21da1be9b79f12b68c76bad343eef7250e WHIRLPOOL 0d302b4c6005100db9bc44ca590ee330bc6f432af02bfd1d2f27b367f38b6d4993828a3726c2bf3acaafcaa00c1724a9592ee8a652152f6b811923c351d3f499
DIST kdeconnect-kde-1.0.2.tar.xz 228656 SHA256 84c8d6f79226ec6341567021b23e3d87ce2de6621ae879081340a8150a6832a1 SHA512 26a0d267f7d0e7c06c317718d8f105b4ce5e3f782b478b8e34e2fc57b721c0f3860ce9d8f8552da390678175d39b2c1b7091ba382fcbb0ab95777a480f89cbc6 WHIRLPOOL b1de9854e5d4269fd49f0e708e147271ea24fc682f1daabfe1d9b3b0dba7b2c0767a5647c90e0176d9481ebe21de6f0af2640535042284b5fa2b8f86fcffccd2
diff --git a/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch b/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch
deleted file mode 100644
index d482549..00000000
--- a/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From d9e0c61185a5ecbd9b013740fe73d21ba5adaa44 Mon Sep 17 00:00:00 2001
-From: Michael Palimaka <kensington@gentoo.org>
-Date: Thu, 10 Sep 2015 21:56:39 +1000
-Subject: [PATCH] Fix make with ninja.
-
-The custom command name must differ from the name of the generated file.
-
-REVIEW: 125137
----
- cmake/DbusInterfaceMacros.cmake | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/cmake/DbusInterfaceMacros.cmake b/cmake/DbusInterfaceMacros.cmake
-index 9d4810d..801452a 100644
---- a/cmake/DbusInterfaceMacros.cmake
-+++ b/cmake/DbusInterfaceMacros.cmake
-@@ -12,7 +12,7 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
- OPTIONS ${qdbus_options}
- )
- add_custom_target(
-- ${output_xml_file}
-+ ${output_xml_file}_target
- SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
- )
- install(
-@@ -21,6 +21,6 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
- )
- add_dependencies(
- ${main_project_target}
-- ${output_xml_file}
-+ ${output_xml_file}_target
- )
- endmacro (generate_and_install_dbus_interface)
---
-2.4.6
-
diff --git a/kde-misc/kdeconnect/files/kdeconnect-0.8-openssh-7.0.patch b/kde-misc/kdeconnect/files/kdeconnect-0.8-openssh-7.0.patch
deleted file mode 100644
index 3689156..00000000
--- a/kde-misc/kdeconnect/files/kdeconnect-0.8-openssh-7.0.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 56028b694176d1f52475ac073b0feb842c71a894 Mon Sep 17 00:00:00 2001
-From: Albert Vaca <albertvaka@gmail.com>
-Date: Mon, 24 Aug 2015 21:27:24 -0700
-Subject: [PATCH] Fixed incompatibility with OpenSSH 7.0
-
-BUG: 351725
-
-Conflicts:
- plugins/sftp/mounter.cpp
----
- plugins/sftp/mounter.cpp | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/plugins/sftp/mounter.cpp b/plugins/sftp/mounter.cpp
-index c414f77..f13bb52 100644
---- a/plugins/sftp/mounter.cpp
-+++ b/plugins/sftp/mounter.cpp
-@@ -136,8 +136,9 @@ void Mounter::onPakcageReceived(const NetworkPackage& np)
- << "-f"
- << "-o" << "IdentityFile=" + m_sftp->device()->privateKeyPath()
- << "-o" << "StrictHostKeyChecking=no" //Do not ask for confirmation because it is not a known host
-- << "-o" << "UserKnownHostsFile=/dev/null"; //Prevent storing as a known host
--
-+ << "-o" << "UserKnownHostsFile=/dev/null" //Prevent storing as a known host
-+ << "-o" << "HostKeyAlgorithms=+ssh-dss"; //https://bugs.kde.org/show_bug.cgi?id=351725
-+
- m_proc->setProgram(program, arguments);
-
- //To debug
---
-2.4.9
-
diff --git a/kde-misc/kdeconnect/kdeconnect-0.8-r1.ebuild b/kde-misc/kdeconnect/kdeconnect-0.8-r1.ebuild
deleted file mode 100644
index 79c6c13..00000000
--- a/kde-misc/kdeconnect/kdeconnect-0.8-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MY_PN="${PN}-kde"
-DECLARATIVE_REQUIRED="always"
-KDE_LINGUAS="ar bg bs ca cs da de es fi fr gl hu it ja ko lt nl pl pt pt_BR ro ru sk sv tr uk"
-inherit kde4-base
-
-if [[ ${KDE_BUILD_TYPE} != live ]]; then
- MY_P="${MY_PN}-${PV}"
- SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${MY_P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-else
- EGIT_REPO_URI="git://anongit.kde.org/${MY_PN}"
- KEYWORDS=""
-fi
-
-DESCRIPTION="Adds communication between KDE and your smartphone"
-HOMEPAGE="https://www.kde.org/"
-
-LICENSE="GPL-2+"
-SLOT="4"
-IUSE="debug"
-
-COMMON_DEPEND="
- app-crypt/qca:2[qt4(+)]
- dev-libs/qjson
- x11-libs/libfakekey
- x11-libs/libX11
- x11-libs/libXtst
-"
-RDEPEND="${COMMON_DEPEND}
- $(add_kdebase_dep plasma-workspace)
- app-crypt/qca:2[ssl]
-"
-DEPEND="${COMMON_DEPEND}
- sys-devel/gettext
-"
-
-[[ ${KDE_BUILD_TYPE} != live ]] && S=${WORKDIR}/${MY_P}
-
-PATCHES=(
- "${FILESDIR}/${P}-ninja.patch"
- "${FILESDIR}/${P}-openssh-7.0.patch"
-)
-
-pkg_postinst(){
- elog
- elog "Optional dependency:"
- elog "net-fs/sshfs (for 'remote filesystem browser' plugin)"
- elog
- elog "The Android .apk file is available via"
- elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
- elog
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/
@ 2018-04-10 18:43 Johannes Huber
0 siblings, 0 replies; 6+ messages in thread
From: Johannes Huber @ 2018-04-10 18:43 UTC (permalink / raw
To: gentoo-commits
commit: 403144c366b8149bf3f3dfbc3919adcbf44ae56a
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 18:43:21 2018 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 18:43:33 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=403144c3
kde-misc/kdeconnect: Fix build w/o wayland/handbook
Reported-by: email200202 <AT> yahoo.com
Thanks-to: Andreas Sturmlechner <asturm <AT> gentoo.org>
Closes: https://bugs.gentoo.org/652888
Package-Manager: Portage-2.3.28, Repoman-2.3.9
kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch | 13 +++++++++++++
kde-misc/kdeconnect/kdeconnect-1.3.0.ebuild | 8 +++++---
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch b/kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch
new file mode 100644
index 00000000000..a46c284a017
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch
@@ -0,0 +1,13 @@
+diff --git a/plugins/mousepad/CMakeLists.txt b/plugins/mousepad/CMakeLists.txt
+index ab9913ff..bfd52cd7 100644
+--- a/plugins/mousepad/CMakeLists.txt
++++ b/plugins/mousepad/CMakeLists.txt
+@@ -10,7 +10,7 @@ if (LibFakeKey_FOUND)
+ find_package(X11 REQUIRED)
+ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)
+ endif()
+-find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS Wayland)
++find_package(KF5Wayland ${KF5_MIN_VERSION} QUIET)
+
+ set(HAVE_X11 ${LibFakeKey_FOUND})
+ set(HAVE_WAYLAND ${KF5Wayland_FOUND})
diff --git a/kde-misc/kdeconnect/kdeconnect-1.3.0.ebuild b/kde-misc/kdeconnect/kdeconnect-1.3.0.ebuild
index 824a32a6085..b826ef6e3ba 100644
--- a/kde-misc/kdeconnect/kdeconnect-1.3.0.ebuild
+++ b/kde-misc/kdeconnect/kdeconnect-1.3.0.ebuild
@@ -4,7 +4,7 @@
EAPI=6
FRAMEWORKS_MINIMAL="5.42.0"
-KDE_HANDBOOK="optional"
+KDE_HANDBOOK="forceoptional"
KDE_TEST="true"
KMNAME="${PN}-kde"
KDE_SELINUX_MODULE="${PN}"
@@ -55,12 +55,14 @@ RDEPEND="${DEPEND}
RESTRICT+=" test"
+PATCHES=( "${FILESDIR}/${P}-no-wayland.patch" )
+
src_prepare() {
+ kde5_src_prepare
+
sed \
-e 's#${LIBEXEC_INSTALL_DIR}#@KDE_INSTALL_FULL_LIBEXECDIR@#' \
-i daemon/kdeconnectd.desktop.cmake || die
-
- kde5_src_prepare
}
src_configure() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/
@ 2020-10-04 16:07 Andreas Sturmlechner
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2020-10-04 16:07 UTC (permalink / raw
To: gentoo-commits
commit: bb81637747a3a0d3cc36bd19f73250d32dfc8b6c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 4 08:35:47 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 4 15:54:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb816377
kde-misc/kdeconnect: Fix CVE-2020-26164
See also: https://kde.org/info/security/advisory-20201002-1.txt
Bug: https://bugs.gentoo.org/746401
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
...re-SSL-errors-except-for-self-signed-cert.patch | 65 +++++++++++++
...ot-leak-the-local-user-in-the-device-name.patch | 32 +++++++
...fter-free-in-LanLinkProvider-connectError.patch | 28 ++++++
...20.04.3-04-Limit-identity-packets-to-8KiB.patch | 36 ++++++++
...lanlink-connections-stay-open-for-long-wi.patch | 37 ++++++++
...3-06-Don-t-brute-force-reading-the-socket.patch | 102 +++++++++++++++++++++
...r-of-connected-sockets-from-unpaired-devi.patch | 42 +++++++++
...mber-more-than-a-few-identity-packets-at-.patch | 54 +++++++++++
...orts-we-try-to-connect-to-to-the-port-ran.patch | 32 +++++++
...ace-connections-for-a-given-deviceId-if-t.patch | 58 ++++++++++++
kde-misc/kdeconnect/kdeconnect-20.04.3-r1.ebuild | 98 ++++++++++++++++++++
kde-misc/kdeconnect/kdeconnect-20.08.1-r1.ebuild | 99 ++++++++++++++++++++
12 files changed, 683 insertions(+)
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-01-Do-not-ignore-SSL-errors-except-for-self-signed-cert.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-01-Do-not-ignore-SSL-errors-except-for-self-signed-cert.patch
new file mode 100644
index 00000000000..cafeb9501cd
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-01-Do-not-ignore-SSL-errors-except-for-self-signed-cert.patch
@@ -0,0 +1,65 @@
+From f183b5447bad47655c21af87214579f03bf3a163 Mon Sep 17 00:00:00 2001
+From: Albert Vaca Cintora <albertvaka@gmail.com>
+Date: Thu, 24 Sep 2020 16:59:22 +0200
+Subject: [PATCH 01/10] Do not ignore SSL errors, except for self-signed cert
+ errors.
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/lanlinkprovider.cpp | 24 +++++++++++++-----------
+ 1 file changed, 13 insertions(+), 11 deletions(-)
+
+diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
+index d9a7d8fa..fc005cee 100644
+--- a/core/backends/lan/lanlinkprovider.cpp
++++ b/core/backends/lan/lanlinkprovider.cpp
+@@ -297,9 +297,7 @@ void LanLinkProvider::tcpSocketConnected()
+
+ connect(socket, &QSslSocket::encrypted, this, &LanLinkProvider::encrypted);
+
+- if (isDeviceTrusted) {
+- connect(socket, QOverload<const QList<QSslError> &>::of(&QSslSocket::sslErrors), this, &LanLinkProvider::sslErrors);
+- }
++ connect(socket, QOverload<const QList<QSslError> &>::of(&QSslSocket::sslErrors), this, &LanLinkProvider::sslErrors);
+
+ socket->startServerEncryption();
+
+@@ -326,8 +324,6 @@ void LanLinkProvider::encrypted()
+
+ QSslSocket* socket = qobject_cast<QSslSocket*>(sender());
+ if (!socket) return;
+- // TODO delete me?
+- disconnect(socket, QOverload<const QList<QSslError> &>::of(&QSslSocket::sslErrors), this, &LanLinkProvider::sslErrors);
+
+ Q_ASSERT(socket->mode() != QSslSocket::UnencryptedMode);
+ LanDeviceLink::ConnectionStarted connectionOrigin = (socket->mode() == QSslSocket::SslClientMode)? LanDeviceLink::Locally : LanDeviceLink::Remotely;
+@@ -346,14 +342,20 @@ void LanLinkProvider::sslErrors(const QList<QSslError>& errors)
+ QSslSocket* socket = qobject_cast<QSslSocket*>(sender());
+ if (!socket) return;
+
+- qCDebug(KDECONNECT_CORE) << "Failing due to " << errors;
+- Device* device = Daemon::instance()->getDevice(socket->peerVerifyName());
+- if (device) {
+- device->unpair();
++ bool fatal = false;
++ for (const QSslError& error : errors) {
++ if (error.error() != QSslError::SelfSignedCertificate) {
++ qCCritical(KDECONNECT_CORE) << "Disconnecting due to fatal SSL Error: " << error;
++ fatal = true;
++ } else {
++ qCDebug(KDECONNECT_CORE) << "Ignoring self-signed cert error";
++ }
+ }
+
+- delete m_receivedIdentityPackets.take(socket).np;
+- // Socket disconnects itself on ssl error and will be deleted by deleteLater slot, no need to delete manually
++ if (fatal) {
++ socket->disconnectFromHost();
++ delete m_receivedIdentityPackets.take(socket).np;
++ }
+ }
+
+ //I'm the new device and this is the answer to my UDP identity packet (no data received yet). They are connecting to us through TCP, and they should send an identity.
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-02-Do-not-leak-the-local-user-in-the-device-name.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-02-Do-not-leak-the-local-user-in-the-device-name.patch
new file mode 100644
index 00000000000..b374d001036
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-02-Do-not-leak-the-local-user-in-the-device-name.patch
@@ -0,0 +1,32 @@
+From b279c52101d3f7cc30a26086d58de0b5f1c547fa Mon Sep 17 00:00:00 2001
+From: Albert Vaca Cintora <albertvaka@gmail.com>
+Date: Thu, 24 Sep 2020 17:01:03 +0200
+Subject: [PATCH 02/10] Do not leak the local user in the device name.
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/kdeconnectconfig.cpp | 8 +-------
+ 1 file changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/core/kdeconnectconfig.cpp b/core/kdeconnectconfig.cpp
+index 91719303..a8dbcf5c 100644
+--- a/core/kdeconnectconfig.cpp
++++ b/core/kdeconnectconfig.cpp
+@@ -90,13 +90,7 @@ KdeConnectConfig::KdeConnectConfig()
+
+ QString KdeConnectConfig::name()
+ {
+- QString username;
+- #ifdef Q_OS_WIN
+- username = QString::fromLatin1(qgetenv("USERNAME"));
+- #else
+- username = QString::fromLatin1(qgetenv("USER"));
+- #endif
+- QString defaultName = username + QStringLiteral("@") + QHostInfo::localHostName();
++ QString defaultName = QHostInfo::localHostName();
+ QString name = d->m_config->value(QStringLiteral("name"), defaultName).toString();
+ return name;
+ }
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-03-Fix-use-after-free-in-LanLinkProvider-connectError.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-03-Fix-use-after-free-in-LanLinkProvider-connectError.patch
new file mode 100644
index 00000000000..52fb9057b93
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-03-Fix-use-after-free-in-LanLinkProvider-connectError.patch
@@ -0,0 +1,28 @@
+From d35b88c1b25fe13715f9170f18674d476ca9acdc Mon Sep 17 00:00:00 2001
+From: Matthias Gerstner <mgerstner@suse.de>
+Date: Thu, 24 Sep 2020 17:03:06 +0200
+Subject: [PATCH 03/10] Fix use after free in LanLinkProvider::connectError()
+
+If QSslSocket::connectToHost() hasn't finished running.
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/lanlinkprovider.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
+index fc005cee..235c221f 100644
+--- a/core/backends/lan/lanlinkprovider.cpp
++++ b/core/backends/lan/lanlinkprovider.cpp
+@@ -252,7 +252,7 @@ void LanLinkProvider::connectError(QAbstractSocket::SocketError socketError)
+ //The socket we created didn't work, and we didn't manage
+ //to create a LanDeviceLink from it, deleting everything.
+ delete m_receivedIdentityPackets.take(socket).np;
+- delete socket;
++ socket->deleteLater();
+ }
+
+ //We received a UDP packet and answered by connecting to them by TCP. This gets called on a successful connection.
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-04-Limit-identity-packets-to-8KiB.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-04-Limit-identity-packets-to-8KiB.patch
new file mode 100644
index 00000000000..e083f5896de
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-04-Limit-identity-packets-to-8KiB.patch
@@ -0,0 +1,36 @@
+From b496e66899e5bc9547b6537a7f44ab44dd0aaf38 Mon Sep 17 00:00:00 2001
+From: Aleix Pol <aleixpol@kde.org>
+Date: Wed, 16 Sep 2020 02:28:58 +0200
+Subject: [PATCH 04/10] Limit identity packets to 8KiB
+
+Healthy identity packages shouldn't be that big and we don't want to
+allow systems around us to send us ever humongous packages that will
+just leave us without any memory.
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/lanlinkprovider.cpp | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
+index 235c221f..1fd3870e 100644
+--- a/core/backends/lan/lanlinkprovider.cpp
++++ b/core/backends/lan/lanlinkprovider.cpp
+@@ -381,6 +381,14 @@ void LanLinkProvider::newConnection()
+ void LanLinkProvider::dataReceived()
+ {
+ QSslSocket* socket = qobject_cast<QSslSocket*>(sender());
++ //the size here is arbitrary and is now at 8192 bytes. It needs to be considerably long as it includes the capabilities but there needs to be a limit
++ //Tested between my systems and I get around 2000 per identity package.
++ if (socket->bytesAvailable() > 8192) {
++ qCWarning(KDECONNECT_CORE) << "LanLinkProvider/newConnection: Suspiciously long identity package received. Closing connection." << socket->peerAddress() << socket->bytesAvailable();
++ socket->disconnectFromHost();
++ return;
++ }
++
+ #if QT_VERSION < QT_VERSION_CHECK(5,7,0)
+ if (!socket->canReadLine())
+ return;
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-05-Do-not-let-lanlink-connections-stay-open-for-long-wi.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-05-Do-not-let-lanlink-connections-stay-open-for-long-wi.patch
new file mode 100644
index 00000000000..1465ce48b98
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-05-Do-not-let-lanlink-connections-stay-open-for-long-wi.patch
@@ -0,0 +1,37 @@
+From 5310eae85dbdf92fba30375238a2481f2e34943e Mon Sep 17 00:00:00 2001
+From: Aleix Pol <aleixpol@kde.org>
+Date: Wed, 16 Sep 2020 02:44:38 +0200
+Subject: [PATCH 05/10] Do not let lanlink connections stay open for long
+ without authenticating
+
+If there's no information received, close the socket to try again.
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/lanlinkprovider.cpp | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
+index 1fd3870e..a4942c65 100644
+--- a/core/backends/lan/lanlinkprovider.cpp
++++ b/core/backends/lan/lanlinkprovider.cpp
+@@ -374,6 +374,16 @@ void LanLinkProvider::newConnection()
+ connect(socket, &QIODevice::readyRead,
+ this, &LanLinkProvider::dataReceived);
+
++ QTimer* timer = new QTimer(socket);
++ timer->setSingleShot(true);
++ timer->setInterval(1000);
++ connect(socket, &QSslSocket::encrypted,
++ timer, &QObject::deleteLater);
++ connect(timer, &QTimer::timeout, socket, [socket] {
++ qCWarning(KDECONNECT_CORE) << "LanLinkProvider/newConnection: Host timed out without sending any identity." << socket->peerAddress();
++ socket->disconnectFromHost();
++ });
++ timer->start();
+ }
+ }
+
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-06-Don-t-brute-force-reading-the-socket.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-06-Don-t-brute-force-reading-the-socket.patch
new file mode 100644
index 00000000000..7bb674a8e8f
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-06-Don-t-brute-force-reading-the-socket.patch
@@ -0,0 +1,102 @@
+From 721ba9faafb79aac73973410ee1dd3624ded97a5 Mon Sep 17 00:00:00 2001
+From: Aleix Pol <aleixpol@kde.org>
+Date: Wed, 16 Sep 2020 02:27:13 +0200
+Subject: [PATCH 06/10] Don't brute-force reading the socket
+
+The package will arrive eventually, and dataReceived will be emitted.
+Otherwise we just end up calling dataReceived to no end.
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/socketlinereader.cpp | 8 -------
+ tests/testsocketlinereader.cpp | 31 ++++++++++++++++++++++++--
+ 2 files changed, 29 insertions(+), 10 deletions(-)
+
+diff --git a/core/backends/lan/socketlinereader.cpp b/core/backends/lan/socketlinereader.cpp
+index f67fdf3f..da77052a 100644
+--- a/core/backends/lan/socketlinereader.cpp
++++ b/core/backends/lan/socketlinereader.cpp
+@@ -38,14 +38,6 @@ void SocketLineReader::dataReceived()
+ }
+ }
+
+- //If we still have things to read from the socket, call dataReceived again
+- //We do this manually because we do not trust readyRead to be emitted again
+- //So we call this method again just in case.
+- if (m_socket->bytesAvailable() > 0) {
+- QMetaObject::invokeMethod(this, "dataReceived", Qt::QueuedConnection);
+- return;
+- }
+-
+ //If we have any packets, tell it to the world.
+ if (!m_packets.isEmpty()) {
+ Q_EMIT readyRead();
+diff --git a/tests/testsocketlinereader.cpp b/tests/testsocketlinereader.cpp
+index 75584556..b6425b03 100644
+--- a/tests/testsocketlinereader.cpp
++++ b/tests/testsocketlinereader.cpp
+@@ -25,16 +25,19 @@
+ #include <QProcess>
+ #include <QEventLoop>
+ #include <QTimer>
++#include <QSignalSpy>
+
+ class TestSocketLineReader : public QObject
+ {
+ Q_OBJECT
+ public Q_SLOTS:
+- void initTestCase();
++ void init();
++ void cleanup() { delete m_server; }
+ void newPacket();
+
+ private Q_SLOTS:
+ void socketLineReader();
++ void badData();
+
+ private:
+ QTimer m_timer;
+@@ -45,8 +48,9 @@ private:
+ SocketLineReader* m_reader;
+ };
+
+-void TestSocketLineReader::initTestCase()
++void TestSocketLineReader::init()
+ {
++ m_packets.clear();
+ m_server = new Server(this);
+
+ QVERIFY2(m_server->listen(QHostAddress::LocalHost, 8694), "Failed to create local tcp server");
+@@ -97,6 +101,29 @@ void TestSocketLineReader::socketLineReader()
+ }
+ }
+
++void TestSocketLineReader::badData()
++{
++ const QList<QByteArray> dataToSend = { "data1\n", "data" }; //does not end in a \n
++ for (const QByteArray& line : qAsConst(dataToSend)) {
++ m_conn->write(line);
++ }
++ m_conn->flush();
++
++ QSignalSpy spy(m_server, &QTcpServer::newConnection);
++ QVERIFY(m_server->hasPendingConnections() || spy.wait(1000));
++ QSslSocket* sock = m_server->nextPendingConnection();
++
++ QVERIFY2(sock != nullptr, "Could not open a connection to the client");
++
++ m_reader = new SocketLineReader(sock, this);
++ connect(m_reader, &SocketLineReader::readyRead, this, &TestSocketLineReader::newPacket);
++ m_timer.start();
++ m_loop.exec();
++
++ QCOMPARE(m_packets.count(), 1);
++ QCOMPARE(m_packets[0], dataToSend[0]);
++}
++
+ void TestSocketLineReader::newPacket()
+ {
+ if (!m_reader->bytesAvailable()) {
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-07-Limit-number-of-connected-sockets-from-unpaired-devi.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-07-Limit-number-of-connected-sockets-from-unpaired-devi.patch
new file mode 100644
index 00000000000..6a6bdb01cb9
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-07-Limit-number-of-connected-sockets-from-unpaired-devi.patch
@@ -0,0 +1,42 @@
+From ae58b9dec49c809b85b5404cee17946116f8a706 Mon Sep 17 00:00:00 2001
+From: Albert Vaca Cintora <albertvaka@gmail.com>
+Date: Thu, 24 Sep 2020 17:13:34 +0200
+Subject: [PATCH 07/10] Limit number of connected sockets from unpaired devices
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/lanlinkprovider.cpp | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
+index a4942c65..770e7866 100644
+--- a/core/backends/lan/lanlinkprovider.cpp
++++ b/core/backends/lan/lanlinkprovider.cpp
+@@ -46,6 +46,8 @@
+
+ #define MIN_VERSION_WITH_SSL_SUPPORT 6
+
++static const int MAX_UNPAIRED_CONNECTIONS = 42;
++
+ LanLinkProvider::LanLinkProvider(
+ bool testMode,
+ quint16 udpBroadcastPort,
+@@ -555,6 +557,15 @@ void LanLinkProvider::addLink(const QString& deviceId, QSslSocket* socket, Netwo
+ deviceLink->reset(socket, connectionOrigin);
+ } else {
+ deviceLink = new LanDeviceLink(deviceId, this, socket, connectionOrigin);
++ // Socket disconnection will now be handled by LanDeviceLink
++ disconnect(socket, &QAbstractSocket::disconnected, socket, &QObject::deleteLater);
++ bool isDeviceTrusted = KdeConnectConfig::instance().trustedDevices().contains(deviceId);
++ if (!isDeviceTrusted && m_links.size() > MAX_UNPAIRED_CONNECTIONS) {
++ qCWarning(KDECONNECT_CORE) << "Too many unpaired devices to remember them all. Ignoring " << deviceId;
++ socket->disconnectFromHost();
++ socket->deleteLater();
++ return;
++ }
+ connect(deviceLink, &QObject::destroyed, this, &LanLinkProvider::deviceLinkDestroyed);
+ m_links[deviceId] = deviceLink;
+ if (m_pairingHandlers.contains(deviceId)) {
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-08-Do-not-remember-more-than-a-few-identity-packets-at-.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-08-Do-not-remember-more-than-a-few-identity-packets-at-.patch
new file mode 100644
index 00000000000..36d612e9cbc
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-08-Do-not-remember-more-than-a-few-identity-packets-at-.patch
@@ -0,0 +1,54 @@
+From 66c768aa9e7fba30b119c8b801efd49ed1270b0a Mon Sep 17 00:00:00 2001
+From: Albert Vaca Cintora <albertvaka@gmail.com>
+Date: Thu, 24 Sep 2020 17:16:02 +0200
+Subject: [PATCH 08/10] Do not remember more than a few identity packets at a
+ time
+
+To prevent the kdeconnect process from using too much memory.
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/lanlinkprovider.cpp | 13 +++++++++++++
+ 1 file changed, 13 insertions(+)
+
+diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
+index 770e7866..6afb8552 100644
+--- a/core/backends/lan/lanlinkprovider.cpp
++++ b/core/backends/lan/lanlinkprovider.cpp
+@@ -47,6 +47,7 @@
+ #define MIN_VERSION_WITH_SSL_SUPPORT 6
+
+ static const int MAX_UNPAIRED_CONNECTIONS = 42;
++static const int MAX_REMEMBERED_IDENTITY_PACKETS = 42;
+
+ LanLinkProvider::LanLinkProvider(
+ bool testMode,
+@@ -225,6 +226,12 @@ void LanLinkProvider::udpBroadcastReceived()
+
+ //qCDebug(KDECONNECT_CORE) << "Received Udp identity packet from" << sender << " asking for a tcp connection on port " << tcpPort;
+
++ if (m_receivedIdentityPackets.size() > MAX_REMEMBERED_IDENTITY_PACKETS) {
++ qCWarning(KDECONNECT_CORE) << "Too many remembered identities, ignoring" << receivedPacket->get<QString>(QStringLiteral("deviceId")) << "received via UDP";
++ delete receivedPacket;
++ continue;
++ }
++
+ QSslSocket* socket = new QSslSocket(this);
+ socket->setProxy(QNetworkProxy::NoProxy);
+ m_receivedIdentityPackets[socket].np = receivedPacket;
+@@ -435,6 +442,12 @@ void LanLinkProvider::dataReceived()
+ return;
+ }
+
++ if (m_receivedIdentityPackets.size() > MAX_REMEMBERED_IDENTITY_PACKETS) {
++ qCWarning(KDECONNECT_CORE) << "Too many remembered identities, ignoring" << np->get<QString>(QStringLiteral("deviceId")) << "received via TCP";
++ delete np;
++ return;
++ }
++
+ // Needed in "encrypted" if ssl is used, similar to "tcpSocketConnected"
+ m_receivedIdentityPackets[socket].np = np;
+
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-09-Limit-the-ports-we-try-to-connect-to-to-the-port-ran.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-09-Limit-the-ports-we-try-to-connect-to-to-the-port-ran.patch
new file mode 100644
index 00000000000..c108144632c
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-09-Limit-the-ports-we-try-to-connect-to-to-the-port-ran.patch
@@ -0,0 +1,32 @@
+From 85b691e40f525e22ca5cc4ebe79c361d71d7dc05 Mon Sep 17 00:00:00 2001
+From: Albert Vaca Cintora <albertvaka@gmail.com>
+Date: Thu, 24 Sep 2020 17:18:06 +0200
+Subject: [PATCH 09/10] Limit the ports we try to connect to to the port range
+ of KDE Connect
+
+So we can't trigger connections to other services.
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/lanlinkprovider.cpp | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
+index 6afb8552..f3d6801d 100644
+--- a/core/backends/lan/lanlinkprovider.cpp
++++ b/core/backends/lan/lanlinkprovider.cpp
+@@ -223,6 +223,11 @@ void LanLinkProvider::udpBroadcastReceived()
+ }
+
+ int tcpPort = receivedPacket->get<int>(QStringLiteral("tcpPort"));
++ if (tcpPort < MIN_TCP_PORT || tcpPort > MAX_TCP_PORT) {
++ qCDebug(KDECONNECT_CORE) << "TCP port outside of kdeconnect's range";
++ delete receivedPacket;
++ continue;
++ }
+
+ //qCDebug(KDECONNECT_CORE) << "Received Udp identity packet from" << sender << " asking for a tcp connection on port " << tcpPort;
+
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-20.04.3-10-Do-not-replace-connections-for-a-given-deviceId-if-t.patch b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-10-Do-not-replace-connections-for-a-given-deviceId-if-t.patch
new file mode 100644
index 00000000000..d10f0193dac
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-20.04.3-10-Do-not-replace-connections-for-a-given-deviceId-if-t.patch
@@ -0,0 +1,58 @@
+From 48180b46552d40729a36b7431e97bbe2b5379306 Mon Sep 17 00:00:00 2001
+From: Albert Vaca Cintora <albertvaka@gmail.com>
+Date: Thu, 24 Sep 2020 18:46:57 +0200
+Subject: [PATCH 10/10] Do not replace connections for a given deviceId if the
+ certs have changed
+
+Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
+---
+ core/backends/lan/landevicelink.cpp | 5 +++++
+ core/backends/lan/landevicelink.h | 1 +
+ core/backends/lan/lanlinkprovider.cpp | 6 ++++++
+ 3 files changed, 12 insertions(+)
+
+diff --git a/core/backends/lan/landevicelink.cpp b/core/backends/lan/landevicelink.cpp
+index 8a65fb92..41af6f0e 100644
+--- a/core/backends/lan/landevicelink.cpp
++++ b/core/backends/lan/landevicelink.cpp
+@@ -192,3 +192,8 @@ bool LanDeviceLink::linkShouldBeKeptAlive() {
+ //return (mConnectionSource == ConnectionStarted::Remotely || pairStatus() == Paired);
+
+ }
++
++QSslCertificate LanDeviceLink::certificate() const
++{
++ return m_socketLineReader->peerCertificate();
++}
+diff --git a/core/backends/lan/landevicelink.h b/core/backends/lan/landevicelink.h
+index 28f63db2..485c58b5 100644
+--- a/core/backends/lan/landevicelink.h
++++ b/core/backends/lan/landevicelink.h
+@@ -56,6 +56,7 @@ public:
+ bool linkShouldBeKeptAlive() override;
+
+ QHostAddress hostAddress() const;
++ QSslCertificate certificate() const;
+
+ private Q_SLOTS:
+ void dataReceived();
+diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
+index f3d6801d..372cdc8f 100644
+--- a/core/backends/lan/lanlinkprovider.cpp
++++ b/core/backends/lan/lanlinkprovider.cpp
+@@ -345,6 +345,12 @@ void LanLinkProvider::encrypted()
+ NetworkPacket* receivedPacket = m_receivedIdentityPackets[socket].np;
+ const QString& deviceId = receivedPacket->get<QString>(QStringLiteral("deviceId"));
+
++ if (m_links.contains(deviceId) && m_links[deviceId]->certificate() != socket->peerCertificate()) {
++ socket->disconnectFromHost();
++ qCWarning(KDECONNECT_CORE) << "Got connection for the same deviceId but certificates don't match. Ignoring " << deviceId;
++ return;
++ }
++
+ addLink(deviceId, socket, receivedPacket, connectionOrigin);
+
+ // Copied from tcpSocketConnected slot, now delete received packet
+--
+2.28.0
+
diff --git a/kde-misc/kdeconnect/kdeconnect-20.04.3-r1.ebuild b/kde-misc/kdeconnect/kdeconnect-20.04.3-r1.ebuild
new file mode 100644
index 00000000000..1729d66f2f8
--- /dev/null
+++ b/kde-misc/kdeconnect/kdeconnect-20.04.3-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KDE_ORG_NAME="${PN}-kde"
+KDE_RELEASE_SERVICE="true"
+KDE_SELINUX_MODULE="${PN}"
+KFMIN=5.70.0
+QTMIN=5.14.2
+inherit ecm kde.org
+
+DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
+HOMEPAGE="https://kdeconnect.kde.org/
+https://kde.org/applications/en/kdeconnect.kcm"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="bluetooth pulseaudio wayland X"
+
+DEPEND="
+ >=app-crypt/qca-2.3.0:2[ssl]
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtmultimedia-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kpeople-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ bluetooth? ( >=dev-qt/qtbluetooth-${QTMIN}:5 )
+ X? (
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ x11-libs/libfakekey
+ x11-libs/libX11
+ x11-libs/libXtst
+ )
+ pulseaudio? ( media-libs/pulseaudio-qt )
+ wayland? ( >=kde-frameworks/kwayland-${KFMIN}:5 )
+"
+RDEPEND="${DEPEND}
+ dev-libs/kpeoplevcard
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ net-fs/sshfs
+"
+
+RESTRICT+=" test"
+
+PATCHES=(
+ # CVE-2020-26164, bug 746401
+ "${FILESDIR}"/${P}-01-Do-not-ignore-SSL-errors-except-for-self-signed-cert.patch
+ "${FILESDIR}"/${P}-02-Do-not-leak-the-local-user-in-the-device-name.patch
+ "${FILESDIR}"/${P}-03-Fix-use-after-free-in-LanLinkProvider-connectError.patch
+ "${FILESDIR}"/${P}-04-Limit-identity-packets-to-8KiB.patch
+ "${FILESDIR}"/${P}-05-Do-not-let-lanlink-connections-stay-open-for-long-wi.patch
+ "${FILESDIR}"/${P}-06-Don-t-brute-force-reading-the-socket.patch
+ "${FILESDIR}"/${P}-07-Limit-number-of-connected-sockets-from-unpaired-devi.patch
+ "${FILESDIR}"/${P}-08-Do-not-remember-more-than-a-few-identity-packets-at-.patch
+ "${FILESDIR}"/${P}-09-Limit-the-ports-we-try-to-connect-to-to-the-port-ran.patch
+ "${FILESDIR}"/${P}-10-Do-not-replace-connections-for-a-given-deviceId-if-t.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBLUETOOTH_ENABLED=$(usex bluetooth)
+ $(cmake_use_find_package pulseaudio KF5PulseAudioQt)
+ $(cmake_use_find_package wayland KF5Wayland)
+ $(cmake_use_find_package X LibFakeKey)
+ )
+
+ ecm_src_configure
+}
+
+pkg_postinst(){
+ ecm_pkg_postinst
+
+ elog "The Android .apk file is available via"
+ elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
+ elog "or via"
+ elog "https://f-droid.org/repository/browse/?fdid=org.kde.kdeconnect_tp"
+}
diff --git a/kde-misc/kdeconnect/kdeconnect-20.08.1-r1.ebuild b/kde-misc/kdeconnect/kdeconnect-20.08.1-r1.ebuild
new file mode 100644
index 00000000000..a43c4f2bd59
--- /dev/null
+++ b/kde-misc/kdeconnect/kdeconnect-20.08.1-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KDE_ORG_NAME="${PN}-kde"
+KDE_RELEASE_SERVICE="true"
+KDE_SELINUX_MODULE="${PN}"
+KFMIN=5.72.0
+QTMIN=5.14.2
+inherit ecm kde.org
+
+DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
+HOMEPAGE="https://kdeconnect.kde.org/
+https://kde.org/applications/en/kdeconnect.kcm"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="bluetooth pulseaudio wayland X"
+
+DEPEND="
+ >=app-crypt/qca-2.3.0:2[ssl]
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtmultimedia-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kpeople-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ bluetooth? ( >=dev-qt/qtbluetooth-${QTMIN}:5 )
+ X? (
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ x11-libs/libfakekey
+ x11-libs/libX11
+ x11-libs/libXtst
+ )
+ pulseaudio? ( media-libs/pulseaudio-qt )
+ wayland? ( >=kde-frameworks/kwayland-${KFMIN}:5 )
+"
+RDEPEND="${DEPEND}
+ dev-libs/kpeoplevcard
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ net-fs/sshfs
+"
+
+RESTRICT+=" test"
+
+PATCHES=(
+ # CVE-2020-26164, bug 746401
+ "${FILESDIR}"/${PN}-20.04.3-01-Do-not-ignore-SSL-errors-except-for-self-signed-cert.patch
+ "${FILESDIR}"/${PN}-20.04.3-02-Do-not-leak-the-local-user-in-the-device-name.patch
+ "${FILESDIR}"/${PN}-20.04.3-03-Fix-use-after-free-in-LanLinkProvider-connectError.patch
+ "${FILESDIR}"/${PN}-20.04.3-04-Limit-identity-packets-to-8KiB.patch
+ "${FILESDIR}"/${PN}-20.04.3-05-Do-not-let-lanlink-connections-stay-open-for-long-wi.patch
+ "${FILESDIR}"/${PN}-20.04.3-06-Don-t-brute-force-reading-the-socket.patch
+ "${FILESDIR}"/${PN}-20.04.3-07-Limit-number-of-connected-sockets-from-unpaired-devi.patch
+ "${FILESDIR}"/${PN}-20.04.3-08-Do-not-remember-more-than-a-few-identity-packets-at-.patch
+ "${FILESDIR}"/${PN}-20.04.3-09-Limit-the-ports-we-try-to-connect-to-to-the-port-ran.patch
+ "${FILESDIR}"/${PN}-20.04.3-10-Do-not-replace-connections-for-a-given-deviceId-if-t.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBLUETOOTH_ENABLED=$(usex bluetooth)
+ $(cmake_use_find_package pulseaudio KF5PulseAudioQt)
+ $(cmake_use_find_package wayland KF5Wayland)
+ $(cmake_use_find_package X LibFakeKey)
+ )
+
+ ecm_src_configure
+}
+
+pkg_postinst(){
+ ecm_pkg_postinst
+
+ elog "The Android .apk file is available via"
+ elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
+ elog "or via"
+ elog "https://f-droid.org/repository/browse/?fdid=org.kde.kdeconnect_tp"
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/
@ 2023-04-23 11:02 Andreas Sturmlechner
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2023-04-23 11:02 UTC (permalink / raw
To: gentoo-commits
commit: 48de0dc468f8db4db83a0fc725b667971d550c79
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 10:54:52 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 11:02:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48de0dc4
kde-misc/kdeconnect: Add IUSE telephony
Upstream commits:
7b1f10d4d514285017928b79316ff5e061f16e86
97e47efdf6626fa0ae282684ab50ee6fce67d642
Closes: https://bugs.gentoo.org/904823
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../kdeconnect-23.04.0-telephony-optional.patch | 40 +++++++++
kde-misc/kdeconnect/kdeconnect-23.04.0-r1.ebuild | 98 ++++++++++++++++++++++
kde-misc/kdeconnect/metadata.xml | 1 +
3 files changed, 139 insertions(+)
diff --git a/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch b/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch
new file mode 100644
index 000000000000..bec66fd64538
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch
@@ -0,0 +1,40 @@
+From 97e47efdf6626fa0ae282684ab50ee6fce67d642 Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heiko.becker@kde.org>
+Date: Mon, 20 Mar 2023 20:33:11 +0100
+Subject: [PATCH] Make mmtelephony plugin optional
+
+I see little purpose in pulling that stack in on a desktop computer,
+which doesn't even have a modem.
+---
+ plugins/CMakeLists.txt | 5 ++++-
+ plugins/mmtelephony/CMakeLists.txt | 1 -
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
+index dda19398b..1e304b88e 100644
+--- a/plugins/CMakeLists.txt
++++ b/plugins/CMakeLists.txt
+@@ -39,7 +39,10 @@ if(NOT SAILFISHOS)
+ add_subdirectory(virtualmonitor)
+
+ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+- add_subdirectory(mmtelephony)
++ find_package(KF5ModemManagerQt ${KF5_MIN_VERSION})
++ if (TARGET KF5::ModemManagerQt)
++ add_subdirectory(mmtelephony)
++ endif()
+ endif()
+
+ if(NOT WIN32)
+diff --git a/plugins/mmtelephony/CMakeLists.txt b/plugins/mmtelephony/CMakeLists.txt
+index 1fd9afe1e..c792b4c7c 100644
+--- a/plugins/mmtelephony/CMakeLists.txt
++++ b/plugins/mmtelephony/CMakeLists.txt
+@@ -1,4 +1,3 @@
+-find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ModemManagerQt)
+ set(debug_file_SRCS)
+ ecm_qt_declare_logging_category(
+ debug_file_SRCS HEADER plugin_mmtelephony_debug.h
+--
+GitLab
+
diff --git a/kde-misc/kdeconnect/kdeconnect-23.04.0-r1.ebuild b/kde-misc/kdeconnect/kdeconnect-23.04.0-r1.ebuild
new file mode 100644
index 000000000000..83f731cb0357
--- /dev/null
+++ b/kde-misc/kdeconnect/kdeconnect-23.04.0-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KDE_ORG_NAME="${PN}-kde"
+KDE_SELINUX_MODULE="${PN}"
+KFMIN=5.104.0
+QTMIN=5.15.5
+inherit ecm gear.kde.org
+
+DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
+HOMEPAGE="https://kdeconnect.kde.org/ https://apps.kde.org/kdeconnect/"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="bluetooth pulseaudio telephony X"
+
+RESTRICT="test"
+
+DEPEND="
+ >=app-crypt/qca-2.3.0:2[qt5(+),ssl]
+ >=dev-libs/wayland-1.15.0
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5=
+ >=dev-qt/qtmultimedia-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=dev-qt/qtwayland-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kguiaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kpeople-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ >=kde-frameworks/qqc2-desktop-style-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ x11-libs/libxkbcommon
+ bluetooth? ( >=dev-qt/qtbluetooth-${QTMIN}:5 )
+ pulseaudio? ( media-libs/pulseaudio-qt:= )
+ telephony? ( >=kde-frameworks/modemmanager-qt-${KFMIN}:5 )
+ X? (
+ x11-libs/libfakekey
+ x11-libs/libX11
+ x11-libs/libXtst
+ )
+"
+RDEPEND="${DEPEND}
+ dev-libs/kpeoplevcard
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+ >=dev-qt/qtmultimedia-${QTMIN}:5[qml]
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ net-fs/sshfs
+"
+BDEPEND="
+ >=dev-qt/qtwaylandscanner-${QTMIN}:5
+ dev-util/wayland-scanner
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-21.07.80-revert-disable-kpeople.patch"
+ "${FILESDIR}/${PN}-23.04.0-telephony-optional.patch" # bug 904823
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBLUETOOTH_ENABLED=$(usex bluetooth)
+ $(cmake_use_find_package pulseaudio KF5PulseAudioQt)
+ $(cmake_use_find_package telephony KF5ModemManagerQt)
+ $(cmake_use_find_package X LibFakeKey)
+ )
+ ecm_src_configure
+}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+
+ elog "The Android .apk file is available via"
+ elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
+ elog "or via"
+ elog "https://f-droid.org/packages/org.kde.kdeconnect_tp/"
+}
diff --git a/kde-misc/kdeconnect/metadata.xml b/kde-misc/kdeconnect/metadata.xml
index e2d036edeeab..f2331e3e263e 100644
--- a/kde-misc/kdeconnect/metadata.xml
+++ b/kde-misc/kdeconnect/metadata.xml
@@ -11,6 +11,7 @@
</upstream>
<use>
<flag name="pulseaudio">Enable system volume control plugin using <pkg>media-sound/pulseaudio</pkg></flag>
+ <flag name="telephony">Enable telephony plugin using <pkg>kde-frameworks/modemmanager-qt</pkg></flag>
<flag name="X">Enable remote input mousepad plugin using <pkg>x11-libs/libfakekey</pkg></flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/
@ 2023-06-17 10:50 Andreas Sturmlechner
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2023-06-17 10:50 UTC (permalink / raw
To: gentoo-commits
commit: f55f24c0f52b2c9db47d03b5bdd3828bded242f7
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 10:47:36 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 10:49:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55f24c0
kde-misc/kdeconnect: Fix kdeconnect_open desktop file type
Closes: https://bugs.gentoo.org/739674
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../kdeconnect-23.04.2-fix-desktop-file.patch | 49 ++++++++++
kde-misc/kdeconnect/kdeconnect-23.04.2-r1.ebuild | 100 +++++++++++++++++++++
2 files changed, 149 insertions(+)
diff --git a/kde-misc/kdeconnect/files/kdeconnect-23.04.2-fix-desktop-file.patch b/kde-misc/kdeconnect/files/kdeconnect-23.04.2-fix-desktop-file.patch
new file mode 100644
index 000000000000..6e03415d60de
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-23.04.2-fix-desktop-file.patch
@@ -0,0 +1,49 @@
+From 276c2f1334345071eaeef9aea87c96cdd199f8f0 Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sun, 11 Jun 2023 19:56:59 +0200
+Subject: [PATCH] Fix kdeconnect_open desktop file type
+
+It's an application, not a service
+
+Also don't make it executable, it's not needed
+
+BUG: 424782
+(cherry picked from commit 7569a6ceffc6fc169186e401d33ce1f2049ec5e4)
+---
+ data/CMakeLists.txt | 2 +-
+ data/org.kde.kdeconnect_open.desktop | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
+index 5d673f0ab..6d3621f29 100644
+--- a/data/CMakeLists.txt
++++ b/data/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ install (FILES "kdeconnect.contract" DESTINATION ${KDE_INSTALL_DATADIR}/contractor/)
+ install (FILES "kdeconnect-thunar.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/Thunar/sendto/)
+-install(PROGRAMS org.kde.kdeconnect_open.desktop DESTINATION ${KDE_INSTALL_APPDIR})
++install(FILES org.kde.kdeconnect_open.desktop DESTINATION ${KDE_INSTALL_APPDIR})
+ install (FILES "kdeconnect-dde.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/deepin/dde-file-manager/oem-menuextensions/)
+
+ if(NOT SAILFISHOS)
+diff --git a/data/org.kde.kdeconnect_open.desktop b/data/org.kde.kdeconnect_open.desktop
+index 03de93ef6..110dc2f67 100644
+--- a/data/org.kde.kdeconnect_open.desktop
++++ b/data/org.kde.kdeconnect_open.desktop
+@@ -1,4 +1,5 @@
+ [Desktop Entry]
++Type=Application
+ GenericName=Open on connected device via KDE Connect
+ GenericName[ar]=افتح في الجهاز المتصل عبر «كِيدِي المتّصل»
+ GenericName[az]=Connectd cihazında KDE Connect ilə açın
+@@ -128,7 +129,6 @@ Comment[zh_TW]=使用 KDE 連線於連線裝置中開啟
+ MimeType=application/octet-stream;
+ Exec=kdeconnect-handler --open %U
+ Icon=kdeconnect
+-Type=Service
+ Terminal=false
+ Categories=Qt;KDE;Network;
+ X-KDE-FormFactor=desktop;tablet;handset;
+--
+GitLab
+
diff --git a/kde-misc/kdeconnect/kdeconnect-23.04.2-r1.ebuild b/kde-misc/kdeconnect/kdeconnect-23.04.2-r1.ebuild
new file mode 100644
index 000000000000..ba3de6380507
--- /dev/null
+++ b/kde-misc/kdeconnect/kdeconnect-23.04.2-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KDE_ORG_NAME="${PN}-kde"
+KDE_SELINUX_MODULE="${PN}"
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.kde.org
+
+DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
+HOMEPAGE="https://kdeconnect.kde.org/ https://apps.kde.org/kdeconnect/"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="bluetooth pulseaudio telephony X"
+
+RESTRICT="test"
+
+DEPEND="
+ >=app-crypt/qca-2.3.0:2[qt5(+),ssl]
+ >=dev-libs/wayland-1.15.0
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5=
+ >=dev-qt/qtmultimedia-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=dev-qt/qtwayland-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kguiaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kpeople-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ >=kde-frameworks/qqc2-desktop-style-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ x11-libs/libxkbcommon
+ bluetooth? ( >=dev-qt/qtbluetooth-${QTMIN}:5 )
+ pulseaudio? ( media-libs/pulseaudio-qt:= )
+ telephony? ( >=kde-frameworks/modemmanager-qt-${KFMIN}:5 )
+ X? (
+ x11-libs/libfakekey
+ x11-libs/libX11
+ x11-libs/libXtst
+ )
+"
+RDEPEND="${DEPEND}
+ dev-libs/kpeoplevcard
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+ >=dev-qt/qtmultimedia-${QTMIN}:5[qml]
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ net-fs/sshfs
+"
+BDEPEND="
+ >=dev-qt/qtwaylandscanner-${QTMIN}:5
+ dev-util/wayland-scanner
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-21.07.80-revert-disable-kpeople.patch"
+ "${FILESDIR}/${PN}-23.04.0-telephony-optional.patch" # bug 904823
+ "${FILESDIR}/${PN}-23.04.1-explicit-constructor-for-QSslCertificate.patch" # bug 841416
+ "${FILESDIR}/${P}-fix-desktop-file.patch" # 23.04.3 backport, bug 739674
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBLUETOOTH_ENABLED=$(usex bluetooth)
+ $(cmake_use_find_package pulseaudio KF5PulseAudioQt)
+ $(cmake_use_find_package telephony KF5ModemManagerQt)
+ $(cmake_use_find_package X LibFakeKey)
+ )
+ ecm_src_configure
+}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+
+ elog "The Android .apk file is available via"
+ elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
+ elog "or via"
+ elog "https://f-droid.org/packages/org.kde.kdeconnect_tp/"
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-17 10:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10 18:43 [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/ Johannes Huber
-- strict thread matches above, loose matches on Subject: below --
2023-06-17 10:50 Andreas Sturmlechner
2023-04-23 11:02 Andreas Sturmlechner
2020-10-04 16:07 Andreas Sturmlechner
2016-11-19 17:25 Johannes Huber
2015-09-10 12:09 Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox