Skip to contentSkip to conversation

buildroot: Add webdav support to lighttpd.

PATCH New Marek Belisko 2 participants 2 messages Mar 3, 2011 – Apr 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buildroot: Add webdav support to lighttpd.

---
 package/lighttpd/Config.in   |    8 ++++++++
 package/lighttpd/lighttpd.mk |    7 +++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
package/lighttpd/Config.in +8 -0
index b56d66b..49877e4 100644
@@ -42,5 +42,13 @@ config BR2_PACKAGE_LIGHTTPD_PCRE
 	help
 	  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
 endif
package/lighttpd/lighttpd.mk +7 -0
index 67cd272..0b35df8 100644
@@ -43,6 +43,13 @@ else
 LIGHTTPD_CONF_OPT += --without-pcre
 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
 	rm -f $(TARGET_DIR)/usr/sbin/lighttpd
 	rm -f $(TARGET_DIR)/usr/sbin/lighttpd-angel
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 buildroot: Add webdav support to lighttpd.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Marek" == Marek Belisko <[email protected]> writes:

Marek> Signed-off-by: Marek Belisko <[email protected]>

This needs pkgconfig support, otherwise it's fine - Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard