From 3b5be2580ad84d20cc6fb4e0078176654590fe43 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:29:03 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.3.9-1mamba;Thu Sep 04 2014] --- README.md | 2 ++ apache-mod_fcgid.spec | 61 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 apache-mod_fcgid.spec diff --git a/README.md b/README.md index 4dcf43f..5125536 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # 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. + diff --git a/apache-mod_fcgid.spec b/apache-mod_fcgid.spec new file mode 100644 index 0000000..0ed8e49 --- /dev/null +++ b/apache-mod_fcgid.spec @@ -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 +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 2.3.9-1mamba +- package created using the webbuild interface