perl-FCGI-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. %bcond_with test
  2. %define pkgname FCGI
  3. Name: perl-FCGI
  4. Summary: FCGI - Perl module
  5. Version: 0.82
  6. Release: 2%{_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: Artistic
  11. URL: https://metacpan.org/pod/FCGI
  12. Source: https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-%{version}.tar.gz
  13. # Fix CVE-2012-6687 in the bundled fcgi library, bug #1190294, CPAN RT#118405,
  14. # patch copied from Debian's libfcgi-perl.
  15. Patch0: FCGI-0.78-CVE-2012-6687.patch
  16. # 1/2 Fix CVE-2025-40907 in the bundled fcgi library, bug #2366847,
  17. # <https://github.com/perl-catalyst/FCGI/issues/14>, copied from fcgi2 library
  18. # <https://github.com/FastCGI-Archives/fcgi2/issues/67>.
  19. Patch1: FCGI-0.82-Update-fcgiapp.c.patch
  20. # 2/2 Fix CVE-2025-40907 in the bundled fcgi library, bug #2366847,
  21. # <https://github.com/perl-catalyst/FCGI/issues/14>, copied from fcgi2 library
  22. # <https://github.com/FastCGI-Archives/fcgi2/issues/67>.
  23. Patch2: FCGI-0.82-Fix-size_t-overflow-in-Malloc-argument-in-ReadParams.patch
  24. BuildRoot: %{_tmppath}/%{name}-%{version}
  25. Requires: perl(:MODULE_COMPAT_%perl_abi_version)
  26. %if %{with test}
  27. BuildRequires: perl(FCGI::Client)
  28. %endif
  29. %{?perl_default_filter}
  30. %description
  31. This is a FastCGI module for perl.
  32. %debug_package
  33. %prep
  34. %autosetup -p1 -n %{pkgname}-%{version}
  35. find . -type f -exec chmod -c -x {} +
  36. %build
  37. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \
  38. NO_PERLLOCAL=1
  39. %make_build
  40. %install
  41. %make_install
  42. %{_fixperms} %{buildroot}/*
  43. %check
  44. %if %{with test}
  45. make test
  46. %endif
  47. %files
  48. %license LICENSE
  49. %doc ChangeLog README
  50. %{perl_vendorarch}/*
  51. %exclude %dir %{perl_vendorarch}/auto
  52. %{_mandir}/man3/*.3*
  53. %changelog
  54. * Sat Jun 14 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.82-2
  55. - rebuilt with perl-5.40.
  56. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.82-1
  57. - new upstream release.
  58. - built with perl-5.34.0.
  59. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.78-1
  60. - new upstream release.
  61. - rebuilt with perl-5.26.
  62. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.74-2
  63. - rebuilt with perl-5.16.3.
  64. * Sat Nov 23 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.74-1
  65. - new upstream release.
  66. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.67-4
  67. - rebuild with perl-5.12.3
  68. * Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.67-3
  69. - changed Group to Development/Libraries
  70. * Wed Apr 30 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.67-2
  71. - rebuilt with perl-5.10.0.
  72. * Sun Apr 27 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.67-1
  73. - initial build.