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: 10-Nov-2008 09:25:04
Branch: HEAD Handle: 2008111008250300
Modified files:
openpkg-src/apache apache.base apache.spec
Log:
provide out-of-the-box caching preparation
Summary:
Revision Changes Path
1.29 +10 -0 openpkg-src/apache/apache.base
1.438 +6 -4 openpkg-src/apache/apache.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.base
============================================================================
$ cvs diff -u -r1.28 -r1.29 apache.base
--- openpkg-src/apache/apache.base 1 Aug 2007 09:00:14 -0000 1.28
+++ openpkg-src/apache/apache.base 10 Nov 2008 08:25:03 -0000 1.29
@@ -324,3 +324,13 @@
BrowserMatch "^Dreamweaver-WebDAV-SCM1"
redirect-carefully
</IfModule>
+# Cache support
+<IfModule disk_cache_module>
+ CacheRoot @l_prefix@/var/apache/run/apache.cache
+ CacheSize 100000
+ CacheMaxFileSize 1000000
+ CacheMinFileSize 1
+ CacheDirLength 4
+ CacheDirLevels 5
+</IfModule>
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.437 -r1.438 apache.spec
--- openpkg-src/apache/apache.spec 15 Oct 2008 06:14:36 -0000 1.437
+++ openpkg-src/apache/apache.spec 10 Nov 2008 08:25:03 -0000 1.438
@@ -32,7 +32,7 @@
Group: Web
License: ASF
Version: 2.2.10
-Release: 20081015
+Release: 20081110
# package options
%option with_mpm_prefork yes
@@ -67,7 +67,7 @@
%undefine with_mpm_prefork
%undefine with_mpm_worker
%endif
-%if "%{with_mod_memcache}" == "yes" || "%{with_mod_diskcache}" == "yes"
+%if "%{with_mod_memcache}" == "yes" || "%{with_mod_diskcache}" == "yes" ||
"%{with_mod_filecache}" == "yes"
%undefine with_mod_cache
%define with_mod_cache yes
%endif
@@ -251,7 +251,8 @@
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
$RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d \
- $RPM_BUILD_ROOT%{l_prefix}/var/apache/run/apache.dav
+ $RPM_BUILD_ROOT%{l_prefix}/var/apache/run/apache.dav \
+ $RPM_BUILD_ROOT%{l_prefix}/var/apache/run/apache.cache
# adjust GNU libtool configuration for apxs(1) runtime
%{l_shtool} install -c -m 755 \
@@ -307,7 +308,8 @@
%endif
'%config %{l_prefix}/etc/apache/*' \
'%config %attr(444,%{l_musr},%{l_mgrp})
%{l_prefix}/etc/apache/apache.base' \
- '%dir %attr(750,%{l_nusr},%{l_ngrp})
%{l_prefix}/var/apache/run/apache.dav'
+ '%dir %attr(750,%{l_nusr},%{l_ngrp})
%{l_prefix}/var/apache/run/apache.dav' \
+ '%dir %attr(750,%{l_nusr},%{l_ngrp})
%{l_prefix}/var/apache/run/apache.cache'
%files -f files
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]