cherokee-1.2.99-gentoo.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. diff -Naur cherokee-1.2.99.orig/admin/configured.py.pre cherokee-1.2.99/admin/configured.py.pre
  2. --- cherokee-1.2.99.orig/admin/configured.py.pre 2011-03-31 17:30:04.000000000 +0900
  3. +++ cherokee-1.2.99/admin/configured.py.pre 2011-09-16 19:37:15.893487362 +0900
  4. @@ -22,7 +22,7 @@
  5. CHEROKEE_DATADIR = join (DATADIR, "cherokee")
  6. CHEROKEE_DEPSDIR = join (DATADIR, "cherokee/deps")
  7. CHEROKEE_CONFDIR = join (SYSCONFDIR, "cherokee")
  8. -CHEROKEE_VAR_LOG = join (LOCALSTATE, "log")
  9. +CHEROKEE_VAR_LOG = join (LOCALSTATE, "log/cherokee")
  10. CHEROKEE_VAR_RUN = join (LOCALSTATE, "run")
  11. CHEROKEE_VAR_LIB = join (LOCALSTATE, "lib/cherokee")
  12. CHEROKEE_RRD_DIR = join (LOCALSTATE, "lib/cherokee/graphs")
  13. diff -Naur cherokee-1.2.99.orig/cherokee.conf.sample.pre cherokee-1.2.99/cherokee.conf.sample.pre
  14. --- cherokee-1.2.99.orig/cherokee.conf.sample.pre 2011-05-03 18:01:42.000000000 +0900
  15. +++ cherokee-1.2.99/cherokee.conf.sample.pre 2011-09-16 19:37:15.894487368 +0900
  16. @@ -18,6 +18,8 @@
  17. server!server_tokens = full
  18. server!panic_action = %prefix%/bin/cherokee-panic
  19. server!pid_file = %localstatedir%/run/cherokee.pid
  20. +server!user = cherokee
  21. +server!group = cherokee
  22. # Default virtual server
  23. #
  24. @@ -27,11 +29,11 @@
  25. vserver!1!logger = combined
  26. vserver!1!logger!access!type = file
  27. -vserver!1!logger!access!filename = %localstatedir%/log/cherokee.access
  28. +vserver!1!logger!access!filename = %localstatedir%/log/cherokee/cherokee.access
  29. vserver!1!logger!access!buffsize = 16384
  30. vserver!1!error_writer!type = file
  31. -vserver!1!error_writer!filename = %localstatedir%/log/cherokee.error
  32. +vserver!1!error_writer!filename = %localstatedir%/log/cherokee/cherokee.error
  33. vserver!1!rule!1!match = default
  34. vserver!1!rule!1!handler = common