diff options
author | imil <imil@pkgsrc.org> | 2014-03-20 22:19:35 +0000 |
---|---|---|
committer | imil <imil@pkgsrc.org> | 2014-03-20 22:19:35 +0000 |
commit | 6976318fbc9e258aa6e199a409c7c38be330b85b (patch) | |
tree | 5562e13d73003470babba2ee4b901d28f9fb5e03 /www/nginx | |
parent | 302273b3217e19c8330724a49c334575364fc10e (diff) | |
download | pkgsrc-6976318fbc9e258aa6e199a409c7c38be330b85b.tar.gz |
Added ngx_set_misc http://wiki.nginx.org/HttpSetMiscModule and ngx_headers_more
http://wiki.nginx.org/HttpHeadersMoreModule
Diffstat (limited to 'www/nginx')
-rw-r--r-- | www/nginx/Makefile | 4 | ||||
-rw-r--r-- | www/nginx/distinfo | 8 | ||||
-rw-r--r-- | www/nginx/options.mk | 44 |
3 files changed, 46 insertions, 10 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile index a4af8e5b1dc..89716096cc0 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.50 2014/03/19 18:01:18 imil Exp $ +# $NetBSD: Makefile,v 1.51 2014/03/20 22:19:35 imil Exp $ DISTNAME= nginx-1.4.7 -PKGREVISION= 1 +PKGREVISION= 2 MAINTAINER= joerg@NetBSD.org .include "../../www/nginx/Makefile.common" diff --git a/www/nginx/distinfo b/www/nginx/distinfo index 148f447f91f..eaf11bc95a1 100644 --- a/www/nginx/distinfo +++ b/www/nginx/distinfo @@ -1,8 +1,11 @@ -$NetBSD: distinfo,v 1.37 2014/03/19 18:01:18 imil Exp $ +$NetBSD: distinfo,v 1.38 2014/03/20 22:19:35 imil Exp $ SHA1 (echo-nginx-module-0.51.tar.gz) = 127d011f146a7e611f328cd4f2f29cdde1227f07 RMD160 (echo-nginx-module-0.51.tar.gz) = 79bb11c34735381a5a90176eb4d07dec8b469ab4 Size (echo-nginx-module-0.51.tar.gz) = 63460 bytes +SHA1 (headers-more-nginx-module-0.25.tar.gz) = 514bc3df30b24eb0a06533f1ebaa579b898990f5 +RMD160 (headers-more-nginx-module-0.25.tar.gz) = 8270edae05b2cf24f1d46fb1b217d4943bf56372 +Size (headers-more-nginx-module-0.25.tar.gz) = 27973 bytes SHA1 (lua-nginx-module-0.9.5.tar.gz) = c9c752461f407ccae40870d4cabfbf2bd8c81bac RMD160 (lua-nginx-module-0.9.5.tar.gz) = 180331a69680278bac26f0a9ccd0de52fd88a7ea Size (lua-nginx-module-0.9.5.tar.gz) = 476124 bytes @@ -21,5 +24,8 @@ Size (nginx_upload_module-2.2.0.tar.gz) = 25796 bytes SHA1 (ngx_devel_kit-0.2.19.tar.gz) = 888635e80a8a0e6242b8e9b684ff60ffa70845a2 RMD160 (ngx_devel_kit-0.2.19.tar.gz) = 64d3737bc4cc948c1363cce80d70e5260878811e Size (ngx_devel_kit-0.2.19.tar.gz) = 65029 bytes +SHA1 (set-misc-nginx-module-0.24.tar.gz) = da404a7dac5fa4a0a86f42b4ec7648b607f4cd66 +RMD160 (set-misc-nginx-module-0.24.tar.gz) = 07d0bb8f2a0840534a82a2d18394163342393cef +Size (set-misc-nginx-module-0.24.tar.gz) = 40397 bytes SHA1 (patch-aa) = adf433d1b56a88c6c2ed09c4bd54fdb1a336582f SHA1 (patch-ab) = 6f20ef8ac9a042faf7e22770de7c16b351cb1191 diff --git a/www/nginx/options.mk b/www/nginx/options.mk index 9c5b7a3907e..6ac01999bc6 100644 --- a/www/nginx/options.mk +++ b/www/nginx/options.mk @@ -1,9 +1,10 @@ -# $NetBSD: options.mk,v 1.25 2014/03/19 18:01:18 imil Exp $ +# $NetBSD: options.mk,v 1.26 2014/03/20 22:19:35 imil Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.nginx PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 luajit mail-proxy memcache naxsi \ pcre push realip ssl sub uwsgi image-filter upload \ - debug status nginx-autodetect-cflags spdy echo + debug status nginx-autodetect-cflags spdy echo \ + set-misc headers-more PKG_SUGGESTED_OPTIONS= inet6 pcre ssl PLIST_VARS+= naxsi uwsgi @@ -77,18 +78,20 @@ CONFIGURE_ARGS+= --with-http_realip_module CONFIGURE_ARGS+= --with-ipv6 .endif -.if !empty(PKG_OPTIONS:Mluajit) +# NDK must be added once and before 3rd party modules needing it +.if !empty(PKG_OPTIONS:Mluajit) || !empty(PKG_OPTIONS:Mset-misc) CONFIGURE_ARGS+= --add-module=../${NDK} +NEED_NDK= yes +.endif + +.if !empty(PKG_OPTIONS:Mluajit) CONFIGURE_ARGS+= --add-module=../${LUA} .endif .if !empty(PKG_OPTIONS:Mluajit) || make(makesum) -NDK= ngx_devel_kit-0.2.19 -NDK_DISTFILE= ${NDK}.tar.gz -SITES.${NDK_DISTFILE}= http://ftp.NetBSD.org/pub/pkgsrc/distfiles/ LUA= lua-nginx-module-0.9.5 LUA_DISTFILE= ${LUA}.tar.gz SITES.${LUA_DISTFILE}= http://ftp.NetBSD.org/pub/pkgsrc/distfiles/ -DISTFILES+= ${NDK_DISTFILE} ${LUA_DISTFILE} +DISTFILES+= ${LUA_DISTFILE} DEPENDS+= LuaJIT2>=2.0.3:../../lang/LuaJIT2 .endif @@ -103,6 +106,33 @@ SITES.${ECHOMOD_DISTFILE}= http://ftp.NetBSD.org/pub/pkgsrc/distfiles/ DISTFILES+= ${ECHOMOD_DISTFILE} .endif +.if !empty(PKG_OPTIONS:Mset-misc) +CONFIGURE_ARGS+= --add-module=../${SETMISC} +.endif +.if !empty(PKG_OPTIONS:Mset-misc) || make(makesum) +SETMISC= set-misc-nginx-module-0.24 +SETMISC_DISTFILE= ${SETMISC}.tar.gz +SITES.${SETMISC_DISTFILE}= http://ftp.NetBSD.org/pub/pkgsrc/distfiles/ +DISTFILES+= ${SETMISC_DISTFILE} +.endif + +.if defined(NEED_NDK) || make(makesum) +NDK= ngx_devel_kit-0.2.19 +NDK_DISTFILE= ${NDK}.tar.gz +SITES.${NDK_DISTFILE}= http://ftp.NetBSD.org/pub/pkgsrc/distfiles/ +DISTFILES+= ${NDK_DISTFILE} +.endif + +.if !empty(PKG_OPTIONS:Mheaders-more) +CONFIGURE_ARGS+= --add-module=../${HEADMORE} +.endif +.if !empty(PKG_OPTIONS:Mheaders-more) || make(makesum) +HEADMORE= headers-more-nginx-module-0.25 +HEADMORE_DISTFILE= ${HEADMORE}.tar.gz +SITES.${HEADMORE_DISTFILE}= http://ftp.NetBSD.org/pub/pkgsrc/distfiles/ +DISTFILES+= ${HEADMORE_DISTFILE} +.endif + .if !empty(PKG_OPTIONS:Muwsgi) EGFILES+= uwsgi_params PLIST.uwsgi= yes |