aboutsummaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2008-05-19 12:01:14 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2008-05-19 12:01:14 +0000
commit435e7d5782dabbde1d270efc0235496e7914d0d7 (patch)
treeb2af7e548215baf96ee7b8150d9bb9f8520f9f09 /www/nginx
parent0fdee74de1d7e636baee9687841ac663b7102cbd (diff)
Notes
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile10
-rw-r--r--www/nginx/distinfo6
-rw-r--r--www/nginx/files/patch-conf-nginx.conf9
3 files changed, 11 insertions, 14 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 1c1230cfe46f..2788657711ec 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nginx
-PORTVERSION= 0.5.36
+PORTVERSION= 0.6.31
CATEGORIES= www
MASTER_SITES= http://sysoev.ru/nginx/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
@@ -16,6 +16,7 @@ MAINTAINER= osa@FreeBSD.org
COMMENT= Robust and small WWW server
OPTIONS= DEBUG "Enable nginx debugging" off \
+ GOOGLE_PERFTOOLS "Enable google perftools module" off \
HTTP_MODULE "Enable HTTP module" on \
HTTP_ADDITION_MODULE "Enable http_addition module" off \
HTTP_DAV_MODULE "Enable http_webdav module" off \
@@ -64,6 +65,11 @@ CONFIGURE_ARGS+=--with-debug
STRIP= #do not strip if nginx with debug information
.endif
+.if defined(WITH_GOOGLE_PERFTOOLS)
+LIB_DEPENDS+= profiler.0:${PORTSDIR}/devel/google-perftools
+CONFIGURE_ARGS+=--with-google_perftools_module
+.endif
+
.if defined(WITH_HTTP_MODULE)
CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \
--http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \
@@ -109,7 +115,7 @@ PKGNAMESUFFIX+= -nopcre
CONFIGURE_ARGS+=--without-http_rewrite_module \
--without-pcre
.else
-LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
+LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
.endif
.if defined(WITH_WWW)
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 23d56e66a17f..cd83a93ba7a0 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -1,3 +1,3 @@
-MD5 (nginx-0.5.36.tar.gz) = 1b5b6fca369843ac74cf6123a50d4cb1
-SHA256 (nginx-0.5.36.tar.gz) = e14cce500eb341b67a25201d5f92e7b241ba449fd6dca7023d5459ec03db8ad2
-SIZE (nginx-0.5.36.tar.gz) = 489443
+MD5 (nginx-0.6.31.tar.gz) = 824bcc25bbd5b636f182237b69227bd2
+SHA256 (nginx-0.6.31.tar.gz) = e68908705dfc1fb166506ec441291c7bad3b6ddcddb760b166931bfdb5b582a7
+SIZE (nginx-0.6.31.tar.gz) = 520344
diff --git a/www/nginx/files/patch-conf-nginx.conf b/www/nginx/files/patch-conf-nginx.conf
index 049fa52cf1e7..7ff1d6634c1e 100644
--- a/www/nginx/files/patch-conf-nginx.conf
+++ b/www/nginx/files/patch-conf-nginx.conf
@@ -3,15 +3,6 @@ $FreeBSD$
--- conf/nginx.conf.orig Thu Jan 18 10:08:18 2007
+++ conf/nginx.conf Thu Jun 14 12:57:52 2007
-@@ -15,7 +15,7 @@
-
-
- http {
-- include conf/mime.types;
-+ include mime.types;
- default_type application/octet-stream;
-
- #log_format main '$remote_addr - $remote_user [$time_gmt] $status '
@@ -33,7 +33,7 @@
#gzip on;