mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
lighttpd: add optional pam support
Let the option depend on linux-pam as pam has quite some dependencies and this is unlikely to be used if pam isn't explicitly enabled. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
ff1d005f80
commit
b9d75c717e
@ -26,6 +26,13 @@ config BR2_PACKAGE_LIGHTTPD_OPENSSL
|
|||||||
help
|
help
|
||||||
Enable OpenSSL support for lighttpd.
|
Enable OpenSSL support for lighttpd.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIGHTTPD_PAM
|
||||||
|
bool "pam authentication support"
|
||||||
|
depends on BR2_PACKAGE_LINUX_PAM
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Enable PAM authentication support for lighttpd.
|
||||||
|
|
||||||
config BR2_PACKAGE_LIGHTTPD_ZLIB
|
config BR2_PACKAGE_LIGHTTPD_ZLIB
|
||||||
bool "zlib support"
|
bool "zlib support"
|
||||||
select BR2_PACKAGE_ZLIB
|
select BR2_PACKAGE_ZLIB
|
||||||
|
@ -12,7 +12,6 @@ LIGHTTPD_LICENSE = BSD-3-Clause
|
|||||||
LIGHTTPD_LICENSE_FILES = COPYING
|
LIGHTTPD_LICENSE_FILES = COPYING
|
||||||
LIGHTTPD_DEPENDENCIES = host-pkgconf
|
LIGHTTPD_DEPENDENCIES = host-pkgconf
|
||||||
LIGHTTPD_CONF_OPTS = \
|
LIGHTTPD_CONF_OPTS = \
|
||||||
--without-pam \
|
|
||||||
--without-wolfssl \
|
--without-wolfssl \
|
||||||
--libdir=/usr/lib/lighttpd \
|
--libdir=/usr/lib/lighttpd \
|
||||||
--libexecdir=/usr/lib
|
--libexecdir=/usr/lib
|
||||||
@ -24,6 +23,13 @@ else
|
|||||||
LIGHTTPD_CONF_OPTS += --without-openssl
|
LIGHTTPD_CONF_OPTS += --without-openssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIGHTTPD_PAM),y)
|
||||||
|
LIGHTTPD_DEPENDENCIES += linux-pam
|
||||||
|
LIGHTTPD_CONF_OPTS += --with-pam
|
||||||
|
else
|
||||||
|
LIGHTTPD_CONF_OPTS += --without-pam
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIGHTTPD_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_LIGHTTPD_ZLIB),y)
|
||||||
LIGHTTPD_DEPENDENCIES += zlib
|
LIGHTTPD_DEPENDENCIES += zlib
|
||||||
LIGHTTPD_CONF_OPTS += --with-zlib
|
LIGHTTPD_CONF_OPTS += --with-zlib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user