forked from Lainports/freebsd-ports
This megacommit merges all the work from https://github.com/freebsd/freebsd-ports-kde/tree/kde-it_goes_to_6 Specifically: - KDE Plasma 6 ports updated to 6.2.5 - KDE Applications ports updated to 24.12.0 - Development ports of KDE Applications removed - A lot of various ports switched to Qt 6 by default - Some KDE Frameworks 5 and Plasma 5 ports are adapted to be coinstallable with their 6 counterparts PR: 284351 Exp-run by: antoine Pull Request: https://github.com/freebsd/freebsd-ports/pull/341 Co-authored-by: Max Brazhnikov <makc@FreeBSD.org> Co-authored-by: Kenneth Raplee <kenrap@kennethraplee.com> Co-authored-by: Jason E. Hale <jhale@FreeBSD.org> Co-authored-by: Gleb Popov <arrowd@FreeBSD.org>
22 lines
1.2 KiB
C++
22 lines
1.2 KiB
C++
--- plugins/sftp/mounter.cpp.orig 2023-12-18 22:14:59 UTC
|
|
+++ plugins/sftp/mounter.cpp
|
|
@@ -128,7 +128,7 @@ void Mounter::onPacketReceived(const NetworkPacket &np
|
|
<< QStringLiteral("-o") << QStringLiteral("gid=") + QString::number(getgid())
|
|
<< QStringLiteral("-o") << QStringLiteral("reconnect")
|
|
<< QStringLiteral("-o") << QStringLiteral("ServerAliveInterval=30")
|
|
- << QStringLiteral("-o") << QStringLiteral("password_stdin");
|
|
+ << QStringLiteral("-o") << QStringLiteral("ssh_command=sshpass -p %1 %2").arg(np.get<QString>(QStringLiteral("password")), QStringLiteral("ssh"));
|
|
// clang-format on
|
|
|
|
m_proc->setProgram(program, arguments);
|
|
@@ -137,8 +137,8 @@ void Mounter::onPacketReceived(const NetworkPacket &np
|
|
m_proc->start();
|
|
|
|
// qCDebug(KDECONNECT_PLUGIN_SFTP) << "Passing password: " << np.get<QString>("password").toLatin1();
|
|
- m_proc->write(np.get<QString>(QStringLiteral("password")).toLatin1());
|
|
- m_proc->write("\n");
|
|
+ //m_proc->write(np.get<QString>(QStringLiteral("password")).toLatin1());
|
|
+ //m_proc->write("\n");
|
|
}
|
|
|
|
void Mounter::onStarted()
|