summaryrefslogtreecommitdiffstats
path: root/rules/lighttpd.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-07-04 15:13:02 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-07-04 15:13:02 +0000
commit7becc06f78eafddbc8a6f48a010772ea2ace3a3c (patch)
treec8de2974059a1a13da26ebdb0aa2c489aa421f59 /rules/lighttpd.in
parent46b76b1e707386e12ccc336c0047818da259c647 (diff)
downloadptxdist-7becc06f78eafddbc8a6f48a010772ea2ace3a3c.tar.gz
ptxdist-7becc06f78eafddbc8a6f48a010772ea2ace3a3c.tar.xz
* lighttpd.in, lighttpd.make:
added options for startscript, configfile, example page git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8594 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/lighttpd.in')
-rw-r--r--rules/lighttpd.in66
1 files changed, 64 insertions, 2 deletions
diff --git a/rules/lighttpd.in b/rules/lighttpd.in
index dd7843f1e..7a2d2d32f 100644
--- a/rules/lighttpd.in
+++ b/rules/lighttpd.in
@@ -1,5 +1,3 @@
-#
-
menuconfig LIGHTTPD
tristate
prompt "lighttpd "
@@ -113,4 +111,68 @@ config LIGHTTPD__LUA
help
lua engine for mod_cml
+
+choice
+ prompt "Kind of startup script"
+ default LIGHTTPD__ETC_INITD_GENERIC
+ depends on LIGHTTPD
+ help
+ The /etc/init.d/lighttpd script lets you control the lighttpd daemon.
+
+ config LIGHTTPD__ETC_INITD_NONE
+ bool
+ prompt "no init.d script"
+
+ config LIGHTTPD__ETC_INITD_GENERIC
+ bool
+ prompt "Use generic"
+ help
+ Installs a generic /etc/init.d/lighttpd startup
+ script. The file from
+ <ptxdist-install>/generic/etc/init.d/lighttpd
+ will be used.
+
+ config LIGHTTPD__ETC_INITD_USER
+ bool
+ prompt "User defined"
+ help
+ This uses a user defined lighttpd. PTXdist uses
+ file projectroot/etc/init.d/lighttpd in your
+ local project
+endchoice
+
+
+
+choice
+ prompt "Kind of httpd.conf"
+ default LIGHTTPD__CONFIG_DEFAULT
+
+ config LIGHTTPD__CONFIG_NONE
+ bool "no config"
+
+ config LIGHTTPD__CONFIG_DEFAULT
+ bool "Use generic"
+ help
+ Install generic lighttpd files.
+ See <ptxdist-install>/generic/etc/lighttpd/lighttpd.conf
+ and <ptxdist-install>/generic/etc/lighttpd/mod_fastcgi.conf
+
+ config LIGHTTPD__CONFIG_USER
+ bool "User defined"
+ help
+ This uses a user defined lighttpd.conf file.
+ PTXdist uses file projectroot/etc/lighttpd/lighttpd.conf in your
+ local project.
+endchoice
+
+config LIGHTTPD__GENERIC_SITE
+ bool
+ default y
+ prompt "Populate a generic website"
+ help
+ This install a generic website into /var/www/index.html
+ from <ptxdist-install>/generic/var/www/lighttpd.html
+ and some php demos.
+
+
endif