diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 17:38:43 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 17:38:43 +0000 |
commit | ac397899d106a378288a2db9b2199b4e1399a83f (patch) | |
tree | 6fdb886a233df7103bcbe1bad1f3f80c309d3b71 /net-www/mini_httpd/files | |
parent | Moved from net-www/mini_httpd to www-servers/mini_httpd. (diff) | |
download | historical-ac397899d106a378288a2db9b2199b4e1399a83f.tar.gz historical-ac397899d106a378288a2db9b2199b4e1399a83f.tar.bz2 historical-ac397899d106a378288a2db9b2199b4e1399a83f.zip |
Moving to www-servers/mini_httpd
Diffstat (limited to 'net-www/mini_httpd/files')
-rw-r--r-- | net-www/mini_httpd/files/digest-mini_httpd-1.17_beta1 | 1 | ||||
-rw-r--r-- | net-www/mini_httpd/files/digest-mini_httpd-1.19 | 1 | ||||
-rw-r--r-- | net-www/mini_httpd/files/mini_httpd.conf.sample | 47 | ||||
-rw-r--r-- | net-www/mini_httpd/files/mini_httpd.conf.sample-1.19 | 47 | ||||
-rw-r--r-- | net-www/mini_httpd/files/mini_httpd.confd | 26 | ||||
-rw-r--r-- | net-www/mini_httpd/files/mini_httpd.confd-1.19 | 28 | ||||
-rw-r--r-- | net-www/mini_httpd/files/mini_httpd.init | 33 |
7 files changed, 0 insertions, 183 deletions
diff --git a/net-www/mini_httpd/files/digest-mini_httpd-1.17_beta1 b/net-www/mini_httpd/files/digest-mini_httpd-1.17_beta1 deleted file mode 100644 index 39afe2eb18b6..000000000000 --- a/net-www/mini_httpd/files/digest-mini_httpd-1.17_beta1 +++ /dev/null @@ -1 +0,0 @@ -MD5 ec4374b4c91b6e787f8ba2fed615e60f mini_httpd-1.17beta1.tar.gz 40172 diff --git a/net-www/mini_httpd/files/digest-mini_httpd-1.19 b/net-www/mini_httpd/files/digest-mini_httpd-1.19 deleted file mode 100644 index 612bfc886982..000000000000 --- a/net-www/mini_httpd/files/digest-mini_httpd-1.19 +++ /dev/null @@ -1 +0,0 @@ -MD5 792a529dfe974355aad8ba6c80e54e7a mini_httpd-1.19.tar.gz 42142 diff --git a/net-www/mini_httpd/files/mini_httpd.conf.sample b/net-www/mini_httpd/files/mini_httpd.conf.sample deleted file mode 100644 index 092f7a546b48..000000000000 --- a/net-www/mini_httpd/files/mini_httpd.conf.sample +++ /dev/null @@ -1,47 +0,0 @@ -## /etc/mini_httpd.conf -## -## do not leave empty lines in here! -## format is: key=value -## -## run in debug-mode? -#debug -## -## what interface to bind to? -## (default is binding to any interface) -#host=www.example.org -port=8080 -user=nobody -## -## CGI: -## ? match a single char -## * matches any string excluding "/" -## ** matches any string including "/" -## separate multiple patterns with "|" -#cgipat=**.sh|**.cgi -## -## chroot: -chroot -#nochroot -## -logfile=/var/log/mini_httpd.log -pidfile=/var/run/mini_httpd.pid -## -charset=iso-8859-1 -## -## control the caching: (in secs) -#maxage 60 -## -## useless setting (just modifies the http-header) -## (see mini_httpd(8) and http://www.w3.org/P3P/ for more info) -#p3p -## -## virtual hosting: -#vhost -## -## cache-control: send this "max-age" in all HTTP-responses: -#max-age=0 -## -## ssl: -#nossl -#ssl -#certfile=/tmp/mini_httpd.pem diff --git a/net-www/mini_httpd/files/mini_httpd.conf.sample-1.19 b/net-www/mini_httpd/files/mini_httpd.conf.sample-1.19 deleted file mode 100644 index 092f7a546b48..000000000000 --- a/net-www/mini_httpd/files/mini_httpd.conf.sample-1.19 +++ /dev/null @@ -1,47 +0,0 @@ -## /etc/mini_httpd.conf -## -## do not leave empty lines in here! -## format is: key=value -## -## run in debug-mode? -#debug -## -## what interface to bind to? -## (default is binding to any interface) -#host=www.example.org -port=8080 -user=nobody -## -## CGI: -## ? match a single char -## * matches any string excluding "/" -## ** matches any string including "/" -## separate multiple patterns with "|" -#cgipat=**.sh|**.cgi -## -## chroot: -chroot -#nochroot -## -logfile=/var/log/mini_httpd.log -pidfile=/var/run/mini_httpd.pid -## -charset=iso-8859-1 -## -## control the caching: (in secs) -#maxage 60 -## -## useless setting (just modifies the http-header) -## (see mini_httpd(8) and http://www.w3.org/P3P/ for more info) -#p3p -## -## virtual hosting: -#vhost -## -## cache-control: send this "max-age" in all HTTP-responses: -#max-age=0 -## -## ssl: -#nossl -#ssl -#certfile=/tmp/mini_httpd.pem diff --git a/net-www/mini_httpd/files/mini_httpd.confd b/net-www/mini_httpd/files/mini_httpd.confd deleted file mode 100644 index 01e7c334c978..000000000000 --- a/net-www/mini_httpd/files/mini_httpd.confd +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/files/mini_httpd.confd,v 1.4 2004/07/15 00:28:45 agriffis Exp $ - -## Config file for /etc/init.d/mini_httpd - -## the startup-dir of mini_httpd is the docroot, so we specify it here -## and the init-script does a "cd" prior to startup: -#MINI_HTTPD_DOCROOT="/home/httpd/htdocs" - -## There are 2 ways to configure mini_httpd: -## 1) specify all params on the cmd-line -## 2) use a config-file (and start with "-C <conf-file>") -## Note: 1) and 2) can be mixed. -## -## We choose 1) here -- if you have a more complicated setup read -## mini_httpd(8) for details on 2). - -MINI_HTTPD_OPTS="-p 8080 -u nobody -r -i /var/run/mini_httpd.pid -l /var/log/mini_httpd.log" - -## to add cgi-support you should switch over to a config-file, a sample can -## be found in your DOCDESTTREE (/usr/share/doc/mini_httpd-xxxx) named -## mini_httpd.conf.sample.gz -## copy the sample to /etc/mini_httpd.conf and replace the MINI_HTTPD_OPTS-line -## above by: -##MINI_HTTPD_OPTS="-C /etc/mini_httpd.conf" diff --git a/net-www/mini_httpd/files/mini_httpd.confd-1.19 b/net-www/mini_httpd/files/mini_httpd.confd-1.19 deleted file mode 100644 index 277202172ac9..000000000000 --- a/net-www/mini_httpd/files/mini_httpd.confd-1.19 +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/files/mini_httpd.confd-1.19,v 1.3 2004/07/15 00:28:45 agriffis Exp $ - -## Config file for /etc/init.d/mini_httpd - -## the startup-dir of mini_httpd is the docroot, so we specify it here -## and the init-script does a "cd" prior to startup: -#MINI_HTTPD_DOCROOT="/var/www/localhost" - -## There are 2 ways to configure mini_httpd: -## 1) specify all params on the cmd-line -## 2) use a config-file (and start with "-C <conf-file>") -## Note: 1) and 2) can be mixed. -## -## We choose 1) here -- if you have a more complicated setup read -## mini_httpd(8) for details on 2). - -MINI_HTTPD_OPTS="-p 8080 -u nobody -r -i /var/run/mini_httpd.pid -l /var/log/mini_httpd.log" - -## to add cgi-support you should switch over to a config-file, a sample can -## be found in your DOCDESTTREE (/usr/share/doc/mini_httpd-xxxx) named -## mini_httpd.conf.sample.gz -## copy the sample to /etc/mini_httpd.conf and replace the MINI_HTTPD_OPTS-line -## above by: -##MINI_HTTPD_OPTS="-C /etc/mini_httpd.conf" -## poor-mans cgi-pattern (only use if you know what you are doing -- you have been warned) -#MINI_HTTPD_OPTS="$MINI_HTTPD_OPS -c **.cgi|**.sh" diff --git a/net-www/mini_httpd/files/mini_httpd.init b/net-www/mini_httpd/files/mini_httpd.init deleted file mode 100644 index 02d06d2f1da5..000000000000 --- a/net-www/mini_httpd/files/mini_httpd.init +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/files/mini_httpd.init,v 1.3 2004/07/15 00:28:45 agriffis Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting mini_httpd" - if [ ! -d "$MINI_HTTPD_DOCROOT" ]; then - eend 1 "MINI_HTTPD_DOCROOT not set correctly in /etc/conf.d/mini_httpd" - exit 1 - fi - cd $MINI_HTTPD_DOCROOT - if [ $? -ne 0 ]; then - eend $? "ERROR: cannot change to docroot \"$MINI_HTTPD_DOCROOT\"" - fi - start-stop-daemon --quiet --start --startas /usr/sbin/mini_httpd \ - --pidfile /var/run/mini_httpd.pid -- ${MINI_HTTPD_OPTS} - eend $? -} - -stop() { - local rc - - ebegin "Stopping mini_httpd" - start-stop-daemon --quiet --stop --pidfile /var/run/mini_httpd.pid - rc=$? - rm -f /var/run/mini_httpd.pid - eend $rc -} |