summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authoralnsn <alnsn@pkgsrc.org>2017-07-09 09:20:31 +0000
committeralnsn <alnsn@pkgsrc.org>2017-07-09 09:20:31 +0000
commit516a9783a5d065f91eced233d1f982f7571065a4 (patch)
tree01a9827d2b2ca9a7c73cc6795621405a10eda595 /www/nginx
parent37f5876c3782b046ef49f4d45c7bff10a9d73efb (diff)
downloadpkgsrc-516a9783a5d065f91eced233d1f982f7571065a4.tar.gz
Add auth-request option (--with-http_auth_request_module).
Approved by joerg@.
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/options.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/nginx/options.mk b/www/nginx/options.mk
index d61791d8ecb..97e36b6cdec 100644
--- a/www/nginx/options.mk
+++ b/www/nginx/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.39 2017/05/02 12:28:31 fhajny Exp $
+# $NetBSD: options.mk,v 1.40 2017/07/09 09:20:31 alnsn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 luajit mail-proxy memcache naxsi \
pcre push realip ssl sub uwsgi image-filter \
debug status nginx-autodetect-cflags echo \
set-misc headers-more array-var encrypted-session \
- form-input perl gzip http2
+ form-input perl gzip http2 auth-request
PKG_OPTIONS_LEGACY_OPTS+= v2:http2
PKG_SUGGESTED_OPTIONS= inet6 pcre ssl
@@ -217,3 +217,7 @@ PLIST.perl= yes
.if !empty(PKG_OPTIONS:Mgzip)
CONFIGURE_ARGS+= --with-http_gzip_static_module
.endif
+
+.if !empty(PKG_OPTIONS:Mauth-request)
+CONFIGURE_ARGS+= --with-http_auth_request_module
+.endif