wok diff gvfs/stuff/allow-dropbear-ssh.patch @ rev 25527

created recipes for libmpack and libmpack-dev 1.0.5
author Hans-G?nter Theisgen
date Sat Feb 25 07:28:19 2023 +0100 (21 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gvfs/stuff/allow-dropbear-ssh.patch	Sat Feb 25 07:28:19 2023 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +--- daemon/gvfsbackendsftp.c.orig
     1.5 ++++ daemon/gvfsbackendsftp.c
     1.6 +@@ -237,7 +237,8 @@
     1.7 +       if (ssh_stderr == NULL)
     1.8 + 	res = SFTP_VENDOR_INVALID;
     1.9 +       else if ((strstr (ssh_stderr, "OpenSSH") != NULL) ||
    1.10 +-	       (strstr (ssh_stderr, "Sun_SSH") != NULL))
    1.11 ++	       (strstr (ssh_stderr, "Sun_SSH") != NULL) ||
    1.12 ++	       (strstr (ssh_stderr, "Dropbear") != NULL))
    1.13 + 	res = SFTP_VENDOR_OPENSSH;
    1.14 +       else if (strstr (ssh_stderr, "SSH Secure Shell") != NULL)
    1.15 + 	res = SFTP_VENDOR_SSH;