Hello community,

here is the log from the commit of package perl-Furl for openSUSE:Factory 
checked in at 2019-07-24 20:37:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Furl (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Furl.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Furl"

Wed Jul 24 20:37:46 2019 rev:2 rq:718253 version:3.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Furl/perl-Furl.changes      2019-07-22 
12:20:21.411664896 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Furl.new.4126/perl-Furl.changes    
2019-07-24 20:37:47.566559225 +0200
@@ -1,0 +2,6 @@
+Wed Jul 24 10:35:39 UTC 2019 - Marius Kittler <[email protected]>
+
+- Add 0001-Remove-use-of-Mozilla-CA.patch to actually patch out
+  Mozilla::CA dependency to rely on system-wide certificates
+
+-------------------------------------------------------------------

New:
----
  0001-Remove-use-of-Mozilla-CA.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Furl.spec ++++++
--- /var/tmp/diff_new_pack.TVen0W/_old  2019-07-24 20:37:47.950559183 +0200
+++ /var/tmp/diff_new_pack.TVen0W/_new  2019-07-24 20:37:47.954559183 +0200
@@ -26,6 +26,8 @@
 Url:            http://search.cpan.org/dist/Furl/
 Source0:        
https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
+# PATCH-FIX-OPENCSUSE 0001-Remove-use-of-Mozilla-CA.patch -- rely on 
system-wide certificates
+Patch0:         0001-Remove-use-of-Mozilla-CA.patch
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -51,6 +53,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%autopatch -p1
 
 %build
 %{__perl} Build.PL --installdirs=vendor

++++++ 0001-Remove-use-of-Mozilla-CA.patch ++++++
>From 089e7229a96b7a0b165407fc2575c31c99fdb43b Mon Sep 17 00:00:00 2001
From: Martchus <[email protected]>
Date: Wed, 24 Jul 2019 12:28:32 +0200
Subject: [PATCH] Remove use of Mozilla::CA

The fallback to system-wide certificates seems to happen automatically
if no CA path or CA file has been specified.
---
 META.json        | 1 -
 cpanfile         | 1 -
 lib/Furl/HTTP.pm | 6 ------
 3 files changed, 8 deletions(-)

diff --git a/META.json b/META.json
index d4ff609..350df3a 100644
--- a/META.json
+++ b/META.json
@@ -71,7 +71,6 @@
             "Encode" : "0",
             "HTTP::Parser::XS" : "0.11",
             "MIME::Base64" : "0",
-            "Mozilla::CA" : "0",
             "Scalar::Util" : "0",
             "Socket" : "0",
             "Time::HiRes" : "0",
diff --git a/cpanfile b/cpanfile
index d62b2ba..d0024d8 100644
--- a/cpanfile
+++ b/cpanfile
@@ -1,7 +1,6 @@
 requires 'perl', 5.008_001;
 
 requires 'HTTP::Parser::XS' => 0.11;
-requires 'Mozilla::CA';
 requires 'MIME::Base64';
 requires 'Class::Accessor::Lite';
 requires 'Encode';
diff --git a/lib/Furl/HTTP.pm b/lib/Furl/HTTP.pm
index 1f29d40..2b2477d 100644
--- a/lib/Furl/HTTP.pm
+++ b/lib/Furl/HTTP.pm
@@ -686,12 +686,6 @@ sub _ssl_opts {
             $ssl_opts->{SSL_verifycn_scheme} = 'www'
         }
     }
-    if ($ssl_opts->{SSL_verify_mode}) {
-        unless (exists $ssl_opts->{SSL_ca_file} || exists 
$ssl_opts->{SSL_ca_path}) {
-            require Mozilla::CA;
-            $ssl_opts->{SSL_ca_file} = Mozilla::CA::SSL_ca_file();
-        }
-    }
     $ssl_opts;
 }
 
-- 
2.22.0

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.TVen0W/_old  2019-07-24 20:37:47.978559180 +0200
+++ /var/tmp/diff_new_pack.TVen0W/_new  2019-07-24 20:37:47.978559180 +0200
@@ -18,4 +18,3 @@
 #skip_noarch: 1
 #custom_build: -
 #./Build build flags=%{?_smp_mflags} --myflag
-ignore_requires: Mozilla::CA


Reply via email to