summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/lighttpd/files')
-rw-r--r--www-servers/lighttpd/files/digest-lighttpd-1.1.81
-rw-r--r--www-servers/lighttpd/files/digest-lighttpd-1.1.8-r11
-rw-r--r--www-servers/lighttpd/files/digest-lighttpd-1.2.21
-rw-r--r--www-servers/lighttpd/files/lighttpd-1.1.8-gentoo.diff36
-rw-r--r--www-servers/lighttpd/files/lighttpd-1.2.2-php.diff47
-rw-r--r--www-servers/lighttpd/files/lighttpd-1.2.2.initd32
-rw-r--r--www-servers/lighttpd/files/lighttpd.initd29
7 files changed, 147 insertions, 0 deletions
diff --git a/www-servers/lighttpd/files/digest-lighttpd-1.1.8 b/www-servers/lighttpd/files/digest-lighttpd-1.1.8
new file mode 100644
index 000000000000..1b351f1c99d1
--- /dev/null
+++ b/www-servers/lighttpd/files/digest-lighttpd-1.1.8
@@ -0,0 +1 @@
+MD5 1f955ac35765a2630050a0cbf113d15f lighttpd-1.1.8.tar.gz 536169
diff --git a/www-servers/lighttpd/files/digest-lighttpd-1.1.8-r1 b/www-servers/lighttpd/files/digest-lighttpd-1.1.8-r1
new file mode 100644
index 000000000000..1b351f1c99d1
--- /dev/null
+++ b/www-servers/lighttpd/files/digest-lighttpd-1.1.8-r1
@@ -0,0 +1 @@
+MD5 1f955ac35765a2630050a0cbf113d15f lighttpd-1.1.8.tar.gz 536169
diff --git a/www-servers/lighttpd/files/digest-lighttpd-1.2.2 b/www-servers/lighttpd/files/digest-lighttpd-1.2.2
new file mode 100644
index 000000000000..912463f0f519
--- /dev/null
+++ b/www-servers/lighttpd/files/digest-lighttpd-1.2.2
@@ -0,0 +1 @@
+MD5 37877e1df7e6d2fea2728c3c5b10e9f5 lighttpd-1.2.2.tar.gz 558948
diff --git a/www-servers/lighttpd/files/lighttpd-1.1.8-gentoo.diff b/www-servers/lighttpd/files/lighttpd-1.1.8-gentoo.diff
new file mode 100644
index 000000000000..f75fd3ccbe20
--- /dev/null
+++ b/www-servers/lighttpd/files/lighttpd-1.1.8-gentoo.diff
@@ -0,0 +1,36 @@
+--- doc/lighttpd.conf.orig 2004-04-23 18:31:13.985795352 +0100
++++ doc/lighttpd.conf 2004-04-23 18:34:00.191528240 +0100
+@@ -25,10 +25,10 @@
+
+ ## a static document-root, for virtual-hosting take look at the
+ ## server.virtual-* options
+-server.document-root = "/www/pages/"
++server.document-root = "/var/www/localhost/htdocs/"
+
+ ## where to send error-messages to
+-server.errorlog = "/www/logs/lighttpd.error.log"
++server.errorlog = "/var/log/lighttpd/error.log"
+
+ # files to check for if .../ is requested
+ server.indexfiles = ( "index.php", "index.html",
+@@ -52,7 +52,7 @@
+ ".conf" => "text/plain" )
+
+ #### accesslog module
+-accesslog.filename = "/www/logs/access.log"
++accesslog.filename = "/var/log/lighttpd/access.log"
+
+ ## deny access the file-extensions
+ #
+@@ -81,9 +81,9 @@
+ ## virtual-server-root + virtual-server-default-host + virtual-server-docroot or
+ ## virtual-server-root + http-host + virtual-server-docroot
+ ##
+-#simple-vhost.server-root = "/home/weigon/wwwroot/servers/"
++#simple-vhost.server-root = "/var/www/"
+ #simple-vhost.default-host = "grisu.home.kneschke.de"
+-#simple-vhost.document-root = "/pages/"
++#simple-vhost.document-root = "/htdocs/"
+
+
+ ##
diff --git a/www-servers/lighttpd/files/lighttpd-1.2.2-php.diff b/www-servers/lighttpd/files/lighttpd-1.2.2-php.diff
new file mode 100644
index 000000000000..7ace09086270
--- /dev/null
+++ b/www-servers/lighttpd/files/lighttpd-1.2.2-php.diff
@@ -0,0 +1,47 @@
+diff -u olddoc/lighttpd.1 doc/lighttpd.1
+--- olddoc/lighttpd.1 2004-06-24 10:26:54.888331272 +0200
++++ doc/lighttpd.1 2004-06-24 10:27:48.352203528 +0200
+@@ -5,7 +5,7 @@
+ lighttpd -D -f <configfile>
+ .SH DESCRIPTION
+ .SH FILES
+-/etc/lighttpd/lighttpd.conf
++/etc/lighttpd.conf
+ .SH CONFORMING TO
+ HTTP/1.0
+ HTTP/1.0
+diff -u olddoc/lighttpd.conf doc/lighttpd.conf
+--- olddoc/lighttpd.conf 2004-06-24 10:26:54.900329448 +0200
++++ doc/lighttpd.conf 2004-06-24 10:26:35.252316400 +0200
+@@ -16,7 +16,7 @@
+ "mod_access",
+ # "mod_auth",
+ # "mod_status",
+-# "mod_fastcgi",
++ "mod_fastcgi",
+ # "mod_simple_vhost",
+ # "mod_evhost",
+ # "mod_cgi",
+@@ -114,14 +114,14 @@
+
+ #### fastcgi module
+ ## read fastcgi.txt for more info
+-#fastcgi.server = ( ".php" =>
+-# ( "grisu" =>
+-# (
+-# "host" => "192.168.2.10",
+-# "port" => 1026
+-# )
+-# )
+-# )
++fastcgi.server = ( ".php" =>
++ ( "localhost" =>
++ (
++ "host" => "127.0.0.1",
++ "port" => 1026
++ )
++ )
++ )
+
+ #### CGI module
+ #cgi.assign = ( ".pl" => "/usr/bin/perl",
diff --git a/www-servers/lighttpd/files/lighttpd-1.2.2.initd b/www-servers/lighttpd/files/lighttpd-1.2.2.initd
new file mode 100644
index 000000000000..5c74484b3176
--- /dev/null
+++ b/www-servers/lighttpd/files/lighttpd-1.2.2.initd
@@ -0,0 +1,32 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd-1.2.2.initd,v 1.1 2004/08/08 17:28:06 stuart Exp $
+
+LIGHTTPD_PID="/var/run/lighttpd.pid"
+LIGHTTPD_BIN="/usr/sbin/lighttpd"
+LIGHTTPD_CONF="/etc/lighttpd.conf"
+
+depend() {
+ need net
+ use mysql logger spawn-fcgi
+ after spawn-fcgi
+}
+
+start() {
+ ebegin "Starting lighttpd"
+ ${LIGHTTPD_BIN} -f ${LIGHTTPD_CONF}
+ eend ${?}
+ pidof lighttpd >${LIGHTTPD_PID}
+}
+
+stop() {
+ if [ -r ${LIGHTTPD_PID} ]; then
+ ebegin "Stopping lighttpd"
+ kill `cat ${LIGHTTPD_PID}`
+ eend $?
+ if [ -w ${LIGHTTPD_PID} ]; then rm ${LIGHTTPD_PID}; fi;
+ else
+ eerror "lighttpd: no PID-file found. no process killed!"
+ fi
+}
diff --git a/www-servers/lighttpd/files/lighttpd.initd b/www-servers/lighttpd/files/lighttpd.initd
new file mode 100644
index 000000000000..de8ee5fa5424
--- /dev/null
+++ b/www-servers/lighttpd/files/lighttpd.initd
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.1 2004/08/08 17:28:06 stuart Exp $
+
+PID_FILE="/var/run/lighttpd.pid"
+LIGHTTPD_BIN="/usr/sbin/lighttpd"
+LIGHTTPD_CONF="/etc/conf.d/lighttpd.conf"
+
+depend() {
+ need net
+ use mysql logger
+ after sshd
+}
+
+start() {
+ ebegin "Starting lighttpd"
+ ${LIGHTTPD_BIN} -u lighttpd -f ${LIGHTTPD_CONF}
+ RET=$?
+ pidof lighttpd >${PID_FILE}
+ eend ${RET}
+}
+
+stop() {
+ ebegin "Stopping lighttpd"
+ kill `cat ${PID_FILE}`
+ RET=$?
+ eend ${RET}
+}