perl-LWP-Protocol-https-vl.spec 6.2 KB

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