diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 643e373..fd7a184 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -13,13 +13,20 @@ groups=(kde-applications kde-network) depends=(kcmutils kwayland libfakekey qca-qt5 kpeoplevcard pulseaudio-qt qqc2-desktop-style hicolor-icon-theme) makedepends=(extra-cmake-modules kdoctools) optdepends=('sshfs: remote filesystem browser' 'python-nautilus: Nautilus integration' 'qt5-tools: for some runcommand plugin actions') -source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-kde-$pkgver.tar.xz{,.sig}) +source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-kde-$pkgver.tar.xz{,.sig} + kdeconnect-openssh-8.8.patch) sha256sums=('6330f74b432ecead1f99f8c74dcc24fd97672ca7009267569ff3bceeb3fedc06' - 'SKIP') + 'SKIP' + '2f672409073f5a4a00e0583c487bf3f04a637cb9714c3ba8d11146ec0e666985') validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker +prepare() { + cd $pkgname-kde-$pkgver + patch -Np1 -i ../kdeconnect-openssh-8.8.patch +} + build() { cmake -B build -S $pkgname-kde-$pkgver \ -DBUILD_TESTING=OFF \ diff --git a/trunk/kdeconnect-openssh-8.8.patch b/trunk/kdeconnect-openssh-8.8.patch new file mode 100644 index 0000000..889a11f --- /dev/null +++ b/trunk/kdeconnect-openssh-8.8.patch @@ -0,0 +1,13 @@ +diff --git a/plugins/sftp/mounter.cpp b/plugins/sftp/mounter.cpp +index 2a48418..a941b8e 100644 +--- a/plugins/sftp/mounter.cpp ++++ b/plugins/sftp/mounter.cpp +@@ -129,7 +129,7 @@ void Mounter::onPackageReceived(const NetworkPacket& np) + << QStringLiteral("-o") << QStringLiteral("IdentityFile=") + KdeConnectConfig::instance().privateKeyPath() + << QStringLiteral("-o") << QStringLiteral("StrictHostKeyChecking=no") //Do not ask for confirmation because it is not a known host + << QStringLiteral("-o") << QStringLiteral("UserKnownHostsFile=/dev/null") //Prevent storing as a known host +- << QStringLiteral("-o") << QStringLiteral("HostKeyAlgorithms=+ssh-dss") //https://bugs.kde.org/show_bug.cgi?id=351725 ++ << QStringLiteral("-o") << QStringLiteral("HostKeyAlgorithms=+ssh-rsa,ssh-dss") //https://bugs.kde.org/show_bug.cgi?id=351725 + << QStringLiteral("-o") << QStringLiteral("uid=") + QString::number(getuid()) + << QStringLiteral("-o") << QStringLiteral("gid=") + QString::number(getgid()) + << QStringLiteral("-o") << QStringLiteral("reconnect")