Hello community, here is the log from the commit of package perl-Net-HTTP for openSUSE:Factory checked in at 2015-05-23 12:42:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Net-HTTP (Old) and /work/SRC/openSUSE:Factory/.perl-Net-HTTP.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-HTTP" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Net-HTTP/perl-Net-HTTP.changes 2014-09-17 17:24:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Net-HTTP.new/perl-Net-HTTP.changes 2015-05-23 12:42:16.000000000 +0200 @@ -1,0 +2,36 @@ +Thu May 21 08:44:45 UTC 2015 - co...@suse.com + +- updated to 6.09 + see /usr/share/doc/packages/perl-Net-HTTP/Changes + + Release history for Net-HTTP + + + _______________________________________________________________________________ + 2015-05-20 Net-HTTP 6.09 + + Karen Etheridge (1): + No changes since 6.08_002 + + + + _______________________________________________________________________________ + 2015-05-02 Net-HTTP 6.08_002 + + Karen Etheridge (1): + fix foolish $VERSION error in 6.08_001 + + + + _______________________________________________________________________________ + 2015-05-01 Net-HTTP 6.08_001 + + Mark Overmeer (1): + resolve issues with SSL by reading bytes still waiting to be read after + the initial 1024 bytes [RT#104122] + + + + _______________________________________________________________________________ + +------------------------------------------------------------------- Old: ---- Net-HTTP-6.07.tar.gz New: ---- Net-HTTP-6.09.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Net-HTTP.spec ++++++ --- /var/tmp/diff_new_pack.vwsKPe/_old 2015-05-23 12:42:17.000000000 +0200 +++ /var/tmp/diff_new_pack.vwsKPe/_new 2015-05-23 12:42:17.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Net-HTTP # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,24 @@ Name: perl-Net-HTTP -Version: 6.07 +Version: 6.09 Release: 0 %define cpan_name Net-HTTP Summary: Low-level HTTP connection (client) License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Net-HTTP/ -Source: http://www.cpan.org/authors/id/M/MS/MSCHILLI/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Compress::Raw::Zlib) -BuildRequires: perl(IO::Compress::Gzip) +BuildRequires: perl(IO::Uncompress::Gunzip) BuildRequires: perl(URI) Requires: perl(Compress::Raw::Zlib) -Requires: perl(IO::Compress::Gzip) +Requires: perl(IO::Uncompress::Gunzip) Requires: perl(URI) Recommends: perl(IO::Socket::SSL) >= 1.38 %{perl_requires} ++++++ Net-HTTP-6.07.tar.gz -> Net-HTTP-6.09.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/Changes new/Net-HTTP-6.09/Changes --- old/Net-HTTP-6.07/Changes 2014-07-24 05:25:51.000000000 +0200 +++ new/Net-HTTP-6.09/Changes 2015-05-20 20:47:57.000000000 +0200 @@ -1,9 +1,40 @@ +Release history for Net-HTTP + + +_______________________________________________________________________________ +2015-05-20 Net-HTTP 6.09 + +Karen Etheridge (1): + No changes since 6.08_002 + + + +_______________________________________________________________________________ +2015-05-02 Net-HTTP 6.08_002 + +Karen Etheridge (1): + fix foolish $VERSION error in 6.08_001 + + + +_______________________________________________________________________________ +2015-05-01 Net-HTTP 6.08_001 + +Mark Overmeer (1): + resolve issues with SSL by reading bytes still waiting to be read after + the initial 1024 bytes [RT#104122] + + + +_______________________________________________________________________________ 2014-07-23 Net-HTTP 6.07 Jason Fesler (1): Opportunistically use IO::Socket::IP or IO::Socket::INET6. Properly parse IPv6 literal addreses with optional port numbers. [RT#75618] + + _______________________________________________________________________________ 2013-03-10 Net-HTTP 6.06 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/MANIFEST new/Net-HTTP-6.09/MANIFEST --- old/Net-HTTP-6.07/MANIFEST 2014-07-24 05:31:19.000000000 +0200 +++ new/Net-HTTP-6.09/MANIFEST 2015-05-20 20:48:12.000000000 +0200 @@ -5,10 +5,11 @@ lib/Net/HTTPS.pm Makefile.PL MANIFEST This list of files +MANIFEST.SKIP README -t/http.t -t/http-nb.t -t/apache.t t/apache-https.t +t/apache.t +t/http-nb.t +t/http.t META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/MANIFEST.SKIP new/Net-HTTP-6.09/MANIFEST.SKIP --- old/Net-HTTP-6.07/MANIFEST.SKIP 1970-01-01 01:00:00.000000000 +0100 +++ new/Net-HTTP-6.09/MANIFEST.SKIP 2015-05-20 20:48:02.000000000 +0200 @@ -0,0 +1,71 @@ + +#!start included /Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.11/lib/5.21.11/ExtUtils/MANIFEST.SKIP +# Avoid version control files. +\bRCS\b +\bCVS\b +\bSCCS\b +,v$ +\B\.svn\b +\B\.git\b +\B\.gitignore\b +\b_darcs\b +\B\.cvsignore$ + +# Avoid VMS specific MakeMaker generated files +\bDescrip.MMS$ +\bDESCRIP.MMS$ +\bdescrip.mms$ + +# Avoid Makemaker generated and utility files. +\bMANIFEST\.bak +\bMakefile$ +\bblib/ +\bMakeMaker-\d +\bpm_to_blib\.ts$ +\bpm_to_blib$ +\bblibdirs\.ts$ # 6.18 through 6.25 generated this +\b_eumm/ # 7.05_05 and above + +# Avoid Module::Build generated and utility files. +\bBuild$ +\b_build/ +\bBuild.bat$ +\bBuild.COM$ +\bBUILD.COM$ +\bbuild.com$ + +# and Module::Build::Tiny generated files +\b_build_params$ + +# Avoid temp and backup files. +~$ +\.old$ +\#$ +\b\.# +\.bak$ +\.tmp$ +\.# +\.rej$ +\..*\.sw.?$ + +# Avoid OS-specific files/dirs +# Mac OSX metadata +\B\.DS_Store +# Mac OSX SMB mount metadata files +\B\._ + +# Avoid Devel::Cover and Devel::CoverX::Covered files. +\bcover_db\b +\bcovered\b + +# Avoid prove files +\B\.prove$ + +# Avoid MYMETA files +^MYMETA\. +#!end included /Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.11/lib/5.21.11/ExtUtils/MANIFEST.SKIP + + +\.ackrc +Net-HTTP-.*/ +Net-HTTP-.*.tar.gz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/META.json new/Net-HTTP-6.09/META.json --- old/Net-HTTP-6.07/META.json 2014-07-24 05:31:19.000000000 +0200 +++ new/Net-HTTP-6.09/META.json 2015-05-20 20:48:12.000000000 +0200 @@ -3,8 +3,8 @@ "author" : [ "Gisle Aas <gi...@activestate.com>" ], - "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141170", + "dynamic_config" : 0, + "generated_by" : "ExtUtils::MakeMaker version 7.052, CPAN::Meta::Converter version 2.150004", "license" : [ "perl_5" ], @@ -36,9 +36,9 @@ }, "requires" : { "Compress::Raw::Zlib" : "0", - "IO::Compress::Gzip" : "0", "IO::Select" : "0", "IO::Socket::INET" : "0", + "IO::Uncompress::Gunzip" : "0", "URI" : "0", "perl" : "5.006002" } @@ -46,10 +46,19 @@ }, "release_status" : "stable", "resources" : { + "bugtracker" : { + "mailto" : "bug-net-h...@rt.cpan.org", + "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Net-HTTP" + }, "repository" : { - "url" : "http://github.com/libwww-perl/net-http" + "type" : "git", + "url" : "https://github.com/libwww-perl/net-http.git", + "web" : "https://github.com/libwww-perl/net-http" }, + "x_IRC" : "irc://irc.perl.org/#lwp", "x_MailingList" : "mailto:lib...@perl.org" }, - "version" : "6.07" + "version" : "6.09", + "x_serialization_backend" : "JSON::PP version 2.27300" } + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/META.yml new/Net-HTTP-6.09/META.yml --- old/Net-HTTP-6.07/META.yml 2014-07-24 05:31:19.000000000 +0200 +++ new/Net-HTTP-6.09/META.yml 2015-05-20 20:48:12.000000000 +0200 @@ -6,8 +6,8 @@ ExtUtils::MakeMaker: '0' configure_requires: ExtUtils::MakeMaker: '0' -dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141170' +dynamic_config: 0 +generated_by: 'ExtUtils::MakeMaker version 7.052, CPAN::Meta::Converter version 2.150004' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -21,12 +21,16 @@ IO::Socket::SSL: '1.38' requires: Compress::Raw::Zlib: '0' - IO::Compress::Gzip: '0' IO::Select: '0' IO::Socket::INET: '0' + IO::Uncompress::Gunzip: '0' URI: '0' perl: '5.006002' resources: + IRC: irc://irc.perl.org/#lwp MailingList: mailto:lib...@perl.org - repository: http://github.com/libwww-perl/net-http -version: '6.07' + bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Net-HTTP + repository: https://github.com/libwww-perl/net-http.git +version: '6.09' +x_serialization_backend: 'CPAN::Meta::YAML version 0.016' + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/Makefile.PL new/Net-HTTP-6.09/Makefile.PL --- old/Net-HTTP-6.07/Makefile.PL 2014-07-24 05:21:30.000000000 +0200 +++ new/Net-HTTP-6.09/Makefile.PL 2015-05-02 05:08:06.000000000 +0200 @@ -19,23 +19,38 @@ VERSION_FROM => 'lib/Net/HTTP.pm', ABSTRACT_FROM => 'lib/Net/HTTP.pm', AUTHOR => 'Gisle Aas <gi...@activestate.com>', - LICENSE => "perl", + LICENSE => 'perl_5', MIN_PERL_VERSION => 5.006002, PREREQ_PM => { - 'IO::Socket::INET' => 0, - 'IO::Select' => 0, + 'IO::Socket::INET' => 0, + 'IO::Select' => 0, 'Compress::Raw::Zlib' => 0, - 'IO::Compress::Gzip' => 0, + 'IO::Uncompress::Gunzip' => 0, 'URI' => 0, }, META_MERGE => { - recommends => { - 'IO::Socket::SSL' => "1.38", + 'meta-spec' => { version => 2 }, + dynamic_config => 0, + prereqs => { + runtime => { + recommends => { + 'IO::Socket::SSL' => "1.38", + }, + }, + }, + resources => { + repository => { + url => 'https://github.com/libwww-perl/net-http.git', + web => 'https://github.com/libwww-perl/net-http', + type => 'git', + }, + bugtracker => { + mailto => 'bug-net-h...@rt.cpan.org', + web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Net-HTTP', + }, + x_MailingList => 'mailto:lib...@perl.org', + x_IRC => 'irc://irc.perl.org/#lwp', }, - resources => { - repository => 'http://github.com/libwww-perl/net-http', - MailingList => 'mailto:lib...@perl.org', - } }, ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/lib/Net/HTTP/Methods.pm new/Net-HTTP-6.09/lib/Net/HTTP/Methods.pm --- old/Net-HTTP-6.07/lib/Net/HTTP/Methods.pm 2014-07-24 05:27:26.000000000 +0200 +++ new/Net-HTTP-6.09/lib/Net/HTTP/Methods.pm 2015-05-20 20:47:57.000000000 +0200 @@ -6,7 +6,8 @@ use vars qw($VERSION); use URI; -$VERSION = "6.07"; +$VERSION = "6.09"; +$VERSION = eval $VERSION; my $CRLF = "\015\012"; # "\r\n" is not portable @@ -37,7 +38,7 @@ my($self, $cnf) = @_; die "Listen option not allowed" if $cnf->{Listen}; - my $explict_host = (exists $cnf->{Host}); + my $explicit_host = (exists $cnf->{Host}); my $host = delete $cnf->{Host}; my $peer = $cnf->{PeerAddr} || $cnf->{PeerHost}; if (!$peer) { @@ -57,8 +58,8 @@ # If not specified, set to PeerAddr and port number # ALWAYS: If IPv6 address, use [brackets] (thanks to the URI package) # ALWAYS: omit port number if http_default_port - if (($host) || (! $explict_host)) { - my $uri = ($explict_host) ? URI->new("http://$host") : $peer_uri->clone; + if (($host) || (! $explicit_host)) { + my $uri = ($explicit_host) ? URI->new("http://$host") : $peer_uri->clone; if (!$uri->_port) { # Always use *our* $self->http_default_port instead of URI's (Covers HTTP, HTTPS) $uri->port( $cnf->{PeerPort} || $self->http_default_port); @@ -265,20 +266,34 @@ if $max_line_length && length($_) > $max_line_length; # need to read more data to find a line ending + my $new_bytes = 0; + READ: - { - die "read timeout" unless $self->can_read; - my $n = $self->sysread($_, 1024, length); - unless (defined $n) { - redo READ if $!{EINTR} || $!{EAGAIN}; - # if we have already accumulated some data let's at least - # return that as a line - die "$what read failed: $!" unless length; - } - unless ($n) { - return undef unless length; - return substr($_, 0, length, ""); + { # wait until bytes start arriving + $self->can_read + or die "read timeout"; + + # consume all incoming bytes + while(1) { + my $bytes_read = $self->sysread($_, 1024, length); + if(defined $bytes_read) { + $new_bytes += $bytes_read; + last if $bytes_read < 1024; + } + elsif($!{EINTR} || $!{EAGAIN} || $!{EWOULDBLOCK}) { + redo READ; + } + else { + # if we have already accumulated some data let's at + # least return that as a line + length or die "$what read failed: $!"; + last; + } } + + # no line-ending, no new bytes + return length($_) ? substr($_, 0, length($_), "") : undef + if $new_bytes==0; } } die "$what line too long ($pos; limit is $max_line_length)" @@ -296,7 +311,7 @@ return 1 unless defined(fileno($self)); return 1 if $self->isa('IO::Socket::SSL') && $self->pending; - # With no timeout, wait forever. An explict timeout of 0 can be + # With no timeout, wait forever. An explicit timeout of 0 can be # used to just check if the socket is readable without waiting. my $timeout = @_ ? shift : (${*$self}{io_socket_timeout} || undef); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/lib/Net/HTTP/NB.pm new/Net-HTTP-6.09/lib/Net/HTTP/NB.pm --- old/Net-HTTP-6.07/lib/Net/HTTP/NB.pm 2014-07-24 05:21:30.000000000 +0200 +++ new/Net-HTTP-6.09/lib/Net/HTTP/NB.pm 2015-05-20 20:47:57.000000000 +0200 @@ -3,7 +3,8 @@ use strict; use vars qw($VERSION @ISA); -$VERSION = "6.04"; +$VERSION = "6.09"; +$VERSION = eval $VERSION; require Net::HTTP; @ISA=qw(Net::HTTP); @@ -42,7 +43,7 @@ ${*$self}{'httpnb_read_count'} = 0; ${*$self}{'httpnb_save'} = ${*$self}{'http_buf'}; # XXX I'm not so sure this does the correct thing in case of - # transfer-encoding tranforms + # transfer-encoding transforms my $n = eval { $self->SUPER::read_entity_body(@_); }; if ($@) { $_[0] = ""; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/lib/Net/HTTP.pm new/Net-HTTP-6.09/lib/Net/HTTP.pm --- old/Net-HTTP-6.07/lib/Net/HTTP.pm 2014-07-24 05:26:04.000000000 +0200 +++ new/Net-HTTP-6.09/lib/Net/HTTP.pm 2015-05-20 20:47:57.000000000 +0200 @@ -3,7 +3,9 @@ use strict; use vars qw($VERSION @ISA $SOCKET_CLASS); -$VERSION = "6.07"; +$VERSION = "6.09"; +$VERSION = eval $VERSION; + unless ($SOCKET_CLASS) { # Try several, in order of capability and preference if (eval { require IO::Socket::IP }) { @@ -95,7 +97,7 @@ The C<Host> option is also the default for C<IO::Socket::INET>'s C<PeerAddr>. The C<PeerPort> defaults to 80 if not provided. The C<PeerPort> specification can also be embedded in the C<PeerAddr> -by preceding it with a ":", and closing the IPv6 address on bracktes "[]" if +by preceding it with a ":", and closing the IPv6 address on brackets "[]" if necessary: "192.0.2.1:80","[2001:db8::1]:80","any.example.com:80". The C<Listen> option provided by C<IO::Socket::INET>'s constructor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-HTTP-6.07/lib/Net/HTTPS.pm new/Net-HTTP-6.09/lib/Net/HTTPS.pm --- old/Net-HTTP-6.07/lib/Net/HTTPS.pm 2014-07-24 05:21:30.000000000 +0200 +++ new/Net-HTTP-6.09/lib/Net/HTTPS.pm 2015-05-20 20:47:57.000000000 +0200 @@ -3,7 +3,8 @@ use strict; use vars qw($VERSION $SSL_SOCKET_CLASS @ISA); -$VERSION = "6.04"; +$VERSION = "6.09"; +$VERSION = eval $VERSION; # Figure out which SSL implementation to use if ($SSL_SOCKET_CLASS) { ++++++ cpanspec.yml ++++++ --- description_paragraphs: 2 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module