aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2009-07-20 17:04:55 +0800
committerosa <osa@FreeBSD.org>2009-07-20 17:04:55 +0800
commita4d440f4f53ec01ed64e73fb8f0d16b1174b269e (patch)
tree939c8b5db4590c4396e47f3611046e09d605bb3e
parenteb0ee83b52ec3795605abbb9809c22dc44df3846 (diff)
downloadfreebsd-ports-gnome-a4d440f4f53ec01ed64e73fb8f0d16b1174b269e.tar.gz
freebsd-ports-gnome-a4d440f4f53ec01ed64e73fb8f0d16b1174b269e.tar.zst
freebsd-ports-gnome-a4d440f4f53ec01ed64e73fb8f0d16b1174b269e.zip
Update from 0.8.5 to 0.8.6.
Add two new variables NGINX_ACCESSLOG and NGINX_ERRORLOG to allow log paths customization, i.e. % make NGINX_ACCESSLOG=/dev/null NOTE. If you want nginx to log errors into stderr it's better to use % make NGINX_ERRORLOG=stderr instead of NGINX_ERRORLOG=/dev/stderr to avoid duplicate error messages during startup. <ChangeLog> *) Feature: the ngx_http_geoip_module. *) Bugfix: XSLT filter may fail with message "not well formed XML document" for valid XML document. Thanks to Kuramoto Eiji. *) Bugfix: now in MacOSX, Cygwin, and nginx/Windows locations given by a regular expression are always tested in case insensitive mode; *) Bugfix: now nginx/Windows ignores trailing dots in URI. Thanks to Hugo Leisink. *) Bugfix: name of file specified in --conf-path was not honored during installation; the bug had appeared in 0.6.6. Thanks to Maxim Dounin. </ChangeLog>
-rw-r--r--www/nginx-devel/Makefile9
-rw-r--r--www/nginx-devel/distinfo6
2 files changed, 9 insertions, 6 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 718f7ea70b9b..bf3161885b12 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nginx
-PORTVERSION= 0.8.5
+PORTVERSION= 0.8.6
CATEGORIES= www
MASTER_SITES= http://sysoev.ru/nginx/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
@@ -73,6 +73,9 @@ NGINX_RUNDIR?= ${NGINX_VARDIR}/run
NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx
HTTP_PORT?= 80
+NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/nginx-access.log
+NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log
+
CONFLICTS?= nginx-0.7.*
USE_RC_SUBR= nginx.sh
SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} WWWOWN=${WWWOWN}
@@ -84,7 +87,7 @@ CONFIGURE_ARGS+=--prefix=${ETCDIR} \
--conf-path=${ETCDIR}/nginx.conf \
--sbin-path=${PREFIX}/sbin/nginx \
--pid-path=${NGINX_RUNDIR}/nginx.pid \
- --error-log-path=${NGINX_LOGDIR}/nginx-error.log \
+ --error-log-path=${NGINX_ERRORLOG} \
--user=${WWWOWN} --group=${WWWGRP}
.if defined(WITHOUT_HTTP_MODULE) && defined(WITHOUT_MAIL_MODULE)
@@ -112,7 +115,7 @@ CONFIGURE_ARGS+=--with-google_perftools_module
CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \
--http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \
--http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \
- --http-log-path=${NGINX_LOGDIR}/nginx-access.log
+ --http-log-path=${NGINX_ACCESSLOG}
.if defined(WITH_HTTP_ACCESSKEY_MODULE)
NGINX_ACCESSKEY_MODULE_VERSION= 2.0.3
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index 2918faf107a5..5df74f7863f0 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -1,6 +1,6 @@
-MD5 (nginx-0.8.5.tar.gz) = 5822c25719ffa595d312c525c88b4323
-SHA256 (nginx-0.8.5.tar.gz) = 2e7d3ce614f82a6252d042191bdb8ef0da2e3a5837db8073a89ebacf36b3114e
-SIZE (nginx-0.8.5.tar.gz) = 595557
+MD5 (nginx-0.8.6.tar.gz) = 15aa21e1a23217a568077763660d1736
+SHA256 (nginx-0.8.6.tar.gz) = 075e72a34bba75a20de640feae734edd579de94e1aa9b935c3010b11282cd5ba
+SIZE (nginx-0.8.6.tar.gz) = 596716
MD5 (nginx-accesskey-2.0.3.tar.gz) = 9b5304346d5139b1841f5baa01ab0cbe
SHA256 (nginx-accesskey-2.0.3.tar.gz) = d9e94321e78a02de16c57f3e048fd31059fd8116ed03d6de7180f435c52502b1
SIZE (nginx-accesskey-2.0.3.tar.gz) = 2632