nginx-upload: new package

A module for nginx web server for handling file uploads using
multipart/form-data encoding (RFC 1867).

Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - rename from nginx-upload-module to nginx-upload. Indeed, we don't
   want all nginx modules to be suffixed with "-module"
 - include the module Config.in file directly from package/Config.in,
   like we do for Python, Perl, Lua or TCL modules.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bimal Jacob
2016-07-14 22:10:17 -05:00
committed by Thomas Petazzoni
parent 51925b7dd6
commit e103967d6f
5 changed files with 34 additions and 0 deletions

View File

@@ -234,6 +234,12 @@ NGINX_CONF_OPTS += \
endif # BR2_PACKAGE_NGINX_STREAM
# external modules
ifeq ($(BR2_PACKAGE_NGINX_UPLOAD),y)
NGINX_CONF_OPTS += $(addprefix --add-module=,$(NGINX_UPLOAD_DIR))
NGINX_DEPENDENCIES += nginx-upload
endif
# Debug logging
NGINX_CONF_OPTS += $(if $(BR2_PACKAGE_NGINX_DEBUG),--with-debug)