Hello community,
here is the log from the commit of package perl-LWP-Protocol-https for
openSUSE:Factory checked in at 2012-03-01 17:24:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-LWP-Protocol-https (Old)
and /work/SRC/openSUSE:Factory/.perl-LWP-Protocol-https.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-LWP-Protocol-https", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-LWP-Protocol-https/perl-LWP-Protocol-https.changes
2011-09-23 12:37:51.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-LWP-Protocol-https.new/perl-LWP-Protocol-https.changes
2012-03-01 17:25:00.000000000 +0100
@@ -1,0 +2,8 @@
+Tue Feb 21 11:26:38 UTC 2012 - [email protected]
+
+- updated to 6.03
+ * Skip test if offline [RT#74163]
+ * Typo fixes
+ * Restore perl-5.8.1 compatibility.
+
+-------------------------------------------------------------------
Old:
----
LWP-Protocol-https-6.02-systemca.diff
LWP-Protocol-https-6.02.tar.gz
New:
----
LWP-Protocol-https-6.03-systemca.diff
LWP-Protocol-https-6.03.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-LWP-Protocol-https.spec ++++++
--- /var/tmp/diff_new_pack.BYVvws/_old 2012-03-01 17:25:01.000000000 +0100
+++ /var/tmp/diff_new_pack.BYVvws/_new 2012-03-01 17:25:01.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-LWP-Protocol-https
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,33 +16,34 @@
#
-
Name: perl-LWP-Protocol-https
-Version: 6.02
-Release: 1
-License: GPL-1.0+ or Artistic-1.0
+Version: 6.03
+Release: 0
%define cpan_name LWP-Protocol-https
Summary: Provide https support for LWP::UserAgent
-Url: http://search.cpan.org/dist/LWP-Protocol-https/
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-#Source:
http://www.cpan.org/authors/id/G/GA/GAAS/LWP-Protocol-https-%{version}.tar.gz
-Source: %{cpan_name}-%{version}.tar.gz
+Url: http://search.cpan.org/dist/LWP-Protocol-https/
+Source:
http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
# patch for using system certificates
-Patch0: %{cpan_name}-%{version}-systemca.diff
-BuildRequires: perl(IO::Socket::SSL) >= 1.38
-BuildRequires: perl(LWP::UserAgent) >= 6.02
-BuildRequires: perl(Net::HTTPS) >= 6
+Patch0: %{cpan_name}-6.03-systemca.diff
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-Requires: perl(IO::Socket::SSL) >= 1.38
-Requires: perl(LWP::UserAgent) >= 6.02
+BuildRequires: perl(IO::Socket::SSL) >= 1.54
+BuildRequires: perl(LWP::UserAgent) >= 6.04
+#BuildRequires: perl(Mozilla::CA) >= 20110101
+BuildRequires: perl(Net::HTTPS) >= 6
+#BuildRequires: perl(LWP::Protocol::http)
+Requires: perl(IO::Socket::SSL) >= 1.54
+Requires: perl(LWP::UserAgent) >= 6.04
+#Requires: perl(Mozilla::CA) >= 20110101
Requires: perl(Net::HTTPS) >= 6
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildArch: noarch
%{perl_requires}
%description
-The LWP::Protocol::https module provide support for using https schemed
+The LWP::Protocol::https module provides support for using https schemed
URLs with LWP. This module is a plug-in to the LWP protocol handling, so
you don't use it directly. Once the module is installed LWP is able to
access sites using HTTP over SSL/TLS.
@@ -68,19 +69,15 @@
%{__make} %{?_smp_mflags}
%check
-# tests will fail without network
-#%{__make} test
+%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(644,root,root,755)
+%defattr(-,root,root,755)
%doc Changes README
%changelog
++++++ LWP-Protocol-https-6.02-systemca.diff ->
LWP-Protocol-https-6.03-systemca.diff ++++++
---
/work/SRC/openSUSE:Factory/perl-LWP-Protocol-https/LWP-Protocol-https-6.02-systemca.diff
2011-09-23 12:37:50.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-LWP-Protocol-https.new/LWP-Protocol-https-6.03-systemca.diff
2012-03-01 17:25:00.000000000 +0100
@@ -1,31 +1,12 @@
-Index: LWP-Protocol-https-6.02/lib/LWP/Protocol/https.pm
+Index: LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm
===================================================================
---- LWP-Protocol-https-6.02.orig/lib/LWP/Protocol/https.pm
-+++ LWP-Protocol-https-6.02/lib/LWP/Protocol/https.pm
-@@ -21,25 +21,7 @@ sub _extra_sock_opts
+--- LWP-Protocol-https-6.03.orig/lib/LWP/Protocol/https.pm 2012-02-18
23:53:36.000000000 +0100
++++ LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm 2012-02-21
12:32:56.614080436 +0100
+@@ -20,6 +20,7 @@ sub _extra_sock_opts
+ $ssl_opts{SSL_verifycn_scheme} = 'www';
}
if ($ssl_opts{SSL_verify_mode}) {
++ $ssl_opts{SSL_ca_path} ||= '/etc/ssl/certs';
unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path})
{
-- eval {
-- require Mozilla::CA;
-- };
-- if ($@) {
-- if ($@ =! /^Can't locate Mozilla\/CA\.pm/) {
-- $@ = <<'EOT';
--Can't verify SSL peers without knowning which Certificate Authorities to trust
--
--This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE
--envirionment variable or by installing the Mozilla::CA module.
--
--To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME
--envirionment variable to 0. If you do this you can't be sure that you
--communicate with the expected peer.
--EOT
-- }
-- die $@;
-- }
-- $ssl_opts{SSL_ca_file} = Mozilla::CA::SSL_ca_file();
-+ $ssl_opts{SSL_ca_path} = '/etc/ssl/certs';
- }
- }
- $self->{ssl_opts} = \%ssl_opts;
+ eval {
+ require Mozilla::CA;
++++++ LWP-Protocol-https-6.02.tar.gz -> LWP-Protocol-https-6.03.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/LWP-Protocol-https-6.02/Changes
new/LWP-Protocol-https-6.03/Changes
--- old/LWP-Protocol-https-6.02/Changes 2011-03-27 13:54:01.000000000 +0200
+++ new/LWP-Protocol-https-6.03/Changes 2012-02-18 23:58:00.000000000 +0100
@@ -1,4 +1,15 @@
_______________________________________________________________________________
+2012-02-18 LWP-Protocol-https 6.03
+
+Skip test if offline [RT#74163]
+
+Typo fixes
+
+Restore perl-5.8.1 compatibility.
+
+
+
+_______________________________________________________________________________
2011-03-27 LWP-Protocol-https 6.02
Initial release of LWP-Protocol-https as a separate distribution. There are no
code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/LWP-Protocol-https-6.02/META.yml
new/LWP-Protocol-https-6.03/META.yml
--- old/LWP-Protocol-https-6.02/META.yml 2011-03-27 13:55:12.000000000
+0200
+++ new/LWP-Protocol-https-6.03/META.yml 2012-02-18 23:58:49.000000000
+0100
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: LWP-Protocol-https
-version: 6.02
+version: 6.03
abstract: Provide https support for LWP::UserAgent
author:
- Gisle Aas <[email protected]>
@@ -11,14 +11,14 @@
build_requires:
ExtUtils::MakeMaker: 0
requires:
- IO::Socket::SSL: 1.38
- LWP::UserAgent: 6.02
+ IO::Socket::SSL: 1.54
+ LWP::UserAgent: 6.04
Mozilla::CA: 20110101
Net::HTTPS: 6
- perl: 5.008008
+ perl: 5.008001
resources:
MailingList: mailto:[email protected]
- repository:
http://github.com/gisle/libwww-perl/tree/LWP-Protocol-https/master
+ repository: http://github.com/gisle/lwp-protocol-https
no_index:
directory:
- t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/LWP-Protocol-https-6.02/Makefile.PL
new/LWP-Protocol-https-6.03/Makefile.PL
--- old/LWP-Protocol-https-6.02/Makefile.PL 2011-03-27 13:54:01.000000000
+0200
+++ new/LWP-Protocol-https-6.03/Makefile.PL 2012-02-18 23:39:38.000000000
+0100
@@ -1,6 +1,6 @@
#!perl -w
-require 5.008008;
+require 5.008001;
use strict;
use ExtUtils::MakeMaker;
use Getopt::Long qw(GetOptions);
@@ -11,16 +11,16 @@
ABSTRACT_FROM => 'lib/LWP/Protocol/https.pm',
AUTHOR => 'Gisle Aas <[email protected]>',
LICENSE => "perl",
- MIN_PERL_VERSION => 5.008008,
+ MIN_PERL_VERSION => 5.008001,
PREREQ_PM => {
- 'LWP::UserAgent' => '6.02',
+ 'LWP::UserAgent' => '6.04',
'Net::HTTPS' => 6,
- 'IO::Socket::SSL' => "1.38",
+ 'IO::Socket::SSL' => "1.54",
'Mozilla::CA' => "20110101",
},
META_MERGE => {
resources => {
- repository =>
'http://github.com/gisle/libwww-perl/tree/LWP-Protocol-https/master',
+ repository => 'http://github.com/gisle/lwp-protocol-https',
MailingList => 'mailto:[email protected]',
}
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/LWP-Protocol-https-6.02/lib/LWP/Protocol/https.pm
new/LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm
--- old/LWP-Protocol-https-6.02/lib/LWP/Protocol/https.pm 2011-03-27
13:54:01.000000000 +0200
+++ new/LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm 2012-02-18
23:53:36.000000000 +0100
@@ -1,7 +1,7 @@
package LWP::Protocol::https;
use strict;
-our $VERSION = "6.02";
+our $VERSION = "6.03";
require LWP::Protocol::http;
our @ISA = qw(LWP::Protocol::http);
@@ -27,7 +27,7 @@
if ($@) {
if ($@ =! /^Can't locate Mozilla\/CA\.pm/) {
$@ = <<'EOT';
-Can't verify SSL peers without knowning which Certificate Authorities to trust
+Can't verify SSL peers without knowing which Certificate Authorities to trust
This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE
envirionment variable or by installing the Mozilla::CA module.
@@ -103,7 +103,7 @@
=head1 DESCRIPTION
-The LWP::Protocol::https module provide support for using https schemed
+The LWP::Protocol::https module provides support for using https schemed
URLs with LWP. This module is a plug-in to the LWP protocol handling, so
you don't use it directly. Once the module is installed LWP is able
to access sites using HTTP over SSL/TLS.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/LWP-Protocol-https-6.02/t/apache.t
new/LWP-Protocol-https-6.03/t/apache.t
--- old/LWP-Protocol-https-6.02/t/apache.t 2011-03-27 13:46:19.000000000
+0200
+++ new/LWP-Protocol-https-6.03/t/apache.t 2012-02-18 23:49:49.000000000
+0100
@@ -1,15 +1,17 @@
#!perl -w
use strict;
-use Test;
+use Test::More;
use LWP::UserAgent;
my $ua = LWP::UserAgent->new();
-my $res = $ua->simple_request(HTTP::Request->new(GET =>
"https://www.apache.org"));
+plan skip_all => "Not online" unless $ua->is_online;
plan tests => 2;
+my $res = $ua->simple_request(HTTP::Request->new(GET =>
"https://www.apache.org"));
+
ok($res->is_success);
-ok($res->content =~ /Apache Software Foundation/);
+like($res->content, qr/Apache Software Foundation/);
$res->dump(prefix => "# ");
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]