Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] buildroot: Add webdav support to lighttpd.
@ 2011-03-03 13:53 Marek Belisko
  2011-04-01 21:03 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Belisko @ 2011-03-03 13:53 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 package/lighttpd/Config.in   |    8 ++++++++
 package/lighttpd/lighttpd.mk |    7 +++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in
index b56d66b..49877e4 100644
--- a/package/lighttpd/Config.in
+++ b/package/lighttpd/Config.in
@@ -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
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index 67cd272..0b35df8 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-01 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 13:53 [Buildroot] [PATCH] buildroot: Add webdav support to lighttpd Marek Belisko
2011-04-01 21:03 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox