summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2005-11-06 05:57:10 +0000
committerMike Gardiner <obz@gentoo.org>2005-11-06 05:57:10 +0000
commite4f582384f2fa9e4d893c181bc1b0a4b98c274a0 (patch)
tree844db39f936581498b53e01dbcc3c78698578172 /net-ftp/gftp/files
parentStable on x86; bug #111076 (diff)
downloadhistorical-e4f582384f2fa9e4d893c181bc1b0a4b98c274a0.tar.gz
historical-e4f582384f2fa9e4d893c181bc1b0a4b98c274a0.tar.bz2
historical-e4f582384f2fa9e4d893c181bc1b0a4b98c274a0.zip
Added revision -r3 with a fix for downloading files over ssh2 that are read-only (non-writable). See bug #91269 and the upstream link.
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'net-ftp/gftp/files')
-rw-r--r--net-ftp/gftp/files/digest-gftp-2.0.18-r31
-rw-r--r--net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/net-ftp/gftp/files/digest-gftp-2.0.18-r3 b/net-ftp/gftp/files/digest-gftp-2.0.18-r3
new file mode 100644
index 000000000000..c99f186437a4
--- /dev/null
+++ b/net-ftp/gftp/files/digest-gftp-2.0.18-r3
@@ -0,0 +1 @@
+MD5 44b19442d06f6dc68c7211d66029d826 gftp-2.0.18.tar.bz2 1374850
diff --git a/net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch b/net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch
new file mode 100644
index 000000000000..765741be7b02
--- /dev/null
+++ b/net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch
@@ -0,0 +1,13 @@
+--- gftp-2.0.18.orig/lib/sshv2.c
++++ gftp-2.0.18/lib/sshv2.c
+@@ -1841,7 +1841,7 @@
+ {
+ int ret;
+
+- if ((ret = sshv2_open_file (request, file, startsize, SSH_FXP_OPEN)) < 0)
++ if ((ret = sshv2_open_file (request, file, startsize, SSH_FXF_READ)) < 0)
+ return (ret);
+
+ return (sshv2_get_file_size (request, file));
+
+