2024-01-05 20:29:03 +01:00
|
|
|
Name: apache-mod_fcgid
|
|
|
|
Version: 2.3.9
|
2024-01-05 20:29:04 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 20:29:03 +01:00
|
|
|
Summary: A high performance alternative to mod_cgi or mod_cgid
|
|
|
|
Group: System/Servers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:29:04 +01:00
|
|
|
URL: https://httpd.apache.org/mod_fcgid/
|
2024-01-05 20:29:03 +01:00
|
|
|
Source: http://apache.panu.it//httpd/mod_fcgid/mod_fcgid-%{version}.tar.bz2
|
2024-01-05 20:29:04 +01:00
|
|
|
Patch0: apache-mod_fcgid-2.3.9-fix-bts-691929.patch
|
|
|
|
Patch1: apache-mod_fcgid-2.3.9-large-file-upload.patch
|
2024-01-05 20:29:03 +01:00
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 20:29:04 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 20:29:03 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: apache >= 2.4
|
|
|
|
Requires: apache >= 2.4
|
|
|
|
|
|
|
|
%description
|
|
|
|
mod_fcgid is a high performance alternative to mod_cgi or mod_cgid, which starts a sufficient number instances of the CGI program to handle concurrent requests, and these programs remain running to handle further incoming requests. It is favored by the PHP developers, for example, as a preferred alternative to running mod_php in-process, delivering very similar performance.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n mod_fcgid-%{version}
|
2024-01-05 20:29:04 +01:00
|
|
|
%patch 0 -p1 -b .fix-bts-691929
|
|
|
|
%patch 1 -p0 -b .large-file-upload
|
2024-01-05 20:29:03 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./configure.apxs
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
%{_bindir}/apxs -e -a -n fcgid %{_libdir}/apache/mod_fcgid.so > /dev/null
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
%{_bindir}/apxs -e -A -n fcgid %{_libdir}/apache/mod_fcgid.so > /dev/null
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/apache/mod_fcgid.so
|
|
|
|
%{_localstatedir}/www/manual/mod/mod_fcgid.html
|
|
|
|
%{_localstatedir}/www/manual/mod/mod_fcgid.html.en
|
|
|
|
%{_localstatedir}/www/manual/mod/mod_fcgid.xml
|
|
|
|
%{_localstatedir}/www/manual/mod/mod_fcgid.xml.meta
|
|
|
|
%doc README-FCGID
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:29:04 +01:00
|
|
|
* Tue Oct 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.9-2mamba
|
|
|
|
- rebuilt with patches
|
|
|
|
|
2024-01-05 20:29:03 +01:00
|
|
|
* Thu Sep 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.9-1mamba
|
|
|
|
- package created using the webbuild interface
|