[0002974] add support for zlib and bzip2 in lighttpd, use alphabetical order for...
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sat, 5 Jul 2008 08:20:34 +0000 (08:20 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sat, 5 Jul 2008 08:20:34 +0000 (08:20 -0000)
package/Config.in
package/lighttpd/Config.in
package/lighttpd/lighttpd.mk

index d4d86020a09f089b3853c6bb761eb55b80eb4a96..c953493fafb444bc470feec0b987800c5e23ce93 100644 (file)
@@ -173,6 +173,9 @@ source "package/libcgicc/Config.in"
 source "package/libeXosip2/Config.in"
 source "package/libosip2/Config.in"
 source "package/libpcap/Config.in"
+if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
+source "package/lighttpd/Config.in"
+endif
 source "package/links/Config.in"
 source "package/lrzsz/Config.in"
 source "package/mdnsresponder/Config.in"
@@ -213,7 +216,6 @@ source "package/stunnel/Config.in"
 source "package/tcpdump/Config.in"
 source "package/tftpd/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
-source "package/lighttpd/Config.in"
 source "package/thttpd/Config.in"
 source "package/tinyhttpd/Config.in"
 endif
index 7db9b2d3e5f154943e97bc2cf74b7b1c1b7b2cdf..7967022a313883edcf25f2175bbae84a7834a81b 100644 (file)
@@ -16,13 +16,29 @@ if BR2_PACKAGE_LIGHTTPD
 menu "lighttpd packages"
 
 config BR2_PACKAGE_LIGHTTPD_OPENSSL
-       bool "openssl"
+       bool "lighttpd openssl support"
        default y
        depends on BR2_PACKAGE_LIGHTTPD
        select BR2_PACKAGE_OPENSSL
        help
          Enable OpenSSL support for lighttpd.
 
+config BR2_PACKAGE_LIGHTTPD_ZLIB
+       bool "lighttpd zlib support"
+       default n
+       depends on BR2_PACKAGE_LIGHTTPD
+       select BR2_PACKAGE_ZLIB
+       help
+         Enable zlib support for lighttpd mod_compress.
+
+config BR2_PACKAGE_LIGHTTPD_BZIP2
+       bool "lighttpd bzip2 support"
+       default n
+       depends on BR2_PACKAGE_LIGHTTPD
+       select BR2_PACKAGE_BZIP2
+       help
+         Enable bzip2 support for lighttpd mod_compress.
+
 config BR2_PACKAGE_LIGHTTPD_PCRE
        bool "pcre"
        default n
index a41d9c98e759862f5cdf733746c38677d1c52135..131e87e720158479e120aee1ae82d50b83c00662 100644 (file)
@@ -30,6 +30,20 @@ else
 LIGHTTPD_CONF_OPT += --without-openssl
 endif
 
+ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_ZLIB)),y)
+LIGHTTPD_DEPENDENCIES += zlib
+LIGHTTPD_CONF_OPT += --with-zlib
+else
+LIGHTTPD_CONF_OPT += --without-zlib
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_BZIP2)),y)
+LIGHTTPD_DEPENDENCIES += bzip2
+LIGHTTPD_CONF_OPT += --with-bzip2
+else
+LIGHTTPD_CONF_OPT += --without-bzip2
+endif
+
 ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_PCRE)),y)
 LIGHTTPD_CONF_ENV += PCRE_LIB="-lpcre"
 LIGHTTPD_DEPENDENCIES += pcre