summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2013-02-18 20:32:09 +0000
committerimil <imil@pkgsrc.org>2013-02-18 20:32:09 +0000
commit14f8d27b504e7d94587369f3b2302d1482b4fe92 (patch)
tree5857820ba9cf7c6830155dd132fb329b26b09105 /www/nginx
parentc636f1c9990932c7b1e259df30935b386471e3da (diff)
downloadpkgsrc-14f8d27b504e7d94587369f3b2302d1482b4fe92.tar.gz
Changes with nginx 1.2.7
*) Change: now if the "include" directive with mask is used on Unix systems, included files are sorted in alphabetical order. *) Change: the "add_header" directive adds headers to 201 responses. *) Feature: the "geo" directive now supports IPv6 addresses in CIDR notation. *) Feature: the "flush" and "gzip" parameters of the "access_log" directive. *) Feature: variables support in the "auth_basic" directive. *) Feature: the $pipe, $request_length, $time_iso8601, and $time_local variables can now be used not only in the "log_format" directive. Thanks to Kiril Kalchev. *) Feature: IPv6 support in the ngx_http_geoip_module. Thanks to Gregor Kali¨nik. *) Bugfix: nginx could not be built with the ngx_http_perl_module in some cases. *) Bugfix: a segmentation fault might occur in a worker process if the ngx_http_xslt_module was used. *) Bugfix: nginx could not be built on MacOSX in some cases. Thanks to Piotr Sikora. *) Bugfix: the "limit_rate" directive with high rates might result in truncated responses on 32-bit platforms. Thanks to Alexey Antropov. *) Bugfix: a segmentation fault might occur in a worker process if the "if" directive was used. Thanks to Piotr Sikora. *) Bugfix: a "100 Continue" response was issued with "413 Request Entity Too Large" responses. *) Bugfix: the "image_filter", "image_filter_jpeg_quality" and "image_filter_sharpen" directives might be inherited incorrectly. Thanks to Ian Babrou. *) Bugfix: "crypt_r() failed" errors might appear if the "auth_basic" directive was used on Linux. *) Bugfix: in backup servers handling. Thanks to Thomas Chen. *) Bugfix: proxied HEAD requests might return incorrect response if the "gzip" directive was used. *) Bugfix: a segmentation fault occurred on start or during reconfiguration if the "keepalive" directive was specified more than once in a single upstream block. *) Bugfix: in the "proxy_method" directive. *) Bugfix: a segmentation fault might occur in a worker process if resolver was used with the poll method. *) Bugfix: nginx might hog CPU during SSL handshake with a backend if the select, poll, or /dev/poll methods were used. *) Bugfix: the "[crit] SSL_write() failed (SSL:)" error. *) Bugfix: in the "fastcgi_keep_conn" directive. + updated MESSAGES in order to show a working logrotate.
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/MESSAGE6
-rw-r--r--www/nginx/Makefile7
-rw-r--r--www/nginx/distinfo8
3 files changed, 11 insertions, 10 deletions
diff --git a/www/nginx/MESSAGE b/www/nginx/MESSAGE
index 44bb31cb468..ca53ad0eb2f 100644
--- a/www/nginx/MESSAGE
+++ b/www/nginx/MESSAGE
@@ -1,9 +1,9 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1 2010/01/23 16:33:23 joerg Exp $
+$NetBSD: MESSAGE,v 1.2 2013/02/18 20:32:09 imil Exp $
Consider adding something like following lines to /etc/newsyslog.conf:
-${NGINX_LOGDIR}/access.log 640 7 * * BZ ${NGINX_PIDDIR}/nginx.pid SIGUSR1
-${NGINX_LOGDIR}/error.log 640 7 * * BZ ${NGINX_PIDDIR}/nginx.pid SIGUSR1
+${NGINX_LOGDIR}/access.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 Z ${NGINX_PIDDIR}/nginx.pid SIGUSR1
+${NGINX_LOGDIR}/error.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 Z ${NGINX_PIDDIR}/nginx.pid SIGUSR1
===========================================================================
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 0fa07437030..1da6df1b707 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2013/02/16 11:24:55 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2013/02/18 20:32:09 imil Exp $
-DISTNAME= nginx-1.2.6
-PKGREVISION= 2
+DISTNAME= nginx-1.2.7
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
DISTFILES= ${DEFAULT_DISTFILES}
@@ -85,6 +84,8 @@ SUBST_SED.paths+= -e 's,%%NGINX_GROUP%%,${NGINX_GROUP},g'
MESSAGE_SUBST+= NGINX_LOGDIR=${NGINX_LOGDIR}
MESSAGE_SUBST+= NGINX_PIDDIR=${NGINX_PIDDIR}
+MESSAGE_SUBST+= NGINX_USER=${NGINX_USER}
+MESSAGE_SUBST+= NGINX_GROUP=${NGINX_GROUP}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${DESTDIR}${PREFIX}/sbin/nginx
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 5d54e435214..f1157726d66 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.24 2013/02/03 19:47:43 imil Exp $
+$NetBSD: distinfo,v 1.25 2013/02/18 20:32:09 imil Exp $
SHA1 (naxsi-core-0.49.tgz) = d36294647302bb56cb134c32156c8aadf4418d68
RMD160 (naxsi-core-0.49.tgz) = 85e6ca2ff8bad2e5aba8caa5b882ac430f6c719f
Size (naxsi-core-0.49.tgz) = 49852 bytes
-SHA1 (nginx-1.2.6.tar.gz) = 432059b668e3f018eab61f99c7cc727db88464e8
-RMD160 (nginx-1.2.6.tar.gz) = e255e0ed4805669de0973a48db67296ff6db7c3d
-Size (nginx-1.2.6.tar.gz) = 726025 bytes
+SHA1 (nginx-1.2.7.tar.gz) = 65309abde9d683ece737da7a354c8fae24e15ecb
+RMD160 (nginx-1.2.7.tar.gz) = d0903a6b170dbd33337d4bf939211c32060b1a66
+Size (nginx-1.2.7.tar.gz) = 730332 bytes
SHA1 (nginx_http_push_module-0.692.tar.gz) = 72103084cad8f4d3d9a49a6b04cf780e4541605d
RMD160 (nginx_http_push_module-0.692.tar.gz) = 9d2be16074cf28115af0f1d8f3646937cda649ad
Size (nginx_http_push_module-0.692.tar.gz) = 29119 bytes