package created using the webbuild interface [release 2.3.9-1mamba;Thu Sep 04 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 20:29:03 +01:00
parent b2515a0917
commit 3b5be2580a
2 changed files with 63 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# apache-mod_fcgid # apache-mod_fcgid
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.

61
apache-mod_fcgid.spec Normal file
View File

@ -0,0 +1,61 @@
Name: apache-mod_fcgid
Version: 2.3.9
Release: 1mamba
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>
URL: http://httpd.apache.org/mod_fcgid/
Source: http://apache.panu.it//httpd/mod_fcgid/mod_fcgid-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 apache-mod_fcgid' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: apache >= 2.4
Requires: apache >= 2.4
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}
%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
* Thu Sep 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.9-1mamba
- package created using the webbuild interface