mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: Re: [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly
Date: Mon, 28 Jan 2013 14:14:14 +0100	[thread overview]
Message-ID: <2202569.7q0ZvEp0Lx@ws-stein> (raw)
In-Reply-To: <20130125094725.GA11534@pengutronix.de>

Hello Michael,

On Friday 25 January 2013 10:47:25, Michael Olbrich wrote:
> On Wed, Jan 23, 2013 at 01:28:26PM +0100, Alexander Stein wrote:
> > On Wednesday 23 January 2013 12:26:24, Michael Olbrich wrote:
> > > What's the usecase for this? This are a lot of options and hard to
> > > maintain. And the plugins are so small, that I don't think it's worth it to
> > > save the space.
> > 
> > That's exactly the use case. On that particular board we don't have much
> > flash memory available, so even reducing about 1,4 MiB is essential in that
> > case.
> > You can at least get a list of the modules when the package is installed using this shell command:
> > > for mod in platform/packages/lighttpd-1.4.31/usr/lib/lighttpd/*.so; do MOD=$(basename $mod); echo ${MOD/.so/}; done
> > This could be a starting point to create e.g. a lighttpd_modules.in by a script which includes this options.
> 
> I've pushed my lighttpd rework that I've been working on for some time. You
> can now explicitly select some modules (those that require extra
> dependencies etc.). For the rest there is a string to add them manually.
> The list will be added for loading to the config file, and optionally used
> to only install these modules.
> Does this work for you?

Yep, that's fine enough too. I wasn't even ware that mod_indexfile, mod_dirlisting and mod_staticfile are loaded anyway.
Thanks.

Alexander


-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2013-01-28 13:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23 10:15 [ptxdist] [PATCH 1/2] lighttpd: Bump to version 1.4.31 Alexander Stein
2013-01-23 10:15 ` [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly Alexander Stein
2013-01-23 11:26   ` Michael Olbrich
2013-01-23 12:28     ` Alexander Stein
2013-01-25  9:47       ` Michael Olbrich
2013-01-28 13:14         ` Alexander Stein [this message]

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=2202569.7q0ZvEp0Lx@ws-stein \
    --to=alexander.stein@systec-electronic.com \
    --cc=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