upgrade to version 2.36
This commit is contained in:
parent
deacf05237
commit
566790b2d1
BIN
CPAN-2.29.tar.gz
BIN
CPAN-2.29.tar.gz
Binary file not shown.
BIN
CPAN-2.36.tar.gz
Normal file
BIN
CPAN-2.36.tar.gz
Normal file
Binary file not shown.
@ -1,25 +0,0 @@
|
|||||||
From 9c98370287f4e709924aee7c58ef21c85289a7f0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stig Palmquist <git@stig.io>
|
|
||||||
Date: Tue, 28 Feb 2023 11:54:06 +0100
|
|
||||||
Subject: [PATCH] Add verify_SSL=>1 to HTTP::Tiny to verify https server
|
|
||||||
identity
|
|
||||||
|
|
||||||
---
|
|
||||||
lib/CPAN/HTTP/Client.pm | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/lib/CPAN/HTTP/Client.pm b/lib/CPAN/HTTP/Client.pm
|
|
||||||
index 4fc792c..a616fee 100644
|
|
||||||
--- a/lib/CPAN/HTTP/Client.pm
|
|
||||||
+++ b/lib/CPAN/HTTP/Client.pm
|
|
||||||
@@ -32,6 +32,7 @@ sub mirror {
|
|
||||||
|
|
||||||
my $want_proxy = $self->_want_proxy($uri);
|
|
||||||
my $http = HTTP::Tiny->new(
|
|
||||||
+ verify_SSL => 1,
|
|
||||||
$want_proxy ? (proxy => $self->{proxy}) : ()
|
|
||||||
);
|
|
||||||
|
|
||||||
--
|
|
||||||
2.33.0
|
|
||||||
|
|
||||||
@ -1,13 +1,12 @@
|
|||||||
Name: perl-CPAN
|
Name: perl-CPAN
|
||||||
Version: 2.29
|
Version: 2.36
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Query, download and build perl modules from CPAN sites
|
Summary: Query, download and build perl modules from CPAN sites
|
||||||
License: GPL+ or Artistic
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
URL: https://metacpan.org/release/CPAN
|
URL: https://metacpan.org/release/CPAN
|
||||||
Source0: https://cpan.metacpan.org/authors/id/A/AN/ANDK/CPAN-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/A/AN/ANDK/CPAN-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Patch1: backport-CVE-2023-31484.patch
|
|
||||||
|
|
||||||
BuildRequires: coreutils findutils perl(Test::Pod) perl(Test::Pod::Coverage) >= 0.18
|
BuildRequires: coreutils findutils perl(Test::Pod) perl(Test::Pod::Coverage) >= 0.18
|
||||||
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
|
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
|
||||||
@ -43,7 +42,7 @@ Bundles simplify handling of sets of related modules.
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n CPAN-%{version} -p1
|
%autosetup -n CPAN-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||||||
@ -66,6 +65,9 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 12 2023 leeffo <liweiganga@uniontech.com> - 2.36-1
|
||||||
|
- upgrade to version 2.36
|
||||||
|
|
||||||
* Tue Jul 4 2023 yanglongkang <yanglongkang@h-partners.com> - 2.29-2
|
* Tue Jul 4 2023 yanglongkang <yanglongkang@h-partners.com> - 2.29-2
|
||||||
- fix CVE-2023-31484
|
- fix CVE-2023-31484
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user