Package: duplicity
Version: 0.4.11-2
Severity: normal
Tags: patch

The duplicity thasn't support the fact that the port of the ssh does other 
port differente to port 22 for the ssh, so the command 

duplicity --encrypt-key my_gpg_key --sign-key my_gpg_key mydir 
scp://myu...@myserver:1022/thedir

doesn't work, because the command line used by duplicity is not the correct. 
So I do the changes that make duplicity work, and the diff are like follow, 
the /tmp/backends.py is the file changed and 
the /usr/share/pyshared/duplicity/backends.py is the original one:


344a345
>                       self.ssh_host_string = self.host_string.replace(":" + 
str(parsed_url.port) ,"")
346a348
>                       self.ssh_host_string = self.host_string
479c481
<                                         (scp_command, self.ssh_options, 
source_path.name, self.host_string,
---
>                                         (scp_command, self.ssh_options, 
> source_path.name, 
self.ssh_host_string,
486c488
<                                         (scp_command, self.ssh_options, 
self.host_string, self.remote_prefix,
---
>                                         (scp_command, self.ssh_options, 
> self.ssh_host_string, 
self.remote_prefix,
503c505,506
<               commandline = ("%s %s %s" % (sftp_command, self.ssh_options, 
self.host_string))
---
>               commandline = ("%s %s %s" % (sftp_command, self.ssh_options, 
self.ssh_host_string))
>               print "sftp_command (%s) self.ssh_options (%s), 
> self.host_string (%s) " % 
(sftp_command, self.ssh_options, self.host_string)
512c515
<               commandline = ("%s %s %s" % (sftp_command, self.ssh_options, 
self.host_string))
---
>               commandline = ("%s %s %s" % (sftp_command, self.ssh_options, 
self.ssh_host_string))

-- 
Juan Fernando Jaramillo
Gerente TecnologĂ­a
MIG Internacional
www.miginternacional.com



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to