aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile13
-rw-r--r--www/nginx/distinfo4
2 files changed, 13 insertions, 4 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 5452a173f28..f821d7af627 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nginx
-PORTVERSION= 0.1.43
+PORTVERSION= 0.2.3
CATEGORIES= www
MASTER_SITES= http://sysoev.ru/nginx/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
@@ -44,10 +44,19 @@ STRIP= #do not strip if nginx with debug information
.endif
.if defined(WITH_OPENSSL_MODULE)
-USE_OPENSSL= yes
+NGINX_OPENSSL= yes
CONFIGURE_ARGS+=--with-http_ssl_module
.endif
+.if defined(WITH_IMAP_MODULE)
+NGINX_OPENSSL= yes
+CONFIGURE_ARGS+=--with-imap --with-imap_ssl_module
+.endif
+
+.if defined(NGINX_OPENSSL)
+USE_OPENSSL= yes
+.endif
+
.if defined(WITHOUT_HTTP_REWRITE_MODULE) || defined(WITHOUT_PCRE)
PKGNAMESUFFIX+= -nopcre
CONFIGURE_ARGS+=--without-http_rewrite_module \
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 4e585f903da..ab84bf8b543 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -1,2 +1,2 @@
-MD5 (nginx-0.1.43.tar.gz) = 12ca29e01cb08a7126994b984af15cc6
-SIZE (nginx-0.1.43.tar.gz) = 317701
+MD5 (nginx-0.2.3.tar.gz) = 11a7ca06c936a58fcc004fa742cacb7a
+SIZE (nginx-0.2.3.tar.gz) = 327350