diff options
author | 2004-08-08 11:14:13 +0000 | |
---|---|---|
committer | 2004-08-08 11:14:13 +0000 | |
commit | 2ba767d58e056b85b0b44e74897bc85398f1f699 (patch) | |
tree | 87e54a15de13fd143e7939073458c5d47bd7272e /www-servers/cherokee/files | |
parent | Added fix for CAN-2004-0415 (Manifest recommit) (diff) | |
download | gentoo-2-2ba767d58e056b85b0b44e74897bc85398f1f699.tar.gz gentoo-2-2ba767d58e056b85b0b44e74897bc85398f1f699.tar.bz2 gentoo-2-2ba767d58e056b85b0b44e74897bc85398f1f699.zip |
Moved from net-www/cherokee to www-servers/cherokee.
Diffstat (limited to 'www-servers/cherokee/files')
14 files changed, 263 insertions, 0 deletions
diff --git a/www-servers/cherokee/files/cherokee-0.4.1-gcc3.patch b/www-servers/cherokee/files/cherokee-0.4.1-gcc3.patch new file mode 100644 index 000000000000..07cec44c4b25 --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.1-gcc3.patch @@ -0,0 +1,24 @@ +diff -r -u cherokee-0.4.1-old/src/common.c cherokee-0.4.1/src/common.c +--- cherokee-0.4.1-old/src/common.c 2003-02-23 08:36:02.000000000 -0700 ++++ cherokee-0.4.1/src/common.c 2004-02-15 23:17:22.000000000 -0700 +@@ -23,7 +23,7 @@ + * USA + */ + +-#include <varargs.h> ++#include <stdarg.h> + #include "common.h" + + /* Global mini-buffer for quickly use +diff -r -u cherokee-0.4.1-old/src/log.c cherokee-0.4.1/src/log.c +--- cherokee-0.4.1-old/src/log.c 2003-02-23 08:36:31.000000000 -0700 ++++ cherokee-0.4.1/src/log.c 2004-02-15 23:17:37.000000000 -0700 +@@ -24,7 +24,7 @@ + */ + + #include "log.h" +-#include <varargs.h> ++#include <stdarg.h> + + static int __cherokee_logging = 0; + diff --git a/www-servers/cherokee/files/cherokee-0.4.17-init.d b/www-servers/cherokee/files/cherokee-0.4.17-init.d new file mode 100644 index 000000000000..b94d6d757aae --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.17-init.d @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/files/cherokee-0.4.17-init.d,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +PIDFILE=/var/run/cherokee.pid + +depend() { + need net +} + +start() { + ebegin "Starting Cherokee Web Server" + # make sure they can't break our startup by passing -d (which would + # cause incorrect PID to be written to pidfile), or the incorrect + # depot root + start-stop-daemon --start --quiet \ + --pidfile ${PIDFILE} --make-pidfile -b \ + --exec /usr/sbin/cherokee + eend $? +} + +stop() { + ebegin "Stopping Cherokee Web Server" + if [ -f ${PIDFILE} ]; then + start-stop-daemon --stop --quiet --pidfile ${PIDFILE} + fi + rm -f ${PIDFILE} + eend $? +} diff --git a/www-servers/cherokee/files/cherokee-0.4.5-Makefile.am.patch b/www-servers/cherokee/files/cherokee-0.4.5-Makefile.am.patch new file mode 100644 index 000000000000..40bdd440bf8d --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.5-Makefile.am.patch @@ -0,0 +1,22 @@ +--- Makefile.am 2003-07-04 14:54:38.000000000 +0100 ++++ /tmp/Makefile.am 2003-10-05 11:04:55.000000000 +0100 +@@ -23,14 +23,14 @@ + + + install-data-local: +- @if test -f $(cherokeeconfdir)/cherokee.conf ; then \ ++ @if test -f $(DESTDIR)$(cherokeeconfdir)/cherokee.conf ; then \ + echo "$@ will not overwrite existing $(cherokeeconfdir)/cherokee.conf"; \ + else \ +- $(mkinstalldirs) $(cherokeeconfdir) \ +- echo "$(INSTALL_DATA) cherokee.conf.sample $(cherokeeconfdir)/cherokee.conf"; \ +- $(INSTALL_DATA) cherokee.conf.sample $(cherokeeconfdir)/cherokee.conf; \ ++ $(mkinstalldirs) $(DESTDIR)$(cherokeeconfdir) ;\ ++ echo "$(INSTALL_DATA) cherokee.conf.sample $(DESTDIR)$(cherokeeconfdir)/cherokee.conf"; \ ++ $(INSTALL_DATA) cherokee.conf.sample $(DESTDIR)$(cherokeeconfdir)/cherokee.conf; \ + fi +- $(mkinstalldirs) $(localstatedir) ++ $(mkinstalldirs) $(DESTDIR)$(localstatedir) + + uninstall-local: + @if test -f $(cherokeeconfdir)/cherokee.conf ; then \ diff --git a/www-servers/cherokee/files/cherokee-0.4.5-cherokee.conf b/www-servers/cherokee/files/cherokee-0.4.5-cherokee.conf new file mode 100644 index 000000000000..fa67f8521c93 --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.5-cherokee.conf @@ -0,0 +1,148 @@ +## +## cherokee.conf -- Cherokee HTTP server configuration file +## + +## +## Port: The port to which the standalone server listens. For +## ports < 1023, you will need cherokee to be run as root initially. +## +Port 80 + +## +## IPv6 support +## +IPv6 On + +## +## This directiveis used to tell the server which IP address to listen to. +## +#Listen 127.0.0.1 + +## +## If you wish cherokee to run as a different user or group, you must run +## cherokee as root initially and it will switch. +## +## Eg: User "www-data" +## Group "www-data" +## +## Eg: User 65534 +## Group 65534 +## +#User nobody +#Group nogroup + +## +## Timeout: The number of seconds before receives and sends time out. +## +Timeout 15 + +## +## KeepAlive: Whether or not to allow persistent connections (more than +## one request per connection). Set to "Off" to deactivate. +## +KeepAlive On + +## +## ThreadNumber: +## +# ThreadNumber 5 + +## +## DocumentRoot: The directory out of which you will serve your +## documents. By default, all requests are taken from this directory, but +## symbolic links and aliases may be used to point to other locations. +## +DocumentRoot /var/www/localhost/htdocs + +## +## Log: Turn On/Off the logging in to syslog +## +## Parameters: +## ncsa - AccessLog, ErrorLog +## w3c - LogFile +## +#Log w3c { +# LogFile /var/log/cherokee.w3c.log +#} +Log ncsa { + AccessLog /var/log/cherokee.access + ErrorLog /var/log/cherokee.error +} + +## +## Hide Versions: Hide the software version +## +HideVersion Off + +## +## PidFile: The file in which the server should record its process +## identification number when it starts. +## +PidFile /var/run/cherokee.pid + +## +## UserDir: The name of the directory which is appended onto a user's home +## directory if a ~user request is received. +## +## NOTE: Take in mind the permissions. If you have changed the User/Group +## the server maybe will have problems accessing the personal users' +## content. +## +UserDir public_html { + Handler common +} + +## +## MimeFile: Mime types file. By default you should leave it +## commented +## +#MimeFile /usr/share/cherokee/mime_types.txt + +## +## Load the GZip encoder plugin +## +Encoder gzip { + Allow html, htm, txt + Deny jpg, png, gz +} + +## +## Handler to directory configuration +## +Directory / { + Handler common +} + +Directory /icons { + Handler file + DocumentRoot /usr/share/cherokee/icons/ +} + +Directory /google { + Handler redir { + URL http://www.google.com/search?sourceid=cherokee-search&q= + } +} + +Directory /cgi-bin { + Handler cgi + DocumentRoot /var/www/localhost/cgi-bin/ +} + +#Directory /gnome { +# Handler gnomevfs { +# FileDir /var/www/compressed/ +# } +#} + +## +## Virtual servers +## +# Server tesoro.alobbs.com { +# DocumentRoot /var/www/tesoro.alobbs.com/htdocs +# +# Directory / { +# Handler common +# } +#} + diff --git a/www-servers/cherokee/files/cherokee-0.4.5-init.d b/www-servers/cherokee/files/cherokee-0.4.5-init.d new file mode 100644 index 000000000000..c5baf366e582 --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.5-init.d @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/files/cherokee-0.4.5-init.d,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +PIDFILE=/var/run/cherokee.pid + +depend() { + need net +} + +start() { + ebegin "Starting Cherokee Web Server" + # make sure they can't break our startup by passing -d (which would + # cause incorrect PID to be written to pidfile), or the incorrect + # depot root + start-stop-daemon --start --quiet \ + --pidfile ${PIDFILE} --make-pidfile -b \ + --exec /usr/bin/cherokee + eend $? +} + +stop() { + ebegin "Stopping Cherokee Web Server" + if [ -f ${PIDFILE} ]; then + start-stop-daemon --stop --quiet --pidfile ${PIDFILE} + fi + rm -f ${PIDFILE} + eend $? +} diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.0 b/www-servers/cherokee/files/digest-cherokee-0.4.0 new file mode 100644 index 000000000000..1d80d29a1e6f --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.0 @@ -0,0 +1 @@ +MD5 bd204abaeb75f4b7a3a2c238f468b447 cherokee-0.4.0-beta5.tar.gz 207094 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.1 b/www-servers/cherokee/files/digest-cherokee-0.4.1 new file mode 100644 index 000000000000..5916dd39d1ef --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.1 @@ -0,0 +1 @@ +MD5 15ed888989350ad9b1e1d36609a7bd0d cherokee-0.4.1.tar.gz 212222 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.10 b/www-servers/cherokee/files/digest-cherokee-0.4.10 new file mode 100644 index 000000000000..94ae94565758 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.10 @@ -0,0 +1 @@ +MD5 1934b6f20e774c6981b80575bfd7427f cherokee-0.4.10.tar.gz 680687 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.14 b/www-servers/cherokee/files/digest-cherokee-0.4.14 new file mode 100644 index 000000000000..c3c739731c90 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.14 @@ -0,0 +1 @@ +MD5 f7210fd4960af21e4b285a5f6fb7fad4 cherokee-0.4.14.tar.gz 749879 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.15 b/www-servers/cherokee/files/digest-cherokee-0.4.15 new file mode 100644 index 000000000000..f2ca53179c69 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.15 @@ -0,0 +1 @@ +MD5 e08c299da597feebaecd5839b8aaafc3 cherokee-0.4.15.tar.gz 755199 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.16 b/www-servers/cherokee/files/digest-cherokee-0.4.16 new file mode 100644 index 000000000000..87ea0c17028c --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.16 @@ -0,0 +1 @@ +MD5 b0e390c247952756bec877189583be22 cherokee-0.4.16.tar.gz 771568 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.17 b/www-servers/cherokee/files/digest-cherokee-0.4.17 new file mode 100644 index 000000000000..80824cbd0cc3 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.17 @@ -0,0 +1 @@ +MD5 2cf8c8eb973e6b3e5578406b467f23b5 cherokee-0.4.17.tar.gz 800872 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.4 b/www-servers/cherokee/files/digest-cherokee-0.4.4 new file mode 100644 index 000000000000..390943d6a340 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.4 @@ -0,0 +1 @@ +MD5 efed5a8351acee511686c8662629162a cherokee-0.4.4.tar.gz 338818 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.5 b/www-servers/cherokee/files/digest-cherokee-0.4.5 new file mode 100644 index 000000000000..3e5e5a48bd4e --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.5 @@ -0,0 +1 @@ +MD5 d06bfce5bbb6c99f6d3349383be7377c cherokee-0.4.5.tar.gz 508784 |