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: 18-Aug-2006 16:30:25
Branch: HEAD Handle: 2006081815302202
Modified files:
openpkg-src/apache apache.spec rc.apache
Log:
always switch into the Apache run-time directory as at least PHP with
MM based sessions store their session database into the _current
working directory_ which was active at the time Apache was started
Summary:
Revision Changes Path
1.344 +1 -1 openpkg-src/apache/apache.spec
1.22 +2 -1 openpkg-src/apache/rc.apache
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.343 -r1.344 apache.spec
--- openpkg-src/apache/apache.spec 11 Aug 2006 15:39:03 -0000 1.343
+++ openpkg-src/apache/apache.spec 18 Aug 2006 14:30:22 -0000 1.344
@@ -65,7 +65,7 @@
Group: Web
License: ASF
Version: %{V_apache}
-Release: 20060811
+Release: 20060818
# package options (suexec related)
%option with_suexec yes
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/apache/rc.apache
============================================================================
$ cvs diff -u -r1.21 -r1.22 rc.apache
--- openpkg-src/apache/rc.apache 5 Dec 2005 18:52:54 -0000 1.21
+++ openpkg-src/apache/rc.apache 18 Aug 2006 14:30:24 -0000 1.22
@@ -43,7 +43,8 @@
%start -u @l_susr@
rcService apache enable yes || exit 0
rcService apache active yes && exit 0
- ( [ -e @l_prefix@/etc/apache/apache.sh ] && \
+ ( cd @l_prefix@/var/apache/run
+ [ -e @l_prefix@/etc/apache/apache.sh ] && \
. @l_prefix@/etc/apache/apache.sh
@l_prefix@/sbin/apache
) || exit $?
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]