openbsd-ports/www/cherokee/patches/patch-cherokee_conf_sample_pre
ajacoutot d16d96252f SECURITY: CVE-2009-4489
http://www.vupen.com/english/advisories/2010/0090
(thanks fgsch@ for the link/notice)

Update to cherokee-0.99.39.
Remove debug FLAVOR and use ifdef DEBUG.
Add rrdtool to run_depends.
Byte-compile python modules so that they are registered in the PLIST.

Be careful as cherokee is not started using ${PREFIX}/sbin/cherokee, not
cherokee-guardian anymore.

Fernando Quintero (maintainer) ok
MESSAGE tweak and ok sthen@, ok jasper@
2010-01-13 08:47:57 +00:00

37 lines
1.3 KiB
Plaintext

$OpenBSD: patch-cherokee_conf_sample_pre,v 1.5 2010/01/13 08:47:57 ajacoutot Exp $
--- cherokee.conf.sample.pre.orig Tue Jan 12 10:24:13 2010
+++ cherokee.conf.sample.pre Tue Jan 12 10:26:20 2010
@@ -13,6 +13,9 @@
#
server!bind!1!port = 80
server!timeout = 15
+server!user = _cherokee
+server!group = _cherokee
+server!ipv6 = 0
server!keepalive = 1
server!keepalive_max_requests = 500
server!server_tokens = full
@@ -27,11 +30,11 @@ vserver!1!directory_index = index.html
vserver!1!logger = combined
vserver!1!logger!access!type = file
-vserver!1!logger!access!filename = %localstatedir%/log/cherokee.access
+vserver!1!logger!access!filename = %localstatedir%/log/cherokee/cherokee.access
vserver!1!logger!access!buffsize = 16384
vserver!1!error_writer!type = file
-vserver!1!error_writer!filename = %localstatedir%/log/cherokee.error
+vserver!1!error_writer!filename = %localstatedir%/log/cherokee/cherokee.error
vserver!1!rule!1!match = default
vserver!1!rule!1!handler = common
@@ -49,7 +52,7 @@ vserver!1!rule!3!handler = file
vserver!1!rule!4!match = directory
vserver!1!rule!4!match!directory = /cgi-bin
-vserver!1!rule!4!document_root = %prefix%/lib/cgi-bin
+vserver!1!rule!4!document_root = %wwwroot%/cgi-bin/
vserver!1!rule!4!handler = cgi
vserver!1!rule!5!match = directory