Update to nginx-0.5.32

From Darrin Chandler (MAINTAINER)
"looks ok" kili@
This commit is contained in:
merdely 2007-10-08 19:23:43 +00:00
parent c69b819b2b
commit ee970a2278
3 changed files with 8 additions and 23 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2007/09/22 21:06:05 sthen Exp $
# $OpenBSD: Makefile,v 1.3 2007/10/08 19:23:43 merdely Exp $
COMMENT= robust and small HTTP server and IMAP/POP3 proxy server
DISTNAME= nginx-0.5.31
PKGNAME= ${DISTNAME}p0
DISTNAME= nginx-0.5.32
PKGNAME= ${DISTNAME}
CATEGORIES= www
HOMEPAGE= http://nginx.net/

View File

@ -1,5 +1,5 @@
MD5 (nginx-0.5.31.tar.gz) = d84ef8e624b8953faf9cee2b5da535c1
RMD160 (nginx-0.5.31.tar.gz) = 02153a490c2b58dccf02d120da6c3fd7b26c5a61
SHA1 (nginx-0.5.31.tar.gz) = c58076b3e1f3f4cb59afe5143fc0a893d3a4f0ba
SHA256 (nginx-0.5.31.tar.gz) = 34cae92545e10c6b84708d058a4981f31b688ea5309f24c394b7422ae5d71042
SIZE (nginx-0.5.31.tar.gz) = 475892
MD5 (nginx-0.5.32.tar.gz) = AIgmm4pZoUawupye4phTuw==
RMD160 (nginx-0.5.32.tar.gz) = ZxF7YuJr8P8oQwQoZ630OI+k0aE=
SHA1 (nginx-0.5.32.tar.gz) = PLS8CXZ15cGpDlm/UfSiS5habfo=
SHA256 (nginx-0.5.32.tar.gz) = jLlcxhuv7HsP4+kfBvLnruexLxKmr4IA1gA4+NXlLKw=
SIZE (nginx-0.5.32.tar.gz) = 479982

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_http_modules_ngx_http_autoindex_module_c,v 1.1 2007/09/22 21:06:06 sthen Exp $
--- src/http/modules/ngx_http_autoindex_module.c.orig Sat Sep 22 21:51:41 2007
+++ src/http/modules/ngx_http_autoindex_module.c Sat Sep 22 21:53:41 2007
@@ -236,6 +236,11 @@ ngx_http_autoindex_handler(ngx_http_request_t *r)
rc = ngx_http_send_header(r);
if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) {
+ if (ngx_close_dir(&dir) == NGX_ERROR) {
+ ngx_log_error(NGX_LOG_ALERT, r->connection->log, ngx_errno,
+ ngx_close_dir_n " \"%V\" failed", &path);
+ }
+
return rc;
}