aboutsummaryrefslogtreecommitdiff
path: root/www/nginx/Makefile
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2010-02-27 19:56:07 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2010-02-27 19:56:07 +0000
commit8005625eaa1ea88220a50293e5116b38ba575115 (patch)
tree8309edd6280bf67e1872ee659f9c7cc067b9282b /www/nginx/Makefile
parent10ab11820ca9b8e5b5c964559b1a095dbe203c0f (diff)
downloadports-8005625eaa1ea88220a50293e5116b38ba575115.tar.gz
ports-8005625eaa1ea88220a50293e5116b38ba575115.zip
Notes
Diffstat (limited to 'www/nginx/Makefile')
-rw-r--r--www/nginx/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 094484da7ffd..91df39d7ad57 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -47,6 +47,7 @@ OPTIONS= DEBUG "Build with debug" off \
HTTP_ACCEPT_LANGUAGE "3rd party accept_language module" off \
HTTP_ACCESSKEY_MODULE "3rd party http_accesskey module" off \
HTTP_AUTH_PAM_MODULE "3rd party http_auth_pam module" off \
+ HTTP_AUTH_REQ_MODULE "3rd party http_auth_request module" off \
HTTP_EVAL_MODULE "3rd party eval module" off \
HTTP_FANCYINDEX_MODULE "3rd party http_fancyindex module" off \
HTTP_GUNZIP_FILTER "3rd party http_gunzip_filter module" off \
@@ -156,6 +157,13 @@ DISTFILES+= ngx_http_auth_pam_module-${NGINX_AUTH_PAM_MODULE_VERSION}.tar.gz:aut
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_MODULE_VERSION}
.endif
+.if defined(WITH_HTTP_AUTH_REQ_MODULE)
+NGINX_AUTH_REQ_MODULE_VERSION= 0.1
+MASTER_SITES+= http://mdounin.ru/files/:auth_request
+DISTFILES+= ngx_http_auth_request-${NGINX_AUTH_REQ_MODULE_VERSION}.tar.gz:auth_request
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_request-${NGINX_AUTH_REQ_MODULE_VERSION}
+.endif
+
.if defined(WITHOUT_HTTP_CACHE_MODULE)
CONFIGURE_ARGS+=--without-http-cache
.endif