Accepting request 65896 from devel:languages:perl
Accepted submit request 65896 from user coolo OBS-URL: https://build.opensuse.org/request/show/65896 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-libwww-perl?expand=0&rev=30
This commit is contained in:
commit
b7502c4878
@ -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;
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f2d9fef67e1e5241905dc8dc4cf725acbabbf979a409a018b59eac4a66c04a44
|
|
||||||
size 106331
|
|
3
libwww-perl-6.02.tar.bz2
Normal file
3
libwww-perl-6.02.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:abc9b7b38439f0027a5eeab4176f37c317eb9ac58bf7ac97699a64118ea1e9d5
|
||||||
|
size 104006
|
@ -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
|
Mon Mar 28 14:43:32 CEST 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Name: perl-libwww-perl
|
Name: perl-libwww-perl
|
||||||
%define cpan_name libwww-perl
|
%define cpan_name libwww-perl
|
||||||
Summary: The World-Wide-Web library for Perl
|
Summary: The World-Wide-Web library for Perl
|
||||||
Version: 6.01
|
Version: 6.02
|
||||||
Release: 2
|
Release: 2
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
@ -29,7 +29,6 @@ Url: http://search.cpan.org/dist/libwww-perl/
|
|||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
# PATCH-FIX-OPENSUSE -- disable one perl requires that would be created automatically and we're unable to provide
|
# PATCH-FIX-OPENSUSE -- disable one perl requires that would be created automatically and we're unable to provide
|
||||||
Patch0: disable-ghttp.diff
|
Patch0: disable-ghttp.diff
|
||||||
Patch1: libwww-perl-6.01-systemca.diff
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -100,7 +99,6 @@ help you implement simple HTTP servers.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
Loading…
Reference in New Issue
Block a user