[pkg-lighttpd] Bug#489854: lighttpd: enable non-default instances after the Debian scheme

Toni Mueller support at oeko.net
Tue Jul 8 08:44:54 UTC 2008


Package: lighttpd
Version: 1.4.19-1~bpo40+1
Severity: wishlist
Tags: patch


Hi,

Debian's standard lighttpd configuration uses a script to enumerate
to-be included configuration snippets. This script is limited to look
into the system default location, and thus unusable for other instances
of lighttpd one might want to have. The attached patch fixes this.

Kind regards,
--Toni++


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-amd64
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)

Versions of packages lighttpd depends on:
ii  libattr1               2.4.32-1          Extended attribute shared library
ii  libbz2-1.0             1.0.3-6           high-quality block-sorting file co
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libfam0                2.7.0-12          Client library to control the FAM 
ii  libldap2               2.1.30-13.3       OpenLDAP libraries
ii  libpcre3               6.7+7.4-4         Perl 5 Compatible Regular Expressi
ii  libssl0.9.8            0.9.8c-4etch3     SSL shared libraries
ii  libterm-readline-perl- 1.0302-1          Perl implementation of Readline li
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  mime-support           3.39-1            MIME files 'mime.types' & 'mailcap
ii  zlib1g                 1:1.2.3-13        compression library - runtime

lighttpd recommends no packages.

-- no debconf information
-------------- next part --------------
--- include-conf-enabled.pl.orig	2008-03-20 00:48:17.000000000 +0100
+++ include-conf-enabled.pl	2008-07-08 10:40:55.000000000 +0200
@@ -3,7 +3,7 @@
 use strict;
 use File::Glob ':glob';
 
-my $confdir = "/etc/lighttpd/";
+my $confdir = shift || "/etc/lighttpd/";
 my $enabled = "conf-enabled/*.conf";
 
 chdir($confdir);


More information about the pkg-lighttpd-maintainers mailing list