nginx-0.8.33: - fix issues with Keep-Alive in various clients - fix issue with internal redirects between proxy/fastcgi locations - fix a bug with discarding request bodies Add optional uwsgi backend.diff -r1.7 -r1.8 pkgsrc/www/nginx/Makefile
(joerg)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2010/01/23 16:32:11 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2010/02/08 14:25:44 joerg Exp $ | |
2 | 2 | |||
3 | DISTNAME= nginx-0.8.32 | 3 | DISTNAME= nginx-0.8.33 | |
4 | DISTFILES= ${DEFAULT_DISTFILES} | |||
4 | CATEGORIES= www | 5 | CATEGORIES= www | |
5 | MASTER_SITES= http://sysoev.ru/nginx/ | 6 | MASTER_SITES= http://sysoev.ru/nginx/ | |
6 | 7 | |||
7 | MAINTAINER= joerg@NetBSD.org | 8 | MAINTAINER= joerg@NetBSD.org | |
8 | HOMEPAGE= http://nginx.net/ | 9 | HOMEPAGE= http://nginx.net/ | |
9 | COMMENT= Lightweight HTTP server and mail proxy server | 10 | COMMENT= Lightweight HTTP server and mail proxy server | |
10 | LICENSE= 2-clause-bsd | 11 | LICENSE= 2-clause-bsd | |
11 | 12 | |||
12 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
13 | 14 | |||
14 | .include "../../mk/bsd.prefs.mk" | 15 | .include "../../mk/bsd.prefs.mk" | |
15 | 16 | |||
16 | NGINX_USER?= nginx | 17 | NGINX_USER?= nginx |
@@ -1,6 +1,9 @@ | @@ -1,6 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2010/01/23 16:32:11 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.5 2010/02/08 14:25:44 joerg Exp $ | |
2 | 2 | |||
3 | SHA1 (nginx-0.8.32.tar.gz) = 03c8177ec4943a9f7c33dbd20b1ef5d8dd5a0f9b | 3 | SHA1 (nginx-0.8.33.tar.gz) = bf3e3ab90609a62e8896f49895c3f4b4fa308270 | |
4 | RMD160 (nginx-0.8.32.tar.gz) = 4abacc587bf5fb400933d48bbbd7e92283de8683 | 4 | RMD160 (nginx-0.8.33.tar.gz) = 3ab3ea6d07fcac74465dbf40af824fccfd7f5fdd | |
5 | Size (nginx-0.8.32.tar.gz) = 619865 bytes | 5 | Size (nginx-0.8.33.tar.gz) = 620448 bytes | |
6 | SHA1 (uwsgi-0.9.3.tar.gz) = da8bb329e6deb9eae095889be95c81b50e533a3e | |||
7 | RMD160 (uwsgi-0.9.3.tar.gz) = 5b5e1aca59f3d4655b31d84a04e8ffe496bbe301 | |||
8 | Size (uwsgi-0.9.3.tar.gz) = 52986 bytes | |||
6 | SHA1 (patch-aa) = 1ef1a800f0d7dffe182b8a74f115105ded205f8e | 9 | SHA1 (patch-aa) = 1ef1a800f0d7dffe182b8a74f115105ded205f8e |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: options.mk,v 1.3 2010/01/23 23:24:39 joerg Exp $ | 1 | # $NetBSD: options.mk,v 1.4 2010/02/08 14:25:44 joerg Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.nginx | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.nginx | |
4 | PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache \ | 4 | PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache \ | |
5 | realip inet6 | 5 | realip inet6 uwsgi | |
6 | PKG_SUGGESTED_OPTIONS= ssl pcre | 6 | PKG_SUGGESTED_OPTIONS= ssl pcre | |
7 | 7 | |||
8 | .include "../../mk/bsd.options.mk" | 8 | .include "../../mk/bsd.options.mk" | |
9 | 9 | |||
10 | .if !empty(PKG_OPTIONS:Mssl) | 10 | .if !empty(PKG_OPTIONS:Mssl) | |
11 | .include "../../security/openssl/buildlink3.mk" | 11 | .include "../../security/openssl/buildlink3.mk" | |
12 | CONFIGURE_ARGS+= --with-mail_ssl_module | 12 | CONFIGURE_ARGS+= --with-mail_ssl_module | |
13 | CONFIGURE_ARGS+= --with-http_ssl_module | 13 | CONFIGURE_ARGS+= --with-http_ssl_module | |
14 | .endif | 14 | .endif | |
15 | 15 | |||
16 | .if !empty(PKG_OPTIONS:Mpcre) | 16 | .if !empty(PKG_OPTIONS:Mpcre) | |
17 | .include "../../devel/pcre/buildlink3.mk" | 17 | .include "../../devel/pcre/buildlink3.mk" | |
18 | .else | 18 | .else | |
@@ -43,13 +43,20 @@ CONFIGURE_ARGS+= --with-mail | @@ -43,13 +43,20 @@ CONFIGURE_ARGS+= --with-mail | |||
43 | .if empty(PKG_OPTIONS:Mmemcache) | 43 | .if empty(PKG_OPTIONS:Mmemcache) | |
44 | CONFIGURE_ARGS+= --without-http_memcached_module | 44 | CONFIGURE_ARGS+= --without-http_memcached_module | |
45 | .endif | 45 | .endif | |
46 | 46 | |||
47 | .if !empty(PKG_OPTIONS:Mrealip) | 47 | .if !empty(PKG_OPTIONS:Mrealip) | |
48 | CONFIGURE_ARGS+= --with-http_realip_module | 48 | CONFIGURE_ARGS+= --with-http_realip_module | |
49 | .endif | 49 | .endif | |
50 | 50 | |||
51 | .if !empty(PKG_OPTIONS:Minet6) | 51 | .if !empty(PKG_OPTIONS:Minet6) | |
52 | CONFIGURE_ARGS+= --with-ipv6 | 52 | CONFIGURE_ARGS+= --with-ipv6 | |
53 | .else | 53 | .else | |
54 | CONFIGURE_ARGS+= --without-ipv6 | 54 | CONFIGURE_ARGS+= --without-ipv6 | |
55 | .endif | 55 | .endif | |
56 | ||||
57 | .if !empty(PKG_OPTIONS:Muwsgi) | |||
58 | UWSGI= uwsgi-0.9.3 | |||
59 | DISTFILES+= ${UWSGI}.tar.gz | |||
60 | SITES.${UWSGI}.tar.gz= http://projects.unbit.it/downloads/ | |||
61 | CONFIGURE_ARGS+= --add-module=../${UWSGI}/nginx | |||
62 | .endif |