OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 20-Nov-2005 14:41:01 Branch: HEAD Handle: 2005112013410100 Modified files: openpkg-src/apache apache.base apache.spec Log: Fix mod_fastcgi run-time by providing an IPC directory and a basic global configuration for allowing mod_fastcgi to be used more out-of-the-box. Sponsored by: Fraunhofer Gesellschaft (FhG) Institut Information- und Datenverarbeitung (IITB) http://www.iitb.fraunhofer.de/ Summary: Revision Changes Path 1.16 +9 -0 openpkg-src/apache/apache.base 1.313 +10 -1 openpkg-src/apache/apache.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/apache/apache.base ============================================================================ $ cvs diff -u -r1.15 -r1.16 apache.base --- openpkg-src/apache/apache.base 7 Sep 2005 11:42:53 -0000 1.15 +++ openpkg-src/apache/apache.base 20 Nov 2005 13:41:01 -0000 1.16 @@ -215,6 +215,15 @@ </Directory> </IfModule> +# mod_fastcgi support +<IfModule mod_fastcgi.c> + FastCgiIpcDir "@l_prefix@/var/apache/fastcgi" + <Files ~ "\.fcgi$"> + SetHandler fastcgi-script + Options +ExecCGI + </Files> +</IfModule> + # mod_perl support <IfModule mod_perl.c> # default initializations @@ . patch -p0 <<'@@ .' Index: openpkg-src/apache/apache.spec ============================================================================ $ cvs diff -u -r1.312 -r1.313 apache.spec --- openpkg-src/apache/apache.spec 16 Nov 2005 07:39:58 -0000 1.312 +++ openpkg-src/apache/apache.spec 20 Nov 2005 13:41:01 -0000 1.313 @@ -65,7 +65,7 @@ Group: Web License: ASF Version: %{V_apache} -Release: 20051116 +Release: 20051120 # package options (suexec related) %option with_suexec yes @@ -1217,6 +1217,12 @@ %{SOURCE apache.sh} \ $RPM_BUILD_ROOT%{l_prefix}/etc/apache/ +%if "%{with_mod_fastcgi}" == "yes" + # provide mod_fastcgi IPC directory + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/var/apache/fastcgi +%endif + %if "%{with_mod_perl}" == "yes" # cleanup for mod_perl rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/perl @@ -1291,6 +1297,9 @@ '%config %{l_prefix}/etc/apache/ssl.key/*.key' \ '%config %{l_prefix}/etc/apache/ssl.prm/*.prm' \ %endif +%if "%{with_mod_fastcgi}" == "yes" + '%attr(750,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/apache/fastcgi' \ +%endif '%config %attr(444,%{l_musr},%{l_mgrp}) %{l_prefix}/etc/apache/apache.base' %files -f files @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org