From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] lighttpd: make more modules configurable
Date: Wed, 30 Jul 2014 20:12:45 +0200 [thread overview]
Message-ID: <1406743965-30235-1-git-send-email-u.kleine-koenig@pengutronix.de> (raw)
This comes handy if a package installs config sniplets to
/etc/lighttpd/conf.d that require the respective modules.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
rules/lighttpd.in | 30 ++++++++++++++++++++++++++++++
rules/lighttpd.make | 5 +++++
2 files changed, 35 insertions(+)
diff --git a/rules/lighttpd.in b/rules/lighttpd.in
index 5e132f286ddb..7242532fafca 100644
--- a/rules/lighttpd.in
+++ b/rules/lighttpd.in
@@ -83,6 +83,30 @@ endmenu
menu "modules "
+config LIGHTTPD_MOD_ACCESS
+ bool
+ prompt "mod_access"
+ help
+ Deny access to some files.
+
+config LIGHTTPD_MOD_ACCESSLOG
+ bool
+ prompt "mod_accesslog"
+ help
+ flexible logging of requests served
+
+config LIGHTTPD_MOD_ALIAS
+ bool
+ prompt "mod_alias"
+ help
+ Specify a special document-root for a given url-subset.
+
+config LIGHTTPD_MOD_AUTH
+ bool
+ prompt "mod_auth"
+ help
+ User authentication
+
config LIGHTTPD_MOD_CML
bool
select LIGHTTPD_LUA
@@ -136,6 +160,12 @@ config LIGHTTPD_MOD_MAGNET
help
A module to control the request handling
+config LIGHTTPD_MOD_REWRITE
+ bool
+ prompt "mod_rewrite"
+ help
+ Module for URL rewriting
+
config LIGHTTPD_MOD_TRIGGER_B4_DL
bool
select LIGHTTPD_MEMCACHE
diff --git a/rules/lighttpd.make b/rules/lighttpd.make
index 2a1f19200877..60dc494d1120 100644
--- a/rules/lighttpd.make
+++ b/rules/lighttpd.make
@@ -63,10 +63,15 @@ LIGHTTPD_AUTOCONF := \
# ----------------------------------------------------------------------------
LIGHTTPD_MODULES-y :=
+LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_ACCESS) += mod_access
+LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_ACCESSLOG) += mod_accesslog
+LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_ALIAS) += mod_alias
+LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_AUTH) += mod_auth
LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_CML) += mod_cml
LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_COMPRESS) += mod_compress
LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_FASTCGI) += mod_fastcgi
LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_MAGNET) += mod_magnet
+LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_REWRITE) += mod_rewrite
LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_TRIGGER_B4_DL) += mod_trigger_b4_dl
LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_WEBDAV) += mod_webdav
LIGHTTPD_MODULES-y += $(call remove_quotes,$(PTXCONF_LIGHTTPD_MOD_EXTRA))
--
2.0.1
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2014-07-30 18:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 18:12 Uwe Kleine-König [this message]
2014-07-31 8:17 ` Michael Olbrich
2014-07-31 8:30 ` [ptxdist] [PATCH v2] " Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1406743965-30235-1-git-send-email-u.kleine-koenig@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox