summaryrefslogtreecommitdiffstats
path: root/package/nginx
diff options
context:
space:
mode:
authorJohan Oudinet <johan.oudinet@gmail.com>2016-11-29 17:47:51 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-04 23:33:40 +0100
commite58ae36520f0109bbc171e0cc3872d2b0d1be610 (patch)
treeffed3cd94636ef6aa91321f2d67a3c54d3b0b278 /package/nginx
parent1120fdc379440b23063b0d083b1d3592e6a086a3 (diff)
downloadbuildroot-e58ae36520f0109bbc171e0cc3872d2b0d1be610.tar.gz
buildroot-e58ae36520f0109bbc171e0cc3872d2b0d1be610.zip
nginx-dav-ext: new package
Nginx built-in support for webdav is missing support for two commands: PROPFIND and OPTIONS. This commit adds a new package that provides an external nginx module with improved webdav support. Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> [Thomas: - Remove the BR2_PACKAGE_NGINX_HTTP_DAV_EXT_MODULE sub-option of the nginx package. The BR2_PACKAGE_NGINX_DAV_EXT option is sufficient. - Move the nginx.mk code together with another external module being enabled, nginx-upload. - Add LICENSE and LICENSE_FILES variables.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nginx')
-rw-r--r--package/nginx/nginx.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk
index 656362788f..79cc4ed3e3 100644
--- a/package/nginx/nginx.mk
+++ b/package/nginx/nginx.mk
@@ -245,6 +245,11 @@ NGINX_CONF_OPTS += $(addprefix --add-module=,$(NGINX_UPLOAD_DIR))
NGINX_DEPENDENCIES += nginx-upload
endif
+ifeq ($(BR2_PACKAGE_NGINX_DAV_EXT),y)
+NGINX_CONF_OPTS += --add-module=$(NGINX_DAV_EXT_DIR)
+NGINX_DEPENDENCIES += nginx-dav-ext
+endif
+
# Debug logging
NGINX_CONF_OPTS += $(if $(BR2_PACKAGE_NGINX_DEBUG),--with-debug)
OpenPOWER on IntegriCloud