Hello community, here is the log from the commit of package perl-Net-SSH2 for openSUSE:Factory checked in at 2017-08-10 14:03:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Net-SSH2 (Old) and /work/SRC/openSUSE:Factory/.perl-Net-SSH2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Net-SSH2" Thu Aug 10 14:03:36 2017 rev:6 rq:512159 version:0.66 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Net-SSH2/perl-Net-SSH2.changes 2017-06-21 13:57:11.459375684 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Net-SSH2.new/perl-Net-SSH2.changes 2017-08-10 14:11:52.730348517 +0200 @@ -1,0 +2,9 @@ +Fri Jul 21 05:56:46 UTC 2017 - coolo@suse.com + +- updated to 0.66 + see /usr/share/doc/packages/perl-Net-SSH2/Changes + + 0.66 2017-07-19 + - Warn about readline being called in non-blocking mode. + +------------------------------------------------------------------- Old: ---- Net-SSH2-0.65.tar.gz New: ---- Net-SSH2-0.66.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Net-SSH2.spec ++++++ --- /var/tmp/diff_new_pack.3QInhy/_old 2017-08-10 14:11:53.438248847 +0200 +++ /var/tmp/diff_new_pack.3QInhy/_new 2017-08-10 14:11:53.446247720 +0200 @@ -17,7 +17,7 @@ Name: perl-Net-SSH2 -Version: 0.65 +Version: 0.66 Release: 0 %define cpan_name Net-SSH2 Summary: Support for the SSH 2 protocol via libssh2 ++++++ Net-SSH2-0.65.tar.gz -> Net-SSH2-0.66.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-SSH2-0.65/Changes new/Net-SSH2-0.66/Changes --- old/Net-SSH2-0.65/Changes 2017-06-14 10:51:36.000000000 +0200 +++ new/Net-SSH2-0.66/Changes 2017-07-19 09:38:00.000000000 +0200 @@ -1,5 +1,8 @@ Revision history for Perl extension Net::SSH2. +0.66 2017-07-19 + - Warn about readline being called in non-blocking mode. + 0.65 2017-06-14 - Improve Travis CI testing - Fix perl 5.8 support diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-SSH2-0.65/META.yml new/Net-SSH2-0.66/META.yml --- old/Net-SSH2-0.65/META.yml 2017-06-14 11:45:04.000000000 +0200 +++ new/Net-SSH2-0.66/META.yml 2017-07-19 09:56:59.000000000 +0200 @@ -22,7 +22,7 @@ provides: Net::SSH2: file: lib/Net/SSH2.pm - version: '0.65' + version: '0.66' Net::SSH2::Channel: file: lib/Net/SSH2/Channel.pm Net::SSH2::Dir: @@ -42,4 +42,4 @@ resources: license: http://dev.perl.org/licenses/ repository: git://github.com/rkitover/net-ssh2.git -version: '0.65' +version: '0.66' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-SSH2-0.65/lib/Net/SSH2/Channel.pm new/Net-SSH2-0.66/lib/Net/SSH2/Channel.pm --- old/Net-SSH2-0.65/lib/Net/SSH2/Channel.pm 2017-06-14 10:26:55.000000000 +0200 +++ new/Net-SSH2-0.66/lib/Net/SSH2/Channel.pm 2017-07-19 09:32:04.000000000 +0200 @@ -101,11 +101,17 @@ } } +my $readline_non_blocking_warned; sub readline { my ($self, $ext, $eol) = @_; return if $self->eof; $ext ||= 0; $eol = $/ unless @_ >= 3; + + $self->blocking or $readline_non_blocking_warned++ or + warnings::warnif('Net::SSH2', + "Calling Net::SSH2::Channel::readline in non-blocking mode is usually a programming error"); + if (wantarray or not defined $eol) { my $data = ''; my $buffer; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-SSH2-0.65/lib/Net/SSH2.pm new/Net-SSH2-0.66/lib/Net/SSH2.pm --- old/Net-SSH2-0.65/lib/Net/SSH2.pm 2017-06-14 11:44:30.000000000 +0200 +++ new/Net-SSH2-0.66/lib/Net/SSH2.pm 2017-07-19 09:37:00.000000000 +0200 @@ -1,6 +1,6 @@ package Net::SSH2; -our $VERSION = '0.65'; +our $VERSION = '0.66'; use 5.006; use strict;