summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-07 13:57:42 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-07 18:28:27 +0100
commita47feb869200142654518689ec96f2c6e47e9e4d (patch)
tree984835524bd39d0c9eef0579d072dcf8ad4a1fa2 /kde-apps/kio-extras
parentkde-apps/kget: 20.12.1 version bump (diff)
downloadgentoo-a47feb869200142654518689ec96f2c6e47e9e4d.tar.gz
gentoo-a47feb869200142654518689ec96f2c6e47e9e4d.tar.bz2
gentoo-a47feb869200142654518689ec96f2c6e47e9e4d.zip
kde-apps/kio-extras: 20.12.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kio-extras')
-rw-r--r--kde-apps/kio-extras/Manifest1
-rw-r--r--kde-apps/kio-extras/files/kio-extras-20.12.1-dont-log-pwd.patch26
-rw-r--r--kde-apps/kio-extras/kio-extras-20.12.1.ebuild97
3 files changed, 124 insertions, 0 deletions
diff --git a/kde-apps/kio-extras/Manifest b/kde-apps/kio-extras/Manifest
index 44ef13369395..11b41a9a903c 100644
--- a/kde-apps/kio-extras/Manifest
+++ b/kde-apps/kio-extras/Manifest
@@ -1,2 +1,3 @@
DIST kio-extras-20.08.3.tar.xz 630900 BLAKE2B 85d10431df29f62744c92dd6a3fe29442170e2cc18b9a0bd91a6726eccee9d63d6fec89e1f2eddddf3f2fa046c486e543d65bb4777b85c6c23bb14d142077c0a SHA512 c9336b2a348ced91c4edc36628afd2698891d9b52cd9ca6819e13e00a93745bf112eb98ed7d85940a41ae046f538d192d3bc7d8164d8fd65eb8464490d9471f2
DIST kio-extras-20.12.0.tar.xz 633272 BLAKE2B bef0e30e42a0d64ee43d668495a6ca09530d71356dd9e9d2ffb808dd4c12c954bbb6ebbeb2ba59d9d28c05bc5daa23d8bb758e200bda78012ae310d570efd46e SHA512 ab0303e222d5a7a63c2e42dce549ef3f9349996e9bc791e74902b331a4562043dc3b94d6a5af4a924400d951b26172431bffd8bcac69eee618085d60295f5843
+DIST kio-extras-20.12.1.tar.xz 633356 BLAKE2B a58ad0cf492e2e3f3a2869b91ba7f6b0b3aadba8cad3c556d58b785df28e3f85655b8b0dca75330b67e948c2bc1f18d33c11c8379349058cc4d602b28801e2c8 SHA512 fb0f3a495ffdbe0107554d6574e6fcb2dd51119f5d61e7e39aa528f7868a917fd10bef0cdc8d8c8451826a8218b6541860aaf62e03f72b44a707885966980bd0
diff --git a/kde-apps/kio-extras/files/kio-extras-20.12.1-dont-log-pwd.patch b/kde-apps/kio-extras/files/kio-extras-20.12.1-dont-log-pwd.patch
new file mode 100644
index 000000000000..ecc7af90e67a
--- /dev/null
+++ b/kde-apps/kio-extras/files/kio-extras-20.12.1-dont-log-pwd.patch
@@ -0,0 +1,26 @@
+From 6c099045f6f67069ad7b5f4deb6873cf5f34a4f4 Mon Sep 17 00:00:00 2001
+From: Harald Sitter <sitter@kde.org>
+Date: Thu, 7 Jan 2021 14:45:34 +0100
+Subject: [PATCH] don't log passwords
+
+obviously not useful but dangerous
+---
+ smb/smbauthenticator.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/smb/smbauthenticator.cpp b/smb/smbauthenticator.cpp
+index 4386e823..d4bf7032 100644
+--- a/smb/smbauthenticator.cpp
++++ b/smb/smbauthenticator.cpp
+@@ -94,7 +94,7 @@ void SMBAuthenticator::auth(const char *server, const char *share, char *workgro
+ // https://bugzilla.samba.org/show_bug.cgi?id=14326
+
+ if (m_frontend.checkCachedAuthentication(info)) {
+- qCDebug(KIO_SMB_LOG) << "got password through cache" << info.username << info.password;
++ qCDebug(KIO_SMB_LOG) << "got password through cache" << info.username;
+ } else if (!m_defaultUser.isEmpty()) {
+ // user defined a default username/password in kcontrol; try this
+ info.username = m_defaultUser;
+--
+GitLab
+
diff --git a/kde-apps/kio-extras/kio-extras-20.12.1.ebuild b/kde-apps/kio-extras/kio-extras-20.12.1.ebuild
new file mode 100644
index 000000000000..f92fb975c21a
--- /dev/null
+++ b/kde-apps/kio-extras/kio-extras-20.12.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KFMIN=5.75.0
+QTMIN=5.15.1
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
+HOMEPAGE="https://invent.kde.org/network/kio-extras"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="activities +man mtp nfs openexr phonon samba +sftp taglib X"
+
+BDEPEND="
+ man? ( dev-util/gperf )
+"
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kbookmarks-${KFMIN}:5
+ >=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kdnssd-${KFMIN}:5
+ >=kde-frameworks/kguiaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:5
+ activities? (
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=kde-frameworks/kactivities-${KFMIN}:5
+ >=kde-frameworks/kactivities-stats-${KFMIN}:5
+ )
+ mtp? ( >=media-libs/libmtp-1.1.16:= )
+ nfs? ( net-libs/libtirpc:= )
+ openexr? ( media-libs/openexr:= )
+ phonon? ( >=media-libs/phonon-4.11.0 )
+ samba? (
+ net-fs/samba[client]
+ net-libs/kdsoap:=
+ net-libs/kdsoap-ws-discovery-client
+ )
+ sftp? ( net-libs/libssh:=[sftp] )
+ taglib? ( >=media-libs/taglib-1.11.1 )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXcursor
+ )
+"
+RDEPEND="${DEPEND}
+ >=kde-frameworks/kded-${KFMIN}:5
+"
+
+# requires running kde environment
+RESTRICT+=" test"
+
+PATCHES=( "${FILESDIR}/${P}-dont-log-pwd.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package activities KF5Activities)
+ $(cmake_use_find_package activities KF5ActivitiesStats)
+ $(cmake_use_find_package man Gperf)
+ $(cmake_use_find_package mtp Mtp)
+ $(cmake_use_find_package nfs TIRPC)
+ $(cmake_use_find_package openexr OpenEXR)
+ $(cmake_use_find_package phonon Phonon4Qt5)
+ $(cmake_use_find_package samba Samba)
+ $(cmake_use_find_package sftp libssh)
+ $(cmake_use_find_package taglib Taglib)
+ $(cmake_use_find_package X X11)
+ )
+ use samba && mycmakeargs+=(
+ -DBUILD_KDSoapWSDiscoveryClient=OFF # disable bundled stuff
+ )
+
+ ecm_src_configure
+}