Compare commits

..

No commits in common. 'cs10' and 'c9' have entirely different histories.
cs10 ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/FCGI-0.82.tar.gz SOURCES/FCGI-0.79.tar.gz

@ -1 +1 @@
14ccc21bcf83328a311522a1a2313da00a68a718 SOURCES/FCGI-0.82.tar.gz 2c6d7ec8481009c23028ac37086b3ddc2ddb177b SOURCES/FCGI-0.79.tar.gz

@ -1,45 +1,24 @@
# Perform functional tests using FCGI::Client.
# RHEL does not include FCGI::Client due to its dependencies.
%bcond perl_FCGI_enables_client_tests %{undefined rhel}
Name: perl-FCGI Name: perl-FCGI
Summary: FastCGI Perl bindings Summary: FastCGI Perl bindings
# needed to properly replace/obsolete fcgi-perl # needed to properly replace/obsolete fcgi-perl
Epoch: 1 Epoch: 1
Version: 0.82 Version: 0.79
Release: 13%{?dist} Release: 8%{?dist}
# eg/echo.pl: "See the LICENSE file" # same as fcgi
# fastcgi.h: "See the LICENSE file"
# FCGI.pm: "See the LICENSE file"
# fcgiapp.c: "See the LICENSE file"
# fcgiapp.h: "See the LICENSE file"
# fcgimisc.h: "See the LICENSE file
# fcgios.h: "See the LICENSE file"
# LICENSE: OML
# os_unix.c: "See the LICENSE file"
# README: "See the LICENSE file"
## Used at build time, but nonpackaged
# configure: FSFUL
## Unused and nonpackaged
# os_win32.c: "See the LICENSE file"
License: OML License: OML
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-%{version}.tar.gz Source0: 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, # Fix CVE-2012-6687 in the bundled fcgi library, bug #1190294, CPAN RT#118405,
# patch copied from Debian's libfcgi-perl. # patch copied from Debian's libfcgi-perl.
Patch0: FCGI-0.78-CVE-2012-6687.patch Patch0: FCGI-0.78-CVE-2012-6687.patch
URL: https://metacpan.org/release/FCGI URL: https://metacpan.org/release/FCGI
# bash for sh executed from Makefile.PL
BuildRequires: bash
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: gcc BuildRequires: gcc
# grep executed by configure
BuildRequires: grep
BuildRequires: make BuildRequires: make
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(Cwd) BuildRequires: perl(Cwd)
# ExtUtils::Liblist not used # ExtUtils::Liblist not used
@ -48,21 +27,13 @@ BuildRequires: perl(File::Copy)
# File::Spec not used on Linux # File::Spec not used on Linux
BuildRequires: perl(Getopt::Long) BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::File) BuildRequires: perl(IO::File)
# sed executed by configure
BuildRequires: sed
# Run-time: # Run-time:
# Carp not used at tests # Carp not used at tests
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(XSLoader) BuildRequires: perl(XSLoader)
# Tests: # Tests:
BuildRequires: perl(Test) BuildRequires: perl(Test)
%if %{with perl_FCGI_enables_client_tests} Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
BuildRequires: perl(FCGI::Client)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Socket)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(warnings)
%endif
Requires: perl(Carp) Requires: perl(Carp)
Requires: perl(XSLoader) Requires: perl(XSLoader)
# fcgiapp.c, os_unix.c, os_win32.c are copied and modified from FastCGI # fcgiapp.c, os_unix.c, os_win32.c are copied and modified from FastCGI
@ -74,28 +45,10 @@ Provides: bundled(fcgi)
%description %description
%{summary}. %{summary}.
%package tests
Summary: Tests for %{name}
BuildArch: noarch
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%autosetup -p1 -n FCGI-%{version} %setup -q -n FCGI-%{version}
%patch0 -p1
find . -type f -exec chmod -c -x {} + find . -type f -exec chmod -c -x {} +
%if %{without perl_FCGI_enables_client_tests}
rm -f t/02-unix_domain_socket.t
perl -i -ne 'print $_ unless m{^t/02-unix_domain_socket\.t}' MANIFEST
%endif
# Help generators to recognize Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \
@ -105,80 +58,24 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \
%install %install
%make_install %make_install
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check %check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test make test
%files %files
%license LICENSE %license LICENSE
%doc ChangeLog eg README %doc ChangeLog README
%{perl_vendorarch}/auto/FCGI %{perl_vendorarch}/*
%{perl_vendorarch}/FCGI.pm %exclude %dir %{perl_vendorarch}/auto
%{_mandir}/man3/FCGI.3* %{_mandir}/man3/*.3*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:0.82-13 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.79-8
- Bump release for October 2024 mass rebuild: - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: RHEL-64018 Related: rhbz#1991688
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 1:0.82-12
- Bump release for Aug 2024 java mass rebuild
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:0.82-11
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.82-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.82-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.82-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.82-7
- Perl 5.38 rebuild
* Mon Jun 12 2023 Petr Pisar <ppisar@redhat.com> - 1:0.82-6
- Specify all dependencies
- Package examples
- Package the tests
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.82-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.82-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.82-3
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.82-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Aug 01 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 1:0.82-1
- Update to 0.82
* Sun Jul 25 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 1:0.80-1
- Update to 0.80
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.79-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.79-7 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.79-7
- Perl 5.34 rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.79-6 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.79-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save