/[gentoo-x86]/www-servers/cherokee/files/cherokee-1.2.99-gentoo.patch
Gentoo

Contents of /www-servers/cherokee/files/cherokee-1.2.99-gentoo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Sep 16 11:57:03 2011 UTC (3 years, 1 month ago) by matsuu
Branch: MAIN
CVS Tags: HEAD
Version bumped. Added cherokee.logrotate. Fixed graceful and reload in init.d, bug #348929. Clean up.

(Portage version: 2.1.10.15/cvs/Linux x86_64)

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
23 # Default virtual server
24 #
25 @@ -27,11 +29,11 @@
26
27 vserver!1!logger = combined
28 vserver!1!logger!access!type = file
29 -vserver!1!logger!access!filename = %localstatedir%/log/cherokee.access
30 +vserver!1!logger!access!filename = %localstatedir%/log/cherokee/cherokee.access
31 vserver!1!logger!access!buffsize = 16384
32
33 vserver!1!error_writer!type = file
34 -vserver!1!error_writer!filename = %localstatedir%/log/cherokee.error
35 +vserver!1!error_writer!filename = %localstatedir%/log/cherokee/cherokee.error
36
37 vserver!1!rule!1!match = default
38 vserver!1!rule!1!handler = common

  ViewVC Help
Powered by ViewVC 1.1.20