packages/net/apache/patches/003-logdir_fix.patch
florian 9d038fb0d6 [package] update apache to 2.2.13, drop httpd.conf file and patch it directly in the sources (#5858)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 13:13:05 +00:00

34 lines
949 B
Diff

--- a/build/mkconfNW.awk
+++ b/build/mkconfNW.awk
@@ -24,7 +24,7 @@ BEGIN {
A["sysconfdir"] = "conf"
A["iconsdir"] = "icons"
A["manualdir"] = "manual"
- A["runtimedir"] = "logs"
+ A["runtimedir"] = "log"
A["errordir"] = "error"
A["proxycachedir"] = "proxy"
--- a/config.layout
+++ b/config.layout
@@ -28,8 +28,8 @@
cgidir: ${datadir}/cgi-bin
includedir: ${prefix}/include
localstatedir: ${prefix}
- runtimedir: ${localstatedir}/logs
- logfiledir: ${localstatedir}/logs
+ runtimedir: ${localstatedir}/log
+ logfiledir: ${localstatedir}/log
proxycachedir: ${localstatedir}/proxy
</Layout>
@@ -150,7 +150,7 @@
includedir: ${prefix}/include
localstatedir: /var${prefix}
runtimedir: ${localstatedir}/run
- logfiledir: ${localstatedir}/logs
+ logfiledir: ${localstatedir}/log
proxycachedir: ${localstatedir}/proxy
</Layout>