r22244 - in /branches/upstream/libnet-sftp-foreign-perl/current: Changes META.yml lib/Net/SFTP/Foreign.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jun 28 14:56:51 UTC 2008
Author: gregoa
Date: Sat Jun 28 14:56:51 2008
New Revision: 22244
URL: http://svn.debian.org/wsvn/?sc=1&rev=22244
Log:
[svn-upgrade] Integrating new upstream version, libnet-sftp-foreign-perl (1.40+dfsg)
Modified:
branches/upstream/libnet-sftp-foreign-perl/current/Changes
branches/upstream/libnet-sftp-foreign-perl/current/META.yml
branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm
Modified: branches/upstream/libnet-sftp-foreign-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-sftp-foreign-perl/current/Changes?rev=22244&op=diff
==============================================================================
--- branches/upstream/libnet-sftp-foreign-perl/current/Changes (original)
+++ branches/upstream/libnet-sftp-foreign-perl/current/Changes Sat Jun 28 14:56:51 2008
@@ -1,4 +1,13 @@
Revision history for Net::SFTP::Foreign
+
+1.40 Jun 24, 2008
+ - work around for servers that do not include the mandatory
+ error message on SSH_FXP_STATUS responses (bug report by
+ Hugh Lampert).
+
+1.39 Jun 23, 2008
+ - suppress warning on mod_perl environments (bug and solution
+ reported by Eric Rybski).
1.38 May 20, 2008
- add experimental support for plink command
@@ -33,13 +42,16 @@
1.34 Jan 8, 2008
- document rput. It said it was not implemented (bug report
by Paul Kolano).
-
-1.33 6 Jan, 2008
+ - put method was failing for binary files under Windows
+ because binmode was not set on the local filehandler (bug
+ report and patch by Patrick Frazer).
+
+1.33 Jan 6, 2008
- rremove was not removing dirs (bug report by Paul Kolano).
- require perl >= 5.6
- add support for open/close and DESTROY debugging
-1.32 8 Dec, 2007
+1.32 Dec 8, 2007
- add new question to FAQ
- document password and passphrase options (though, not
completely).
@@ -47,19 +59,19 @@
- on testing look for sftp-server on libexec dirs
- and delete temporal files
-1.31 8 Oct, 2007
+1.31 Oct 8, 2007
- remove Win32::Socketpair loading, it is not used anymore
- improve debugging
- do not croak when invalid data from the other side appears
-1.30 23 Aug, 2007
+1.30 Aug 23, 2007
- add support for realpath option to ls method
- add support for realpath and names_only to glob method
- improve _set_status and _set_error methods
- add support for password authentication and for keys with
passphrases
-1.29 14 Aug, 2007
+1.29 Aug 14, 2007
- add support for names_only option to ls and find methods
- make ls and find methods default to '.'
- DESTROY was also messing with $? and $! values (bug reported
@@ -74,25 +86,25 @@
Howard)
- disable DIE custom handlers when using eval
-1.27 7 Jul, 2007
+1.27 Jul 7, 2007
- catch insecure $ENV{PATH} under taint mode (bug reported by
jmarshll).
-1.26 5 Jul, 2007
+1.26 Jul 5, 2007
- my email was missing from the docs
- make it work under taint checking (experimental feature).
- work around bug in dualvar under taint checking
-1.25 19 Jun, 2007
+1.25 Jun 19, 2007
- remove some obsolete tests not working on 5.9.x
-1.24 18 Jun, 2007
+1.24 Jun 18, 2007
- DESTROY was messing up $@ (bug reported by Kai Grossjohann)
- set $SIG{PIPE} handler inside _do_io to catch IO errors
- don't execute external command when transport option is used
on constructor
-1.23 23 May, 2007
+1.23 May 23, 2007
- release as stable!
- some doc improvements
Modified: branches/upstream/libnet-sftp-foreign-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-sftp-foreign-perl/current/META.yml?rev=22244&op=diff
==============================================================================
--- branches/upstream/libnet-sftp-foreign-perl/current/META.yml (original)
+++ branches/upstream/libnet-sftp-foreign-perl/current/META.yml Sat Jun 28 14:56:51 2008
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Net-SFTP-Foreign
-version: 1.38
+version: 1.40
version_from: lib/Net/SFTP/Foreign.pm
installdirs: site
requires:
Modified: branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm?rev=22244&op=diff
==============================================================================
--- branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm (original)
+++ branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm Sat Jun 28 14:56:51 2008
@@ -1,6 +1,6 @@
package Net::SFTP::Foreign;
-our $VERSION = '1.38';
+our $VERSION = '1.40';
use strict;
use warnings;
@@ -383,7 +383,7 @@
my $child = eval { open2($sftp->{ssh_in}, $sftp->{ssh_out}, '-') };
if (defined $child and !$child) {
$pty->make_slave_controlling_terminal;
- exec @open2_cmd;
+ do { exec @open2_cmd }; # work around suppress warning under mod_perl
exit -1;
}
_ipc_open2_bug_workaround $this_pid;
@@ -528,7 +528,9 @@
if ($type != $etype) {
if ($type == SSH2_FXP_STATUS) {
- my $status = $sftp->_set_status($msg->get_int32, $msg->get_str);
+ my $code = $msg->get_int32;
+ my $str = $msg->get_str;
+ my $status = $sftp->_set_status($code, (defined $str ? $str : ()));
$sftp->_set_error($err, $errstr, $status);
}
else {
@@ -2762,7 +2764,7 @@
=item expect_log_user =E<gt> $bool
-activates password/passphrase authentication interaction loging (see
+activates password/passphrase authentication interaction logging (see
C<Expect::log_user> method documentation).
=item block_size =E<gt> $default_block_size
@@ -3713,8 +3715,6 @@
=back
-
-
=head1 BUGS
These are the currently known bugs:
@@ -3744,14 +3744,12 @@
Support for taint mode is experimental!
-Support for setcwd/cwd is experimental!
+Support for plink is experimental!
Support for password/passphrase handling via Expect is also
experimental. On Windows it only works under the cygwin version of
Perl.
-
-
To report bugs, please, send me and email or use
L<http://rt.cpan.org>.
More information about the Pkg-perl-cvs-commits
mailing list