Skip to content

Commit

Permalink
Update perl-LWP-Protocol-https to version 6.14-1
Browse files Browse the repository at this point in the history
- Drop LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-if-only-host.patch
- Drop LWP-Protocol-https-6.06-Debian-746576-fix-test-make-it-workable-for-Crypt-SS.patch

Both were merged into master here:
libwww-perl/LWP-Protocol-https#14
  • Loading branch information
kevin-b-lockwood committed Dec 24, 2024
1 parent ae7f8ab commit 4ed35c4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 100 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"perl-LWP-Protocol-https-6.10.tar.gz": "cecfc31fe2d4fc854cac47fce13d3a502e8fdfe60c5bc1c09535743185f2a86c"
"perl-LWP-Protocol-https-6.14.tar.gz": "59cdeabf26950d4f1bef70f096b0d77c5b1c5a7b5ad1b66d71b681ba279cbb2a"
}
}
}
28 changes: 13 additions & 15 deletions SPECS-EXTENDED/perl-LWP-Protocol-https/perl-LWP-Protocol-https.spec
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
Vendor: Microsoft Corporation
Distribution: Azure Linux
# Perform tests that need the Internet
%bcond_with perl_LWP_Protocol_https_enables_internet_test

Vendor: Microsoft Corporation
Distribution: Azure Linux
Name: perl-LWP-Protocol-https
Version: 6.10
Release: 2%{?dist}
Version: 6.14
Release: 1%{?dist}
Summary: Provide HTTPS support for LWP::UserAgent
License: GPL+ or Artistic
URL: https://metacpan.org/release/LWP-Protocol-https
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-%{version}.tar.gz#/perl-LWP-Protocol-https-%{version}.tar.gz
# Fix CVE-2014-3230, bug #1094442,
# proposed in https://github.com/libwww-perl/lwp-protocol-https/pull/14
Patch0: LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-if-only-host.patch
# Fix CVE-2014-3230, bug #1094442,
# proposed in https://github.com/libwww-perl/lwp-protocol-https/pull/14
Patch1: LWP-Protocol-https-6.06-Debian-746576-fix-test-make-it-workable-for-Crypt-SS.patch

BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
Expand All @@ -40,6 +35,7 @@ BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(LWP::UserAgent) >= 6.06
BuildRequires: perl(Socket)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Needs) >= 0.002010
%if %{with perl_LWP_Protocol_https_enables_internet_test}
BuildRequires: perl(Test::RequiresInternet)
%endif
Expand All @@ -61,12 +57,10 @@ you don't use it directly. Once the module is installed LWP is able to
access sites using HTTP over SSL/TLS.

%prep
%setup -q -n LWP-Protocol-https-%{version}
%patch 0 -p1
%patch 1 -p1
%autosetup -n LWP-Protocol-https-%{version}
%if !%{with perl_LWP_Protocol_https_enables_internet_test}
rm t/apache.t
perl -i -ne 'print $_ unless m{^t/apache.t}' MANIFEST
rm t/example.t
perl -i -ne 'print $_ unless m{^t/example.t}' MANIFEST
%endif

%build
Expand All @@ -87,6 +81,10 @@ make test
%{_mandir}/man3/*

%changelog
* Tue Dec 24 2024 Kevin Lockwood <[email protected]> - 6.14-1
- Update to 6.14
- License verified.

* Fri Jan 29 2021 Joe Schmitt <[email protected]> - 6.10-2
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
- Remove double buildrequire conditional
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18163,8 +18163,8 @@
"type": "other",
"other": {
"name": "perl-LWP-Protocol-https",
"version": "6.10",
"downloadUrl": "https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.10.tar.gz"
"version": "6.14",
"downloadUrl": "https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.14.tar.gz"
}
}
},
Expand Down

0 comments on commit 4ed35c4

Please sign in to comment.