diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-01-15 19:32:53 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-01-24 19:03:05 +0100 |
commit | c37f05122341a74cda73df3282a887d911f3dc76 (patch) | |
tree | 330949608a277be2c04d8fa121897c530bc9b259 /rules/lighttpd.in | |
parent | 8db995348ca1b7b6faa0abdf934e6139f275e1b3 (diff) | |
download | ptxdist-c37f05122341a74cda73df3282a887d911f3dc76.tar.gz ptxdist-c37f05122341a74cda73df3282a887d911f3dc76.tar.xz |
lighttpd: rework options and configuration
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/lighttpd.in')
-rw-r--r-- | rules/lighttpd.in | 140 |
1 files changed, 100 insertions, 40 deletions
diff --git a/rules/lighttpd.in b/rules/lighttpd.in index d84fec79f..bda88be75 100644 --- a/rules/lighttpd.in +++ b/rules/lighttpd.in @@ -20,6 +20,7 @@ menuconfig LIGHTTPD select LIBMEMCACHE if LIGHTTPD_MEMCACHE select LUA if LIGHTTPD_LUA select LUA_INSTALL_LIBLUA if LIGHTTPD_LUA + select PHP5 if LIGHTTPD_MOD_FASTCGI_PHP && RUNTIME select BUSYBOX_START_STOP_DAEMON if LIGHTTPD_STARTSCRIPT select BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY if LIGHTTPD_STARTSCRIPT select BUSYBOX_FEATURE_START_STOP_DAEMON_LONG_OPTIONS if LIGHTTPD_STARTSCRIPT @@ -40,34 +41,31 @@ menuconfig LIGHTTPD if LIGHTTPD -config LIGHTTPD_ZLIB - bool - prompt "zlib support" - help - Enable zlib support for mod_compress. +menu "base settings " -config LIGHTTPD_BZ2LIB +config LIGHTTPD_ATTR bool - prompt "bz2lib support" + prompt "extended attribute support" help - Enable bzip2 support for mod_compress. + Enable extended attribute support. -config LIGHTTPD_MYSQL +config LIGHTTPD_FAM bool -# prompt "MySQL support" + prompt "fam" help + fam/gamin for reducing number of stat() calls. -config LIGHTTPD_LDAP +config LIGHTTPD_LUA bool -# prompt "ldap" + prompt "lua engine" help - Enable LDAP support. + lua engine for mod_cml and mod_magnet -config LIGHTTPD_ATTR +config LIGHTTPD_MEMCACHE bool - prompt "extended attribute support" + prompt "memcached storage" help - Enable extended attribute support. + memcached storage for mod_trigger_b4_dl and mod_cml config LIGHTTPD_OPENSSL bool @@ -75,13 +73,6 @@ config LIGHTTPD_OPENSSL help Include openssl support. -config LIGHTTPD_KERBEROS - bool - select LIGHTTPD_OPENSSL -# prompt "kerberos5 support" - help - Use Kerberos5 support with OpenSSL. - config LIGHTTPD_PCRE bool select LIBPCRE @@ -89,11 +80,79 @@ config LIGHTTPD_PCRE help Enable pcre support. -config LIGHTTPD_FAM +endmenu + +menu "modules " + +config LIGHTTPD_MOD_CML bool - prompt "fam" + select LIGHTTPD_LUA + prompt "mod_cml" help - fam/gamin for reducing number of stat() calls. + Cache Meta Language + +config LIGHTTPD_MOD_COMPRESS + bool + prompt "mod_compress" + help + Output compression support. + +if LIGHTTPD_COMPRESS + +config LIGHTTPD_ZLIB + bool + prompt "zlib support" + help + Enable zlib support for mod_compress. + +config LIGHTTPD_BZ2LIB + bool + prompt "bz2lib support" + help + Enable bzip2 support for mod_compress. +endif + +config LIGHTTPD_MOD_FASTCGI + bool + prompt "mod_fastcgi" + +if LIGHTTPD_MOD_FASTCGI + +config LIGHTTPD_MOD_FASTCGI_PHP + bool + prompt "setup php handling with fastcgi" + help + Enables the necessary packages and configuration files + to enable PHP support in lighttpd + +comment "PHP CGI SAPI must be enabled" + depends on LIGHTTPD_MOD_FASTCGI_PHP && !PHP5_SAPI_CGI + +endif + +config LIGHTTPD_MOD_MAGNET + bool + select LIGHTTPD_LUA + prompt "mod_magnet" + help + A module to control the request handling + +config LIGHTTPD_MOD_TRIGGER_B4_DL + bool + select LIGHTTPD_MEMCACHE + select LIGHTTPD_PCRE + prompt "mod_trigger_b4_dl" + help + Module for Anti Hotlinking + +config LIGHTTPD_MOD_WEBDAV + bool + prompt "mod_webdav" + help + The WebDAV module is a very minimalistic implementation of RFC 2518. + Minimalistic means that not all operations are implemented yet. + +if LIGHTTPD_MOD_WEBDAV config LIGHTTPD_WEBDAV_PROPS bool @@ -107,24 +166,24 @@ config LIGHTTPD_WEBDAV_LOCKS prompt "locks in mod_webdav" help locks in mod_webdav +endif -config LIGHTTPD_GDBM - bool -# prompt "gdbm storage for mod_trigger_b4_dl" +config LIGHTTPD_MOD_EXTRA + string + prompt "extra modules" + default "mod_access mod_accesslog mod_auth" help - gdbm storage for mod_trigger_b4_dl + Space sparated list of modules to add to lighttpd.conf -config LIGHTTPD_MEMCACHE - bool - prompt "memcached storage for mod_trigger_b4_dl" - help - memcached storage for mod_trigger_b4_dl +comment "-----------------------------" -config LIGHTTPD_LUA +config LIGHTTPD_INSTALL_SELECTED_MODULES bool - prompt "lua engine for mod_cml" - help - lua engine for mod_cml + prompt "only install selected modules" + +endmenu + +menu "startup " config LIGHTTPD_STARTSCRIPT bool @@ -137,6 +196,8 @@ config LIGHTTPD_SYSTEMD_UNIT depends on SYSTEMD prompt "install systemd unit files for lighttpd" +endmenu + config LIGHTTPD_GENERIC_SITE bool default y @@ -146,5 +207,4 @@ config LIGHTTPD_GENERIC_SITE from <ptxdist-install>/generic/var/www/lighttpd.html and some php demos. - endif |