1 | Name: perl-LWP-Protocol-https |
---|
2 | Version: 6.07 |
---|
3 | Release: 10%{?_dist_release} |
---|
4 | Summary: Provide HTTPS support for LWP::UserAgent |
---|
5 | Group: Development/Libraries |
---|
6 | |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | |
---|
10 | License: GPL+ or Artistic |
---|
11 | URL: https://metacpan.org/release/LWP-Protocol-https |
---|
12 | Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-%{version}.tar.gz |
---|
13 | # Fix CVE-2014-3230, bug #1094442, |
---|
14 | # proposed in https://github.com/libwww-perl/lwp-protocol-https/pull/14 |
---|
15 | Patch0: LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-if-only-host.patch |
---|
16 | # Fix CVE-2014-3230, bug #1094442, |
---|
17 | # proposed in https://github.com/libwww-perl/lwp-protocol-https/pull/14 |
---|
18 | Patch1: LWP-Protocol-https-6.06-Debian-746576-fix-test-make-it-workable-for-Crypt-SS.patch |
---|
19 | BuildArch: noarch |
---|
20 | BuildRequires: findutils |
---|
21 | BuildRequires: make |
---|
22 | BuildRequires: perl |
---|
23 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
24 | BuildRequires: perl(strict) |
---|
25 | # Run-time: |
---|
26 | BuildRequires: perl(IO::Socket::SSL) |
---|
27 | BuildRequires: perl(LWP::Protocol::http) |
---|
28 | BuildRequires: perl(Mozilla::CA) |
---|
29 | BuildRequires: perl(Net::HTTPS) |
---|
30 | # Tests: |
---|
31 | BuildRequires: perl(File::Temp) |
---|
32 | BuildRequires: perl(IO::Select) |
---|
33 | BuildRequires: perl(IO::Socket::INET) |
---|
34 | BuildRequires: perl(LWP::UserAgent) |
---|
35 | BuildRequires: perl(Socket) |
---|
36 | BuildRequires: perl(Test::More) |
---|
37 | BuildRequires: perl(Test::RequiresInternet) |
---|
38 | BuildRequires: perl(warnings) |
---|
39 | # Optional tests: |
---|
40 | BuildRequires: perl(IO::Socket::SSL) |
---|
41 | BuildRequires: perl(IO::Socket::SSL::Utils) |
---|
42 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
43 | Requires: perl(IO::Socket::SSL) |
---|
44 | Requires: perl(Mozilla::CA) |
---|
45 | Requires: perl(Net::HTTPS) |
---|
46 | |
---|
47 | # Remove underspecified dependencies |
---|
48 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Net::HTTPS\\)\\s*$ |
---|
49 | |
---|
50 | %description |
---|
51 | The LWP::Protocol::https module provides support for using HTTPS schemed |
---|
52 | URLs with LWP. This module is a plug-in to the LWP protocol handling, so |
---|
53 | you don't use it directly. Once the module is installed LWP is able to |
---|
54 | access sites using HTTP over SSL/TLS. |
---|
55 | |
---|
56 | %prep |
---|
57 | %setup -q -n LWP-Protocol-https-%{version} |
---|
58 | %patch0 -p1 |
---|
59 | %patch1 -p1 |
---|
60 | |
---|
61 | %build |
---|
62 | perl Makefile.PL INSTALLDIRS=vendor |
---|
63 | make %{?_smp_mflags} |
---|
64 | |
---|
65 | %install |
---|
66 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
67 | find $RPM_BUILD_ROOT -type f -name .packlist -delete |
---|
68 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
69 | |
---|
70 | %check |
---|
71 | make test |
---|
72 | |
---|
73 | %files |
---|
74 | %doc Changes README |
---|
75 | %{perl_vendorlib}/* |
---|
76 | %{_mandir}/man3/* |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 6.07-10 |
---|
80 | - initial build for Vine Linux. |
---|
81 | |
---|
82 | * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-9 |
---|
83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
84 | |
---|
85 | * Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-8 |
---|
86 | - Perl 5.30 rebuild |
---|
87 | |
---|
88 | * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-7 |
---|
89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
90 | |
---|
91 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-6 |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
93 | |
---|
94 | * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-5 |
---|
95 | - Perl 5.28 rebuild |
---|
96 | |
---|
97 | * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-4 |
---|
98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
99 | |
---|
100 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-3 |
---|
101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
102 | |
---|
103 | * Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-2 |
---|
104 | - Perl 5.26 rebuild |
---|
105 | |
---|
106 | * Mon Feb 20 2017 Petr Pisar <ppisar@redhat.com> - 6.07-1 |
---|
107 | - 6.07 bump |
---|
108 | |
---|
109 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.06-9 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
111 | |
---|
112 | * Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 6.06-8 |
---|
113 | - Perl 5.24 rebuild |
---|
114 | |
---|
115 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.06-7 |
---|
116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
117 | |
---|
118 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.06-6 |
---|
119 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
120 | |
---|
121 | * Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.06-5 |
---|
122 | - Perl 5.22 rebuild |
---|
123 | |
---|
124 | * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.06-4 |
---|
125 | - Perl 5.20 rebuild |
---|
126 | |
---|
127 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.06-3 |
---|
128 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
129 | |
---|
130 | * Mon May 12 2014 Petr Pisar <ppisar@redhat.com> - 6.06-2 |
---|
131 | - Fix CVE-2014-3230 (incorrect handling of SSL certificate verification if |
---|
132 | HTTPS_CA_DIR or HTTPS_CA_FILE environment variables are set) (bug #1094442) |
---|
133 | |
---|
134 | * Wed Apr 23 2014 Petr Pisar <ppisar@redhat.com> - 6.06-1 |
---|
135 | - 6.06 bump |
---|
136 | |
---|
137 | * Thu Jan 16 2014 Petr Pisar <ppisar@redhat.com> - 6.04-4 |
---|
138 | - Modernize spec file |
---|
139 | |
---|
140 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-3 |
---|
141 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
142 | |
---|
143 | * Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 6.04-2 |
---|
144 | - Perl 5.18 rebuild |
---|
145 | |
---|
146 | * Thu May 02 2013 Petr Pisar <ppisar@redhat.com> - 6.04-1 |
---|
147 | - 6.04 bump |
---|
148 | |
---|
149 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-4 |
---|
150 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
151 | |
---|
152 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-3 |
---|
153 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
154 | |
---|
155 | * Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 6.03-2 |
---|
156 | - Perl 5.16 rebuild |
---|
157 | |
---|
158 | * Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.03-1 |
---|
159 | - 6.03 bump |
---|
160 | - Enable tests by default, they detect connectivity now |
---|
161 | |
---|
162 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5 |
---|
163 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
164 | |
---|
165 | * Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 6.02-4 |
---|
166 | - RPM 4.9 dependency filtering added |
---|
167 | |
---|
168 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.02-3 |
---|
169 | - Perl mass rebuild |
---|
170 | |
---|
171 | * Tue Mar 29 2011 Petr Pisar <ppisar@redhat.com> - 6.02-2 |
---|
172 | - Disable tests because they need network access |
---|
173 | |
---|
174 | * Mon Mar 28 2011 Petr Pisar <ppisar@redhat.com> 6.02-1 |
---|
175 | - Specfile autogenerated by cpanspec 1.78. |
---|
176 | - Remove BuildRoot stuff |
---|