Accepting request 635570 from home:pmonrealgonzalez:branches:devel:languages:perl

- 6.07      2017-02-19
    - Cleaned up the Changes log
    - Explicitly add hostname for SNI to start_SSL (GH PR#17)
    - Fix the license name
    - Update some documentation on SSL args
    - Fix bug when checking for Mozilla::CA (GH PR#29)
 
- Refreshed patch LWP-Protocol-https-6.04-systemca.diff
- Cleaned spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/635570
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LWP-Protocol-https?expand=0&rev=14
This commit is contained in:
Dirk Stoecker 2018-09-14 08:33:43 +00:00 committed by Git OBS Bridge
parent ef8dde830d
commit cad75b5a0b
5 changed files with 46 additions and 32 deletions

View File

@ -11,22 +11,22 @@ CA-certificates if no options are passed.
lib/LWP/Protocol/https.pm | 23 ----------------------- lib/LWP/Protocol/https.pm | 23 -----------------------
3 files changed, 1 insertion(+), 32 deletions(-) 3 files changed, 1 insertion(+), 32 deletions(-)
Index: LWP-Protocol-https-6.06/Makefile.PL Index: LWP-Protocol-https-6.07/Makefile.PL
=================================================================== ===================================================================
--- LWP-Protocol-https-6.06.orig/Makefile.PL --- LWP-Protocol-https-6.07.orig/Makefile.PL
+++ LWP-Protocol-https-6.06/Makefile.PL +++ LWP-Protocol-https-6.07/Makefile.PL
@@ -15,7 +15,6 @@ WriteMakefile( @@ -26,7 +26,6 @@ my %WriteMakefileArgs = (
'LWP::UserAgent' => '6.06', 'LWP::UserAgent' => '6.06',
'Net::HTTPS' => 6, 'Net::HTTPS' => 6,
'IO::Socket::SSL' => "1.54", 'IO::Socket::SSL' => "1.54",
- 'Mozilla::CA' => "20110101", - 'Mozilla::CA' => "20110101",
}, 'perl' => '5.008001',
META_MERGE => { },
resources => { },
Index: LWP-Protocol-https-6.06/README Index: LWP-Protocol-https-6.07/README
=================================================================== ===================================================================
--- LWP-Protocol-https-6.06.orig/README --- LWP-Protocol-https-6.07.orig/README
+++ LWP-Protocol-https-6.06/README +++ LWP-Protocol-https-6.07/README
@@ -17,13 +17,6 @@ DESCRIPTION @@ -17,13 +17,6 @@ DESCRIPTION
you don't use it directly. Once the module is installed LWP is able to you don't use it directly. Once the module is installed LWP is able to
access sites using HTTP over SSL/TLS. access sites using HTTP over SSL/TLS.
@ -50,10 +50,10 @@ Index: LWP-Protocol-https-6.06/README
COPYRIGHT COPYRIGHT
Copyright 1997-2011 Gisle Aas. Copyright 1997-2011 Gisle Aas.
Index: LWP-Protocol-https-6.06/lib/LWP/Protocol/https.pm Index: LWP-Protocol-https-6.07/lib/LWP/Protocol/https.pm
=================================================================== ===================================================================
--- LWP-Protocol-https-6.06.orig/lib/LWP/Protocol/https.pm --- LWP-Protocol-https-6.07.orig/lib/LWP/Protocol/https.pm
+++ LWP-Protocol-https-6.06/lib/LWP/Protocol/https.pm +++ LWP-Protocol-https-6.07/lib/LWP/Protocol/https.pm
@@ -23,7 +23,8 @@ sub _extra_sock_opts @@ -23,7 +23,8 @@ sub _extra_sock_opts
else { else {
$ssl_opts{SSL_verify_mode} = 0; $ssl_opts{SSL_verify_mode} = 0;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b86c83cc1dcf4a6f84e2fbe32f9c39591a36e6e418af00533505f3452496adef
size 8376

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:522cc946cf84a1776304a5737a54b8822ec9e79b264d0ba0722a70473dbfb9e7
size 9184

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Sep 13 15:42:12 UTC 2018 - pmonrealgonzalez@suse.com
- 6.07 2017-02-19
- Cleaned up the Changes log
- Explicitly add hostname for SNI to start_SSL (GH PR#17)
- Fix the license name
- Update some documentation on SSL args
- Fix bug when checking for Mozilla::CA (GH PR#29)
- Refreshed patch LWP-Protocol-https-6.04-systemca.diff
- Cleaned spec file with spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 23 06:00:03 UTC 2015 - coolo@suse.com Thu Apr 23 06:00:03 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-LWP-Protocol-https # spec file for package perl-LWP-Protocol-https
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,31 +16,31 @@
# #
Name: perl-LWP-Protocol-https
Version: 6.06
Release: 0
%define cpan_name LWP-Protocol-https %define cpan_name LWP-Protocol-https
Name: perl-LWP-Protocol-https
Version: 6.07
Release: 0
Summary: Provide https support for LWP::UserAgent Summary: Provide https support for LWP::UserAgent
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/LWP-Protocol-https/ Url: http://search.cpan.org/dist/LWP-Protocol-https/
Source0: http://www.cpan.org/authors/id/M/MS/MSCHILLI/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
Patch0: %{cpan_name}-6.04-systemca.diff Patch0: %{cpan_name}-6.04-systemca.diff
Patch1: CVE-2014-3230.patch Patch1: CVE-2014-3230.patch
BuildArch: noarch BuildRequires: ca-certificates
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(IO::Socket::SSL) >= 1.54 BuildRequires: perl(IO::Socket::SSL) >= 1.54
BuildRequires: perl(LWP::UserAgent) >= 6.06 BuildRequires: perl(LWP::UserAgent) >= 6.06
#BuildRequires: perl(Mozilla::CA) >= 20110101 #BuildRequires: perl(Mozilla::CA) >= 20110101
BuildRequires: perl(Net::HTTPS) >= 6 BuildRequires: perl(Net::HTTPS) >= 6
BuildRequires: perl(Test::RequiresInternet)
Requires: perl(IO::Socket::SSL) >= 1.54 Requires: perl(IO::Socket::SSL) >= 1.54
Requires: perl(LWP::UserAgent) >= 6.06 Requires: perl(LWP::UserAgent) >= 6.06
#Requires: perl(Mozilla::CA) >= 20110101 #Requires: perl(Mozilla::CA) >= 20110101
Requires: perl(Net::HTTPS) >= 6 Requires: perl(Net::HTTPS) >= 6
BuildRequires: ca-certificates BuildArch: noarch
%{perl_requires} %{perl_requires}
%description %description
@ -67,11 +67,11 @@ what underlying modules to install.
%patch1 -p1 %patch1 -p1
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%check %check
%{__make} test make %{?_smp_mflags} test
%install %install
%perl_make_install %perl_make_install