summaryrefslogtreecommitdiffstats
path: root/rules/thttpd.in
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2006-11-02 15:07:39 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2006-11-02 15:07:39 +0000
commit51de6017692c238588a5c9343f0fe7b2a8037e2e (patch)
treeaec7af65fa91e21511dba7b4d2751ea5d02dbf07 /rules/thttpd.in
parente0a7ee556609b0e76d5fe4b06e53ba21d13798b3 (diff)
downloadptxdist-51de6017692c238588a5c9343f0fe7b2a8037e2e.tar.gz
ptxdist-51de6017692c238588a5c9343f0fe7b2a8037e2e.tar.xz
* to be diskussed:
- collects relevant information into one menu - conflicts currently with rootfs.in until discussed! - in rootfs.in only the link to the startscript should be configurable - should be also done with udev - should shrinks rootfs.in and its huge menu git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6268 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/thttpd.in')
-rw-r--r--rules/thttpd.in59
1 files changed, 51 insertions, 8 deletions
diff --git a/rules/thttpd.in b/rules/thttpd.in
index 4283ebdde..bd2e7f2a3 100644
--- a/rules/thttpd.in
+++ b/rules/thttpd.in
@@ -1,13 +1,56 @@
-config THTTPD
+menuconfig THTTPD
bool
prompt "thttpd "
help
- thttpd (thin httpd) is a small, fast secure webserver.
-
- It features CGI support, URL-traffic-based throttling
- and basic authentication. thttpd has a very small memory
- footprint as it only forks itself in order to execute
- CGI scripts. It is designed to be as fast as fully
- featured web-servers and it performs extremely well
+ thttpd (thin httpd) is a small, fast secure webserver.
+
+ It features CGI support, URL-traffic-based throttling
+ and basic authentication. thttpd has a very small memory
+ footprint as it only forks itself in order to execute
+ CGI scripts. It is designed to be as fast as fully
+ featured web-servers and it performs extremely well
under high load.
+ comment "thttpd runtime options ---"
+ depends on THTTPD
+
+ config ROOTFS_ETC_INITD_THTTPD
+ depends on THTTPD
+ bool
+ default y
+ prompt "Install startup script "
+ help
+ The /etc/init.d/thttpd script lets you control the udevd daemon.
+
+ choice
+ prompt "Kind of startup script"
+ depends on ROOTFS_ETC_INITD_THTTPD
+ default THTTPD_ETC_INITD_GENERIC
+
+ config THTTPD_ETC_INITD_GENERIC
+ bool
+ prompt "Use generic thttpd script"
+ help
+ Installs a generic /etc/init.d/thttpd startup
+ script. The file from
+ <ptxdist-install>/generic/etc/init.d/thttpd
+ will be used.
+
+ config THTTPD_ETC_INITD_USER
+ bool
+ prompt "User defined"
+ help
+ This uses a user defined thttpd. PTXdist uses
+ file projectroot/etc/init.d/thttpd in your
+ local project
+
+ endchoice
+
+ config THTTPD_GENERIC_SITE
+ depends on THTTPD
+ bool
+ default y
+ prompt "Populate a generic website"
+ help
+ This install a generic website into /var/www/index.html
+