aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx/Makefile')
-rw-r--r--www/nginx/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 18d936946b9f..74e85f7e3a90 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= nginx
-PORTVERSION= 0.7.61
-PORTREVISION= 1
+PORTVERSION= 0.7.62
CATEGORIES= www
MASTER_SITES= http://sysoev.ru/nginx/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
@@ -47,6 +46,7 @@ OPTIONS= DEBUG "Enable nginx debugging" off \
HTTP_MOGILEFS_MODULE "3rd party mogilefs module" off \
HTTP_MP4_H264_MODULE "3rd party mp4/h264 module" off \
HTTP_NOTICE_MODULE "3rd party notice module" off \
+ HTTP_REDIS_MODULE "3rd party http_redis module" off \
HTTP_RESPONSE_MODULE "3rd party http_response module" off \
HTTP_UPLOAD_MODULE "3rd party upload module" off \
HTTP_UPLOAD_PROGRESS "3rd party upload_progress module" off \
@@ -194,6 +194,14 @@ CONFIGURE_ARGS+=--with-http_random_index_module
CONFIGURE_ARGS+=--with-http_realip_module
.endif
+.if defined(WITH_HTTP_REDIS_MODULE)
+NGINX_REDIS_MODULE_VERSION= 0.1.2
+MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:redis/}
+MASTER_SITE_SUBDIR+= osa/:redis
+DISTFILES+= ngx_http_redis-${NGINX_REDIS_MODULE_VERSION}.tar.gz:redis
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_MODULE_VERSION}
+.endif
+
.if defined(WITH_HTTP_RESPONSE_MODULE)
NGINX_RESPONSE_MODULE_VERSION= 0.3
MASTER_SITES+= http://catap.ru/downloads/nginx/:response