%bcond_with test %define pkgname FCGI Name: perl-FCGI Summary: FCGI - Perl module Version: 0.82 Release: 2%{_dist_release} Group: programming Vendor: Project Vine Distribution: Vine Linux License: Artistic URL: https://metacpan.org/pod/FCGI Source: https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-%{version}.tar.gz # Fix CVE-2012-6687 in the bundled fcgi library, bug #1190294, CPAN RT#118405, # patch copied from Debian's libfcgi-perl. Patch0: FCGI-0.78-CVE-2012-6687.patch # 1/2 Fix CVE-2025-40907 in the bundled fcgi library, bug #2366847, # , copied from fcgi2 library # . Patch1: FCGI-0.82-Update-fcgiapp.c.patch # 2/2 Fix CVE-2025-40907 in the bundled fcgi library, bug #2366847, # , copied from fcgi2 library # . Patch2: FCGI-0.82-Fix-size_t-overflow-in-Malloc-argument-in-ReadParams.patch BuildRoot: %{_tmppath}/%{name}-%{version} Requires: perl(:MODULE_COMPAT_%perl_abi_version) %if %{with test} BuildRequires: perl(FCGI::Client) %endif %{?perl_default_filter} %description This is a FastCGI module for perl. %debug_package %prep %autosetup -p1 -n %{pkgname}-%{version} find . -type f -exec chmod -c -x {} + %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \ NO_PERLLOCAL=1 %make_build %install %make_install %{_fixperms} %{buildroot}/* %check %if %{with test} make test %endif %files %license LICENSE %doc ChangeLog README %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto %{_mandir}/man3/*.3* %changelog * Sat Jun 14 2025 Tomohiro "Tomo-p" KATO 0.82-2 - rebuilt with perl-5.40. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO 0.82-1 - new upstream release. - built with perl-5.34.0. * Sun May 19 2019 Tomohiro "Tomo-p" KATO 0.78-1 - new upstream release. - rebuilt with perl-5.26. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO 0.74-2 - rebuilt with perl-5.16.3. * Sat Nov 23 2013 Tomohiro "Tomo-p" KATO 0.74-1 - new upstream release. * Sat Apr 30 2011 Yoji TOYODA 0.67-4 - rebuild with perl-5.12.3 * Sat Jan 17 2009 Ryoichi INAGAKI 0.67-3 - changed Group to Development/Libraries * Wed Apr 30 2008 Tomohiro 'Tomo-p' KATO 0.67-2 - rebuilt with perl-5.10.0. * Sun Apr 27 2008 Tomohiro 'Tomo-p' KATO 0.67-1 - initial build.