svn commit: trunk/buildroot/package: tinyhttpd
Author: sjhill
Date: 2007-07-16 17:23:31 -0700 (Mon, 16 Jul 2007) New Revision: 19120
Log:
Add new 'tinyhttpd' package and move all other httpd servers to be disabled if the BusyBox server is being used.
Added:
trunk/buildroot/package/tinyhttpd/ trunk/buildroot/package/tinyhttpd/Config.in trunk/buildroot/package/tinyhttpd/S85tinyhttpd trunk/buildroot/package/tinyhttpd/tinyhttpd.mk trunk/buildroot/package/tinyhttpd/tinyhttpd.patch
Changeset:
Added: trunk/buildroot/package/tinyhttpd/Config.in
===================================================================
buildroot/package/tinyhttpd/Config.in +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_TINYHTTPD + bool "tinyhttpd" + default n + help + A relatively simple webserver written as a school project. It is + exceedingly simple, threaded and handles basic CGI scripts. + + http://sourceforge.net/projects/tinyhttpd/
Added: trunk/buildroot/package/tinyhttpd/S85tinyhttpd
===================================================================
buildroot/package/tinyhttpd/S85tinyhttpd +33 -0
@@ -0,0 +1,33 @@ +#! /bin/sh + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +NAME=tinyhttpd + +test -x /usr/sbin/$NAME || exit 0 +mkdir -p /var/www + +case "$1" in + start) + echo -n "Starting $NAME: " + $NAME > /dev/null & + echo "done" + ;; + stop) + echo -n "Stopping $NAME: " + killall -9 $NAME + echo "done" + ;; + restart) + echo -n "Restarting $NAME: " + killall -9 $NAME + sleep 1 + $NAME > /dev/null & + echo "done" + ;; + *) + echo "Usage: /etc/init.d/S85tinyhttpd {start|stop|restart}" >&2 + exit 1 + ;; +esac + +exit 0
Property changes on: trunk/buildroot/package/tinyhttpd/S85tinyhttpd
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/buildroot/package/tinyhttpd/tinyhttpd.mk
===================================================================
buildroot/package/tinyhttpd/tinyhttpd.mk +56 -0
56 lines not on this page · raw message
Added: trunk/buildroot/package/tinyhttpd/tinyhttpd.patch
===================================================================
buildroot/package/tinyhttpd/tinyhttpd.patch +80 -0
80 lines not on this page · raw message