123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- %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,
- # <https://github.com/perl-catalyst/FCGI/issues/14>, copied from fcgi2 library
- # <https://github.com/FastCGI-Archives/fcgi2/issues/67>.
- Patch1: FCGI-0.82-Update-fcgiapp.c.patch
- # 2/2 Fix CVE-2025-40907 in the bundled fcgi library, bug #2366847,
- # <https://github.com/perl-catalyst/FCGI/issues/14>, copied from fcgi2 library
- # <https://github.com/FastCGI-Archives/fcgi2/issues/67>.
- 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 <tomop@teamgedoh.net> 0.82-2
- - rebuilt with perl-5.40.
- * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.82-1
- - new upstream release.
- - built with perl-5.34.0.
- * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.78-1
- - new upstream release.
- - rebuilt with perl-5.26.
- * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.74-2
- - rebuilt with perl-5.16.3.
- * Sat Nov 23 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.74-1
- - new upstream release.
- * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.67-4
- - rebuild with perl-5.12.3
- * Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.67-3
- - changed Group to Development/Libraries
- * Wed Apr 30 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.67-2
- - rebuilt with perl-5.10.0.
- * Sun Apr 27 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.67-1
- - initial build.
|