@@ -2498,6 +2498,7 @@ menu "External nginx modules"
source "package/nginx-modsecurity/Config.in"
source "package/nginx-naxsi/Config.in"
source "package/nginx-upload/Config.in"
+ source "package/nginx-http-auth-digest/Config.in"
endmenu
endif
source "package/ngircd/Config.in"
new file mode 100644
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_NGINX_HTTP_AUTH_DIGEST_MODULE
+ bool "nginx-http-auth-digest-module"
+ default n
+ depends on BR2_PACKAGE_NGINX_HTTP
+ help
+ Nginx Digest Authentication module
+
+ The ngx_http_auth_digest module supplements Nginx's built-in
+ Basic Authentication module by providing support for RFC 2617
+ Digest Authentication. The module is currently functional but
+ has only been tested and reviewed by its author. And given
+ that this is security code, one set of eyes is almost
+ certainly insufficient to guarantee that it's 100% correct.
+ Until a few bug reports come in and some of the unknown
+ unknowns in the code are flushed out, consider this module
+ an alpha and treat it with the appropriate amount of
+ skepticism.
+
+ https://github.com/samizdatco/nginx-http-auth-digest
new file mode 100644
@@ -0,0 +1,13 @@
+################################################################################
+# nginx-http-auth-digest
+################################################################################
+
+NGINX_HTTP_AUTH_DIGEST_PKG_NAME = nginx-http-auth-digest
+NGINX_HTTP_AUTH_DIGEST_VERSION = 5a2cae4812d8a1ba5f83dfbcb8d043d05c8e6f97
+NGINX_HTTP_AUTH_DIGEST_SITE = https://github.com/samizdatco/nginx-http-auth-digest
+NGINX_HTTP_AUTH_DIGEST_SITE_METHOD = git
+
+NGINX_HTTP_AUTH_DIGEST_LICENSE = BSD-2-Clause
+NGINX_HTTP_AUTH_DIGEST_LICENSE_FILES = LICENSE
+
+$(eval $(generic-package))
@@ -267,6 +267,11 @@ NGINX_CONF_OPTS += \
endif # BR2_PACKAGE_NGINX_STREAM
# external modules
+ifeq ($(BR2_PACKAGE_NGINX_HTTP_AUTH_DIGEST_MODULE),y)
+NGINX_CONF_OPTS += --add-module=$(BUILD_DIR)/nginx-http-auth-digest-$(NGINX_HTTP_AUTH_DIGEST_VERSION)
+NGINX_DEPENDENCIES += nginx-http-auth-digest
+endif
+
ifeq ($(BR2_PACKAGE_NGINX_UPLOAD),y)
NGINX_CONF_OPTS += $(addprefix --add-module=,$(NGINX_UPLOAD_DIR))
NGINX_DEPENDENCIES += nginx-upload