From cad75b5a0b5f78c95df212142b78c99304d6e93561a7dd9c37362ccbe3cfa2d4 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 14 Sep 2018 08:33:43 +0000 Subject: [PATCH] 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 --- LWP-Protocol-https-6.04-systemca.diff | 34 +++++++++++++-------------- LWP-Protocol-https-6.06.tar.gz | 3 --- LWP-Protocol-https-6.07.tar.gz | 3 +++ perl-LWP-Protocol-https.changes | 14 +++++++++++ perl-LWP-Protocol-https.spec | 24 +++++++++---------- 5 files changed, 46 insertions(+), 32 deletions(-) delete mode 100644 LWP-Protocol-https-6.06.tar.gz create mode 100644 LWP-Protocol-https-6.07.tar.gz diff --git a/LWP-Protocol-https-6.04-systemca.diff b/LWP-Protocol-https-6.04-systemca.diff index b7dcc16..99b9779 100644 --- a/LWP-Protocol-https-6.04-systemca.diff +++ b/LWP-Protocol-https-6.04-systemca.diff @@ -11,22 +11,22 @@ CA-certificates if no options are passed. lib/LWP/Protocol/https.pm | 23 ----------------------- 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.06/Makefile.PL -@@ -15,7 +15,6 @@ WriteMakefile( - 'LWP::UserAgent' => '6.06', - 'Net::HTTPS' => 6, - 'IO::Socket::SSL' => "1.54", -- 'Mozilla::CA' => "20110101", - }, - META_MERGE => { - resources => { -Index: LWP-Protocol-https-6.06/README +--- LWP-Protocol-https-6.07.orig/Makefile.PL ++++ LWP-Protocol-https-6.07/Makefile.PL +@@ -26,7 +26,6 @@ my %WriteMakefileArgs = ( + 'LWP::UserAgent' => '6.06', + 'Net::HTTPS' => 6, + 'IO::Socket::SSL' => "1.54", +- 'Mozilla::CA' => "20110101", + 'perl' => '5.008001', + }, + }, +Index: LWP-Protocol-https-6.07/README =================================================================== ---- LWP-Protocol-https-6.06.orig/README -+++ LWP-Protocol-https-6.06/README +--- LWP-Protocol-https-6.07.orig/README ++++ LWP-Protocol-https-6.07/README @@ -17,13 +17,6 @@ DESCRIPTION you don't use it directly. Once the module is installed LWP is able to access sites using HTTP over SSL/TLS. @@ -50,10 +50,10 @@ Index: LWP-Protocol-https-6.06/README COPYRIGHT 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.06/lib/LWP/Protocol/https.pm +--- LWP-Protocol-https-6.07.orig/lib/LWP/Protocol/https.pm ++++ LWP-Protocol-https-6.07/lib/LWP/Protocol/https.pm @@ -23,7 +23,8 @@ sub _extra_sock_opts else { $ssl_opts{SSL_verify_mode} = 0; diff --git a/LWP-Protocol-https-6.06.tar.gz b/LWP-Protocol-https-6.06.tar.gz deleted file mode 100644 index 159bc49..0000000 --- a/LWP-Protocol-https-6.06.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b86c83cc1dcf4a6f84e2fbe32f9c39591a36e6e418af00533505f3452496adef -size 8376 diff --git a/LWP-Protocol-https-6.07.tar.gz b/LWP-Protocol-https-6.07.tar.gz new file mode 100644 index 0000000..c371f4a --- /dev/null +++ b/LWP-Protocol-https-6.07.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:522cc946cf84a1776304a5737a54b8822ec9e79b264d0ba0722a70473dbfb9e7 +size 9184 diff --git a/perl-LWP-Protocol-https.changes b/perl-LWP-Protocol-https.changes index 2b261cb..a992733 100644 --- a/perl-LWP-Protocol-https.changes +++ b/perl-LWP-Protocol-https.changes @@ -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 diff --git a/perl-LWP-Protocol-https.spec b/perl-LWP-Protocol-https.spec index 032e9e6..a18edb7 100644 --- a/perl-LWP-Protocol-https.spec +++ b/perl-LWP-Protocol-https.spec @@ -1,7 +1,7 @@ # # 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 # 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 +Name: perl-LWP-Protocol-https +Version: 6.07 +Release: 0 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 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 Patch0: %{cpan_name}-6.04-systemca.diff Patch1: CVE-2014-3230.patch -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: ca-certificates BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(IO::Socket::SSL) >= 1.54 BuildRequires: perl(LWP::UserAgent) >= 6.06 #BuildRequires: perl(Mozilla::CA) >= 20110101 BuildRequires: perl(Net::HTTPS) >= 6 +BuildRequires: perl(Test::RequiresInternet) Requires: perl(IO::Socket::SSL) >= 1.54 Requires: perl(LWP::UserAgent) >= 6.06 #Requires: perl(Mozilla::CA) >= 20110101 Requires: perl(Net::HTTPS) >= 6 -BuildRequires: ca-certificates +BuildArch: noarch %{perl_requires} %description @@ -67,11 +67,11 @@ what underlying modules to install. %patch1 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make %{?_smp_mflags} test %install %perl_make_install