003-logdir_fix.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Index: httpd-2.4.25/build/mkconfNW.awk
  2. ===================================================================
  3. --- httpd-2.4.25.orig/build/mkconfNW.awk
  4. +++ httpd-2.4.25/build/mkconfNW.awk
  5. @@ -23,7 +23,7 @@ BEGIN {
  6. A["sysconfdir"] = "conf"
  7. A["iconsdir"] = "icons"
  8. A["manualdir"] = "manual"
  9. - A["runtimedir"] = "logs"
  10. + A["runtimedir"] = "log"
  11. A["errordir"] = "error"
  12. A["proxycachedir"] = "proxy"
  13. Index: httpd-2.4.25/config.layout
  14. ===================================================================
  15. --- httpd-2.4.25.orig/config.layout
  16. +++ httpd-2.4.25/config.layout
  17. @@ -28,8 +28,8 @@
  18. cgidir: ${datadir}/cgi-bin
  19. includedir: ${prefix}/include
  20. localstatedir: ${prefix}
  21. - runtimedir: ${localstatedir}/logs
  22. - logfiledir: ${localstatedir}/logs
  23. + runtimedir: ${localstatedir}/log
  24. + logfiledir: ${localstatedir}/log
  25. proxycachedir: ${localstatedir}/proxy
  26. </Layout>
  27. @@ -150,7 +150,7 @@
  28. includedir: ${prefix}/include
  29. localstatedir: /var${prefix}
  30. runtimedir: ${localstatedir}/run
  31. - logfiledir: ${localstatedir}/logs
  32. + logfiledir: ${localstatedir}/log
  33. proxycachedir: ${localstatedir}/proxy
  34. </Layout>