summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorimil <imil>2014-03-14 11:30:57 +0000
committerimil <imil>2014-03-14 11:30:57 +0000
commit82fcd25de1a0407fafe5ca20a45bf7197d613dc2 (patch)
treea6d401cb7eb03162679b53c94e8ca6f793e07173 /www
parent64b81fde2647c2d87b528c6c4b3533dc72dbfa6a (diff)
downloadpkgsrc-82fcd25de1a0407fafe5ca20a45bf7197d613dc2.tar.gz
* Updated the naxsi module to latest 0.53-2
* Added Lua support: https://github.com/chaoslawful/lua-nginx-module
Diffstat (limited to 'www')
-rw-r--r--www/nginx/distinfo17
-rw-r--r--www/nginx/options.mk32
2 files changed, 40 insertions, 9 deletions
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 77156cdd17c..29574735cf5 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -1,7 +1,22 @@
-$NetBSD: distinfo,v 1.34 2014/03/09 13:34:02 rodent Exp $
+$NetBSD: distinfo,v 1.35 2014/03/14 11:30:57 imil Exp $
+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
+SHA1 (naxsi-0.53-2.tar.gz) = e29101b3193f434e4ec503671c41d0bacc64ff39
+RMD160 (naxsi-0.53-2.tar.gz) = 198ff9d2faf55ce3ed72332615f9e555e3afc155
+Size (naxsi-0.53-2.tar.gz) = 165690 bytes
SHA1 (nginx-1.4.6.tar.gz) = 1d790fd2b403b0b694a8dbbc28f7e34dbc3ca863
RMD160 (nginx-1.4.6.tar.gz) = ce34a7112d8ee4f62ac372dee1fab8238d92f5d8
Size (nginx-1.4.6.tar.gz) = 768828 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
+SHA1 (nginx_upload_module-2.2.0.tar.gz) = 93d6e83e613a0ce2ed057a434b344fa1b6609b47
+RMD160 (nginx_upload_module-2.2.0.tar.gz) = 5734af837be3fe8ec444a7e5e7f6707118594098
+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 (patch-aa) = adf433d1b56a88c6c2ed09c4bd54fdb1a336582f
SHA1 (patch-ab) = 6f20ef8ac9a042faf7e22770de7c16b351cb1191
diff --git a/www/nginx/options.mk b/www/nginx/options.mk
index 12c78ca1bb8..44f299f7fe6 100644
--- a/www/nginx/options.mk
+++ b/www/nginx/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.23 2014/01/31 03:09:19 rodent Exp $
+# $NetBSD: options.mk,v 1.24 2014/03/14 11:30:57 imil Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
-PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 mail-proxy memcache naxsi pcre \
- push realip ssl sub uwsgi image-filter upload debug \
- status nginx-autodetect-cflags spdy
+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
PKG_SUGGESTED_OPTIONS= inet6 pcre ssl
PLIST_VARS+= naxsi uwsgi
@@ -63,10 +63,10 @@ CONFIGURE_ARGS+= --without-http_memcached_module
.endif
.if !empty(PKG_OPTIONS:Mnaxsi) || make(makesum)
-NAXSI= naxsi-core-0.51-1
-NAXSI_DISTFILE= ${NAXSI}.tgz
-SITES.${NAXSI_DISTFILE}= http://naxsi.googlecode.com/files/
-DISTFILES+= ${NAXSI_DISTFILE}
+NAXSI= naxsi-0.53-2
+NAXSI_DISTFILE= ${NAXSI}.tar.gz
+SITES.${NAXSI_DISTFILE}= http://ftp.netbsd.org/pub/pkgsrc/distfiles/
+DISTFILES+= ${NAXSI_DISTFILE}
.endif
.if !empty(PKG_OPTIONS:Mrealip)
@@ -77,6 +77,22 @@ CONFIGURE_ARGS+= --with-http_realip_module
CONFIGURE_ARGS+= --with-ipv6
.endif
+.if !empty(PKG_OPTIONS:Mluajit)
+CONFIGURE_ARGS+= --add-module=../${NDK}
+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}
+
+DEPENDS+= LuaJIT2>=2.0.3:../../lang/LuaJIT2
+.endif
+
.if !empty(PKG_OPTIONS:Muwsgi)
EGFILES+= uwsgi_params
PLIST.uwsgi= yes