mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
buildroot: Add webdav support to lighttpd.
[Peter: needs host-pkg-config] Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
94ed034cf2
commit
99df35d9a5
@ -42,5 +42,13 @@ config BR2_PACKAGE_LIGHTTPD_PCRE
|
|||||||
help
|
help
|
||||||
Enable PCRE support. Needed to support mod_rewrite
|
Enable PCRE support. Needed to support mod_rewrite
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIGHTTPD_WEBDAV
|
||||||
|
bool "webdav"
|
||||||
|
depends on BR2_PACKAGE_LIGHTTPD
|
||||||
|
select BR2_PACKAGE_LIBXML2
|
||||||
|
select BR2_PACKAGE_SQLITE
|
||||||
|
help
|
||||||
|
Enable webdav support. Needed to support mod_webdav
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
endif
|
endif
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
LIGHTTPD_VERSION = 1.4.28
|
LIGHTTPD_VERSION = 1.4.28
|
||||||
LIGHTTPD_SITE = http://download.lighttpd.net/lighttpd/releases-1.4.x
|
LIGHTTPD_SITE = http://download.lighttpd.net/lighttpd/releases-1.4.x
|
||||||
|
LIGHTTPD_DEPENDENCIES = host-pkg-config
|
||||||
LIGHTTPD_CONF_OPT = \
|
LIGHTTPD_CONF_OPT = \
|
||||||
--libdir=/usr/lib/lighttpd \
|
--libdir=/usr/lib/lighttpd \
|
||||||
--libexecdir=/usr/lib \
|
--libexecdir=/usr/lib \
|
||||||
@ -43,6 +43,13 @@ else
|
|||||||
LIGHTTPD_CONF_OPT += --without-pcre
|
LIGHTTPD_CONF_OPT += --without-pcre
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIGHTTPD_WEBDAV),y)
|
||||||
|
LIGHTTPD_DEPENDENCIES += libxml2 sqlite
|
||||||
|
LIGHTTPD_CONF_OPT += --with-webdav-props --with-webdav-locks
|
||||||
|
else
|
||||||
|
LIGHTTPD_CONF_OPT += ---without-webdav-props --without-webdav-locks
|
||||||
|
endif
|
||||||
|
|
||||||
define LIGHTTPD_UNINSTALL_TARGET_CMDS
|
define LIGHTTPD_UNINSTALL_TARGET_CMDS
|
||||||
rm -f $(TARGET_DIR)/usr/sbin/lighttpd
|
rm -f $(TARGET_DIR)/usr/sbin/lighttpd
|
||||||
rm -f $(TARGET_DIR)/usr/sbin/lighttpd-angel
|
rm -f $(TARGET_DIR)/usr/sbin/lighttpd-angel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user