source "package/nfacct/Config.in"
source "package/nftables/Config.in"
source "package/nginx/Config.in"
+if BR2_PACKAGE_NGINX
+menu "External nginx modules"
+ source "package/nginx-upload/Config.in"
+endmenu
+endif
source "package/ngircd/Config.in"
source "package/ngrep/Config.in"
source "package/nload/Config.in"
--- /dev/null
+config BR2_PACKAGE_NGINX_UPLOAD
+ bool "nginx-upload"
+ select BR2_PACKAGE_OPENSSL
+ help
+ A module for nginx web server for handling file uploads
+ using multipart/form-data encoding (RFC 1867).
+
+ https://github.com/vkholodkov/nginx-upload-module
--- /dev/null
+#Locally Computed:
+sha256 8cd1d9d968ffba807de2e546ea9cad5e1ae294ec60b4927b2d60a98bdb4a1144 nginx-upload-aba1e3f34c754551f4f49e572bc86863d535609d.tar.gz
--- /dev/null
+################################################################################
+#
+# nginx-upload
+#
+################################################################################
+
+NGINX_UPLOAD_VERSION = aba1e3f34c754551f4f49e572bc86863d535609d
+NGINX_UPLOAD_SITE = $(call github,vkholodkov,nginx-upload-module,$(NGINX_UPLOAD_VERSION))
+NGINX_UPLOAD_LICENSE = BSD-3c
+NGINX_UPLOAD_LICENSE_FILES = LICENCE
+NGINX_UPLOAD_DEPENDENCIES = openssl
+
+$(eval $(generic-package))
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)