Hello community,
here is the log from the commit of package perl-LWP-Protocol-https.2818 for
openSUSE:12.3:Update checked in at 2014-05-23 13:20:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/perl-LWP-Protocol-https.2818 (Old)
and /work/SRC/openSUSE:12.3:Update/.perl-LWP-Protocol-https.2818.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-LWP-Protocol-https.2818"
Changes:
--------
New Changes file:
--- /dev/null 2014-05-19 01:51:27.372033255 +0200
+++
/work/SRC/openSUSE:12.3:Update/.perl-LWP-Protocol-https.2818.new/perl-LWP-Protocol-https.changes
2014-05-23 13:20:27.000000000 +0200
@@ -0,0 +1,19 @@
+-------------------------------------------------------------------
+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.
+
+-------------------------------------------------------------------
+Tue Mar 29 12:06:43 UTC 2011 - [email protected]
+
+- initial package 6.02
+ * created by cpanspec 1.78.03
+
+ This module used to be bundled with the libwww-perl, but it was unbundled in
+ v6.02 in order to be able to declare its dependencies properly for the CPAN
+ tool-chain. Applications that need https support can just declare their
+ dependency on LWP::Protocol::https and will no longer need to know what
+ underlying modules to install.
New:
----
LWP-Protocol-https-6.03-systemca.diff
LWP-Protocol-https-6.03.tar.gz
perl-LWP-Protocol-https.changes
perl-LWP-Protocol-https.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-LWP-Protocol-https.spec ++++++
#
# spec file for package perl-LWP-Protocol-https
#
# Copyright (c) 2014 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-LWP-Protocol-https
Version: 6.03
Release: 0
%define cpan_name LWP-Protocol-https
Summary: Provide https support for LWP::UserAgent
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
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}-6.03-systemca.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
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
%{perl_requires}
%description
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.
If hostname verification is requested by LWP::UserAgent's 'ssl_opts', and
neither 'SSL_ca_file' nor 'SSL_ca_path' is set, then 'SSL_ca_file' is
implied to be the one provided by Mozilla::CA. If the Mozilla::CA module
isn't available SSL requests will fail. Either install this module, set up
an alternative 'SSL_ca_file' or disable hostname verification.
This module used to be bundled with the libwww-perl, but it was unbundled
in v6.02 in order to be able to declare its dependencies properly for the
CPAN tool-chain. Applications that need https support can just declare
their dependency on LWP::Protocol::https and will no longer need to know
what underlying modules to install.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p1
%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
++++++ LWP-Protocol-https-6.03-systemca.diff ++++++
Index: LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm
===================================================================
--- 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;
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]