[SCM] Debian packaging of libnet-sftp-foreign-perl branch, master, updated. e4967db8761977f3f09c649c86c88b3e179843e8

gregor herrmann gregoa at debian.org
Sat Dec 10 17:51:54 UTC 2011


The following commit has been merged in the master branch:
commit a30bb6118200d23b995c9ad7c98900fac09cb1aa
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Dec 10 18:42:32 2011 +0100

    Refresh spelling patch.

diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
index 3d30d5e..71b4849 100644
--- a/debian/patches/spelling.patch
+++ b/debian/patches/spelling.patch
@@ -1,10 +1,13 @@
-Author: Nicholas Bamber <nicholas at periapt.co.uk>
-Forwarded: no
-Last-Updated: 2011-07-08
 Subject: spelling
+Bug: https://rt.cpan.org/Ticket/Display.html?id=73165
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=73165
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-12-10
+
 --- a/lib/Net/SFTP/Foreign.pm
 +++ b/lib/Net/SFTP/Foreign.pm
-@@ -3274,7 +3274,7 @@
+@@ -3402,7 +3402,7 @@
  knows nothing about the character encoding used on the remote
  filesystem to represent file and directory names.
  
@@ -13,7 +16,7 @@ Subject: spelling
  machine. The default value is C<utf8>.
  
  For instance:
-@@ -3326,7 +3326,7 @@
+@@ -3471,7 +3471,7 @@
  
  =item transport =E<gt> [$in_fh, $out_fh, $pid]
  
@@ -22,7 +25,7 @@ Subject: spelling
  SFTP protocol.
  
  It can be (ab)used to make this module work with password
-@@ -3344,7 +3344,7 @@
+@@ -3489,7 +3489,7 @@
  
  =item open2_cmd =E<gt> $cmd;
  
@@ -31,7 +34,7 @@ Subject: spelling
  passed to L<IPC::Open2::open2> to open a pipe to the remote
  server.
  
-@@ -3418,7 +3418,7 @@
+@@ -3563,7 +3563,7 @@
  that results on the SSH connection being closed by the first process
  where the object goes out of scope, something undesirable.
  
@@ -40,7 +43,7 @@ Subject: spelling
  
  The acceptable values for C<$ad> are:
  
-@@ -3542,7 +3542,7 @@
+@@ -3687,7 +3687,7 @@
  
  =item umask =E<gt> $umask
  
@@ -49,7 +52,7 @@ Subject: spelling
  the copied file. Default is to use the umask for the current process.
  
  =item perm =E<gt> $perm
-@@ -3635,7 +3635,7 @@
+@@ -3805,7 +3805,7 @@
  =item queue_size =E<gt> $size
  
  read and write requests are pipelined in order to maximize transfer
@@ -58,7 +61,7 @@ Subject: spelling
  that can be concurrently waiting for a server response.
  
  =back
-@@ -3689,7 +3689,7 @@
+@@ -3859,7 +3859,7 @@
  
  =item umask =E<gt> $umask
  
@@ -67,7 +70,16 @@ Subject: spelling
  the copied file. Default is to use the umask for the current process.
  
  =item perm =E<gt> $perm
-@@ -3747,7 +3747,7 @@
+@@ -3897,7 +3897,7 @@
+ once the copy completes is renamed to the target destination.
+ 
+ This operation relies on the SSH server to perform an
+-overwriting/non-overwritting atomic rename operation free of race
++overwriting/non-overwriting atomic rename operation free of race
+ conditions.
+ 
+ OpenSSH server does it correctly on top of Linux/UNIX native file
+@@ -3952,7 +3952,7 @@
  =item queue_size =E<gt> $size
  
  read and write requests are pipelined in order to maximize transfer
@@ -76,7 +88,7 @@ Subject: spelling
  that can be concurrently waiting for a server response.
  
  =item late_set_perm =E<gt> $bool
-@@ -4105,7 +4105,7 @@
+@@ -4310,7 +4310,7 @@
  
  =item no_wanted =E<gt> ...
  
@@ -85,7 +97,7 @@ Subject: spelling
  copied. See also C<ls> method docs.
  
  If a directory is discarded all of its contents are also discarded (as
-@@ -4173,7 +4173,7 @@
+@@ -4380,7 +4380,7 @@
  
  =item no_wanted =E<gt> ...
  
@@ -94,7 +106,22 @@ Subject: spelling
  copied. See also C<ls> method docs.
  
  If a directory is discarded all of its contents are also discarded (as
-@@ -4324,7 +4324,7 @@
+@@ -4484,12 +4484,12 @@
+     or die $sftp->error;
+   while (<$fh1>) { ... }
+ 
+-  # writting to the remote file
++  # writing to the remote file
+   use Net::SFTP::Foreign::Constants qw(:flags);
+   my $fh2 = $sftp->open("/foo/bar", SSH2_FXF_WRITE|SSH2_FXF_CREAT)
+     or die $sftp->error;
+   print $fh2 "printing on the remote file\n";
+-  $sftp->write($fh2, "writting more");
++  $sftp->write($fh2, "writing more");
+ 
+ The C<$flags> bitmap determines how to open the remote file as defined
+ in the SFTP protocol draft (the following constants can be imported
+@@ -4533,7 +4533,7 @@
  
  =back
  
@@ -103,7 +130,7 @@ Subject: spelling
  attributes. C<$attrs> has to be an object of class
  L<Net::SFTP::Foreign::Attributes>.
  
-@@ -4734,7 +4734,7 @@
+@@ -4943,7 +4943,7 @@
       or die "unable to transfer file: " . $sftp->error;
  
  Some servers do not support the C<fsetstat> method on open file
@@ -112,13 +139,14 @@ Subject: spelling
  file has been completely transferred and the remote file handle
  closed.
  
-@@ -4896,13 +4896,13 @@
+@@ -5110,14 +5110,14 @@
  Net::SFTP::Foreign integrates nicely with my other module
  L<Net::OpenSSH>.
  
 -L<Net::SFTP::Foreign::Backend::Net_SSH2> allows to run
 +L<Net::SFTP::Foreign::Backend::Net_SSH2> allows one to run
- Net::SFTP::Foreign on top of L<Net::SSH2>.
+ Net::SFTP::Foreign on top of L<Net::SSH2> (nowadays, this combination
+ is probably the best option under Windows).
  
  Modules offering similar functionality available from CPAN are
  L<Net::SFTP> and L<Net::SSH2>.

-- 
Debian packaging of libnet-sftp-foreign-perl



More information about the Pkg-perl-cvs-commits mailing list