Hello community, here is the log from the commit of package perl-libwww-perl for openSUSE:Factory checked in at Thu Mar 31 13:37:28 CEST 2011. -------- --- perl-libwww-perl/perl-libwww-perl.changes 2011-03-17 12:08:19.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-libwww-perl/perl-libwww-perl.changes 2011-03-28 16:06:10.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Mar 28 14:43:32 CEST 2011 - lnussel@suse.de + +- use system CAs in /etc/ssl/certs + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- libwww-perl-6.01-systemca.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-libwww-perl.spec ++++++ --- /var/tmp/diff_new_pack.BW9SUW/_old 2011-03-31 13:36:15.000000000 +0200 +++ /var/tmp/diff_new_pack.BW9SUW/_new 2011-03-31 13:36:15.000000000 +0200 @@ -21,7 +21,7 @@ %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/ @@ -29,6 +29,7 @@ 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 @@ -99,6 +100,7 @@ %prep %setup -q -n %{cpan_name}-%{version} %patch0 -p1 +%patch1 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor ++++++ libwww-perl-6.01-systemca.diff ++++++ 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; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org