From 4c8e4fe026a2a67c11c46cdb766926b8125a3145e32ad2cb29032fcdc476b68e Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 31 Mar 2011 11:37:36 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/perl-libwww-perl revision 29.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-libwww-perl?expand=0&rev=227778436088d06cceec11c50cfebee5 --- perl-libwww-perl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-libwww-perl.spec b/perl-libwww-perl.spec index e4c1e5a..13430ff 100644 --- a/perl-libwww-perl.spec +++ b/perl-libwww-perl.spec @@ -21,7 +21,7 @@ Name: perl-libwww-perl %define cpan_name libwww-perl Summary: The World-Wide-Web library for Perl Version: 6.01 -Release: 1 +Release: 2 License: GPL+ or Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/libwww-perl/ From 872ae754d8ec61b736ccd4f1fe4e08b4cd2e9be70223aecc298ce20829f4fa75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Thu, 31 Mar 2011 14:51:02 +0000 Subject: [PATCH 2/2] - moved system CA patch to package perl-LWP-Protocol-https - update to 6.02 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-libwww-perl?expand=0&rev=30 --- libwww-perl-6.01-systemca.diff | 31 ------------------------------- libwww-perl-6.01.tar.bz2 | 3 --- libwww-perl-6.02.tar.bz2 | 3 +++ perl-libwww-perl.changes | 21 +++++++++++++++++++++ perl-libwww-perl.spec | 4 +--- 5 files changed, 25 insertions(+), 37 deletions(-) delete mode 100644 libwww-perl-6.01-systemca.diff delete mode 100644 libwww-perl-6.01.tar.bz2 create mode 100644 libwww-perl-6.02.tar.bz2 diff --git a/libwww-perl-6.01-systemca.diff b/libwww-perl-6.01-systemca.diff deleted file mode 100644 index 62fc080..0000000 --- a/libwww-perl-6.01-systemca.diff +++ /dev/null @@ -1,31 +0,0 @@ -Index: libwww-perl-6.01/lib/LWP/Protocol/https.pm -=================================================================== ---- libwww-perl-6.01.orig/lib/LWP/Protocol/https.pm -+++ libwww-perl-6.01/lib/LWP/Protocol/https.pm -@@ -21,25 +21,7 @@ sub _extra_sock_opts - } - if ($ssl_opts{SSL_verify_mode}) { - 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; diff --git a/libwww-perl-6.01.tar.bz2 b/libwww-perl-6.01.tar.bz2 deleted file mode 100644 index f8721a8..0000000 --- a/libwww-perl-6.01.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f2d9fef67e1e5241905dc8dc4cf725acbabbf979a409a018b59eac4a66c04a44 -size 106331 diff --git a/libwww-perl-6.02.tar.bz2 b/libwww-perl-6.02.tar.bz2 new file mode 100644 index 0000000..6dd6bbc --- /dev/null +++ b/libwww-perl-6.02.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:abc9b7b38439f0027a5eeab4176f37c317eb9ac58bf7ac97699a64118ea1e9d5 +size 104006 diff --git a/perl-libwww-perl.changes b/perl-libwww-perl.changes index 5d4af04..9704c49 100644 --- a/perl-libwww-perl.changes +++ b/perl-libwww-perl.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Thu Mar 31 14:46:47 UTC 2011 - vcizek@novell.com + +- moved system CA patch to package perl-LWP-Protocol-https +- update to 6.02 +This is the release where we try to help the CPAN-toolchain be able to install +the modules required for https-support in LWP. We have done this by unbundling +the LWP::Protocol::https module from the libwww-perl distribution. In order to +have https support you now need to install (or depend on) 'LWP::Protocol::https' +and then this will make sure that all the prerequsite modules comes along. +See [RT#66838]. +This release also removes the old http10 modules that has really been +deprecated since v5.60. These should have been removed at the v6.00 jump, but +I forgot. +Christopher J. Madsen (1): + Ignores env variables when ssl_opts provided [RT#66663] +Gisle Aas (4): + Fix typo; Authen::NTLM [RT#66884] +Yury Zavarin (1): + Support LWP::ConnCache->new(total_capacity => undef) + ------------------------------------------------------------------- Mon Mar 28 14:43:32 CEST 2011 - lnussel@suse.de diff --git a/perl-libwww-perl.spec b/perl-libwww-perl.spec index 13430ff..9c26791 100644 --- a/perl-libwww-perl.spec +++ b/perl-libwww-perl.spec @@ -20,7 +20,7 @@ Name: perl-libwww-perl %define cpan_name libwww-perl Summary: The World-Wide-Web library for Perl -Version: 6.01 +Version: 6.02 Release: 2 License: GPL+ or Artistic Group: Development/Libraries/Perl @@ -29,7 +29,6 @@ Url: http://search.cpan.org/dist/libwww-perl/ Source: %{cpan_name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE -- disable one perl requires that would be created automatically and we're unable to provide Patch0: disable-ghttp.diff -Patch1: libwww-perl-6.01-systemca.diff BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -100,7 +99,6 @@ help you implement simple HTTP servers. %prep %setup -q -n %{cpan_name}-%{version} %patch0 -p1 -%patch1 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor