View | Details | Raw Unified | Return to bug 235303
Collapse All | Expand All

(-)kdeconnect-kde/Makefile (-2 / +3 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	kdeconnect-kde
3
PORTNAME=	kdeconnect-kde
4
DISTVERSION=	1.3.3
4
DISTVERSION=	1.3.3
5
PORTREVISION=	1
5
PORTREVISION=	2
6
CATEGORIES=	deskutils kde
6
CATEGORIES=	deskutils kde
7
MASTER_SITES=	KDE/stable/kdeconnect/${DISTVERSION}/src/
7
MASTER_SITES=	KDE/stable/kdeconnect/${DISTVERSION}/src/
8
DIST_SUBDIR=	KDE
8
DIST_SUBDIR=	KDE
Lines 15-21 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
15
16
LIB_DEPENDS=	libfakekey.so:x11/libfakekey \
16
LIB_DEPENDS=	libfakekey.so:x11/libfakekey \
17
		libqca-qt5.so:devel/qca@qt5
17
		libqca-qt5.so:devel/qca@qt5
18
RUN_DEPENDS=	sshfs:sysutils/fusefs-sshfs
18
RUN_DEPENDS=	sshfs:sysutils/fusefs-sshfs \
19
		sshpass:security/sshpass
19
20
20
CONFLICTS_INSTALL=	kdeconnect-kde-0.7* kdeconnect-kde-kde4-0.7.*
21
CONFLICTS_INSTALL=	kdeconnect-kde-0.7* kdeconnect-kde-kde4-0.7.*
21
22
(-)kdeconnect-kde/files/patch-plugins_sftp_mounter.cpp (+22 lines)
Line 0 Link Here
1
--- plugins/sftp/mounter.cpp.orig	2018-11-06 14:32:08.000000000 +0100
2
+++ plugins/sftp/mounter.cpp	2019-01-29 18:43:47.324002000 +0100
3
@@ -139,7 +139,7 @@
4
         << QStringLiteral("-o") << QStringLiteral("gid=") + QString::number(getgid())
5
         << QStringLiteral("-o") << QStringLiteral("reconnect")
6
         << QStringLiteral("-o") << QStringLiteral("ServerAliveInterval=30")
7
-        << QStringLiteral("-o") << QStringLiteral("password_stdin")
8
+        << QStringLiteral("-o") << QStringLiteral("ssh_command=sshpass -p ") + np.get<QString>("password").toLatin1() + (" ssh")
9
         ;
10
 
11
     m_proc->setProgram(program, arguments);
12
@@ -148,8 +148,8 @@
13
     m_proc->start();
14
 
15
     //qCDebug(KDECONNECT_PLUGIN_SFTP) << "Passing password: " << np.get<QString>("password").toLatin1();
16
-    m_proc->write(np.get<QString>(QStringLiteral("password")).toLatin1());
17
-    m_proc->write("\n");
18
+    //m_proc->write(np.get<QString>(QStringLiteral("password")).toLatin1());
19
+    //  m_proc->write("\n");
20
 
21
 }
22
 

Return to bug 235303