Hello community,

here is the log from the commit of package perl-Net-HTTP.1894 for 
openSUSE:12.3:Update checked in at 2013-08-05 10:59:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/perl-Net-HTTP.1894 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.perl-Net-HTTP.1894.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Net-HTTP.1894"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ 
/work/SRC/openSUSE:12.3:Update/.perl-Net-HTTP.1894.new/perl-Net-HTTP.changes    
    2013-08-05 10:59:25.000000000 +0200
@@ -0,0 +1,45 @@
+-------------------------------------------------------------------
+Wed Jul 10 12:07:34 UTC 2013 - agin...@suse.com
+
+- fix Net::HTTP chunk handling broken for non-blocking sockets:
+ * bnc#828426
+ * patch file : Net-HTTP-Methods.patch
+
+-------------------------------------------------------------------
+Fri Feb 17 08:44:42 UTC 2012 - co...@suse.com
+
+- updated to 6.03
+  Restore blocking override for Net::SSL [RT#72790]
+  Restore perl-5.6 compatiblity.
+
+-------------------------------------------------------------------
+Mon Feb 13 14:08:41 UTC 2012 - co...@suse.com
+
+- updated to 6.02
+ * Don't disable blocking method [RT#72580]
+ * Don't stop on unrecognized Makefile.PL arguments [RT#68337]
+ * Document Net:HTTPS [RT#71599]
+
+-------------------------------------------------------------------
+Mon Aug 29 14:29:41 UTC 2011 - ch...@computersalat.de
+
+- update to 6.01
+  * Don't run live test by default.
+    Run 'perl Makefile.PL --live-tests' to enable.
+  * More relaxed apache test; should pass even if proxies has added headers.
+- fix build for CentOS
+  * Unknown tag: Recommends:
+
+-------------------------------------------------------------------
+Wed Mar 16 23:49:33 UTC 2011 - ch...@computersalat.de
+
+- fix deps
+  o add perl(Compress::Raw::Zlib), perl(IO::Compress::Gzip)
+  o Recommends: perl(IO::Socket::SSL) >= 1.38
+
+-------------------------------------------------------------------
+Mon Mar 14 12:59:01 UTC 2011 - vci...@novell.com
+
+- initial package 6.00
+  * created by cpanspec 1.78.03
+

New:
----
  Net-HTTP-6.03.tar.gz
  Net-HTTP-Methods.patch
  perl-Net-HTTP.changes
  perl-Net-HTTP.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Net-HTTP.spec ++++++
#
# spec file for package perl-Net-HTTP
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           perl-Net-HTTP
Version:        6.03
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/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
Patch0:         Net-HTTP-Methods.patch
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::Socket::SSL)
#BuildRequires: perl(IO::Uncompress::Gunzip)
#BuildRequires: perl(Net::HTTP)
#BuildRequires: perl(Net::HTTP::Methods)
#BuildRequires: perl(Net::HTTPS)
#BuildRequires: perl(Net::SSL)
Requires:       perl(Compress::Raw::Zlib)
Requires:       perl(IO::Compress::Gzip)
Recommends:     perl(IO::Socket::SSL) >= 1.38
%{perl_requires}

%description
The 'Net::HTTP' class is a low-level HTTP client. An instance of the
'Net::HTTP' class represents a connection to an HTTP server. The HTTP
protocol is described in RFC 2616. The 'Net::HTTP' class supports
'HTTP/1.0' and 'HTTP/1.1'.

'Net::HTTP' is a sub-class of 'IO::Socket::INET'. You can mix the methods
described below with reading and writing from the socket directly. This is
not necessary a good idea, unless you know what you are doing.

%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p0

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README

%changelog
++++++ Net-HTTP-Methods.patch ++++++
--- 
/home/work/perl5/perlbrew/perls/perl-5.12.4/lib/site_perl/5.12.4/Net/HTTP/Methods.pm
        2012-02-15 20:42:03.000000000 +0100
+++ lib/Net/HTTP/Methods.pm     2012-11-06 20:46:46.622621468 +0100
@@ -233,7 +233,17 @@
            return length($_[0]);
        }
        else {
-           return $self->sysread($_[0], $len);
+           { # wait for data, socket might by non-blocking
+               my $n = $self->sysread($_[0], $len);
+               redo if $!{EINTR};
+               if ($!{EAGAIN}) {
+                   my $mask = '';
+                   vec($mask,$self->fileno,1) = 1;
+                   select($mask,undef,undef, ${*$self}{io_socket_timeout} || 
0.1);
+                   redo;
+               }
+               return $n;
+           }
        }
     }
 }
@@ -513,9 +523,9 @@
        my $n = $chunked;
        $n = $size if $size && $size < $n;
        $n = my_read($self, $$buf_ref, $n);
+       ${*$self}{'http_chunked'} = $chunked - $n||0;
        return undef unless defined $n;
 
-       ${*$self}{'http_chunked'} = $chunked - $n;
 
        if ($n > 0) {
            if (my $transforms = ${*$self}{'http_te2'}) {
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to