mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] lighttpd: make more modules configurable
Date: Thu, 31 Jul 2014 10:17:09 +0200	[thread overview]
Message-ID: <20140731081709.GC29377@pengutronix.de> (raw)
In-Reply-To: <1406743965-30235-1-git-send-email-u.kleine-koenig@pengutronix.de>

On Wed, Jul 30, 2014 at 08:12:45PM +0200, Uwe Kleine-König wrote:
> This comes handy if a package installs config sniplets to
> /etc/lighttpd/conf.d that require the respective modules.

So the options can be selected, right.

"mod_access mod_accesslog mod_auth" are the default in LIGHTTPD_MOD_EXTRA.
They need to be removed there and should default to 'y'.

Michael

> 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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-07-31  8:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 18:12 Uwe Kleine-König
2014-07-31  8:17 ` Michael Olbrich [this message]
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=20140731081709.GC29377@pengutronix.de \
    --to=m.olbrich@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