aboutsummaryrefslogtreecommitdiff
path: root/www/nginx-devel
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2012-01-11 15:33:30 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2012-01-11 15:33:30 +0000
commit7792e648ea50cebf5968ca1733b58188c4595a99 (patch)
tree9bf9b8570014fa219c55aaa8f69d1d5d76aa5bd5 /www/nginx-devel
parent165894bc19a87baacc2184ff11976684e20b4197 (diff)
downloadports-7792e648ea50cebf5968ca1733b58188c4595a99.tar.gz
ports-7792e648ea50cebf5968ca1733b58188c4595a99.zip
Notes
Diffstat (limited to 'www/nginx-devel')
-rw-r--r--www/nginx-devel/Makefile10
-rw-r--r--www/nginx-devel/distinfo4
-rw-r--r--www/nginx-devel/files/extra-patch-chaoslawful-lua-nginx-module::config4
3 files changed, 10 insertions, 8 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 24b5997c2d27..63f9dc736092 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -442,10 +442,12 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_MODULE_
.endif
.if defined(WITH_LUA_MODULE)
+LIB_DEPENDS= luajit-5.1.2:${PORTSDIR}/devel/luajit
+CONFIGURE_ENV+= "LUAJIT_INC=${LOCALBASE}/include/luajit-2.0"
+CONFIGURE_ENV+= "LUAJIT_LIB=${LOCALBASE}/lib"
USE_NGINX_DEVEL_KIT= yes
-USE_LUA= 5.1+
-NGINX_LUA_MODULE_VERSION= 0.3.0
-GIT_LUA_MODULE_VERSION= 0-gdd0d4d0
+NGINX_LUA_MODULE_VERSION= 0.4.0
+GIT_LUA_MODULE_VERSION= 0-g7bdd850
FETCH_ARGS= -pRr
MASTER_SITES+= https://github.com/chaoslawful/lua-nginx-module/tarball/v${NGINX_LUA_MODULE_VERSION}/:lua
DISTFILES+= chaoslawful-lua-nginx-module-v${NGINX_LUA_MODULE_VERSION}-${GIT_LUA_MODULE_VERSION}.tar.gz:lua
@@ -684,7 +686,7 @@ post-patch:
.endif
.if defined(WITH_LUA_MODULE)
@${REINPLACE_CMD} \
- 's!%%PREFIX%%!${PREFIX}!' \
+ 's!%%PREFIX%%!${PREFIX}!g' \
${WRKDIR}/chaoslawful-lua-nginx-module-${GIT_LUA_MODULE_VERSION:S/^0-g//}/config
.endif
.if defined(WITH_PASSENGER_MODULE)
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index bd262bb07d1f..30d563bba9bb 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -52,8 +52,8 @@ SHA256 (mdirolf-nginx-gridfs-v0.8-0-gb5f8113.tar.gz) = f55617873c9b123d610d59e4d
SIZE (mdirolf-nginx-gridfs-v0.8-0-gb5f8113.tar.gz) = 18882
SHA256 (mongodb-mongo-c-driver-v0.3.1-0-g9b4b232.tar.gz) = bfcdd60c6b53bd499e2bf22fefc96848de37e7d57dfaf7303bb00376dcb812f0
SIZE (mongodb-mongo-c-driver-v0.3.1-0-g9b4b232.tar.gz) = 53033
-SHA256 (chaoslawful-lua-nginx-module-v0.3.0-0-gdd0d4d0.tar.gz) = bc79060f156f8c486bbb26613c50f8b41cb163ee9b1ebef17a615ffd62e908e1
-SIZE (chaoslawful-lua-nginx-module-v0.3.0-0-gdd0d4d0.tar.gz) = 167903
+SHA256 (chaoslawful-lua-nginx-module-v0.4.0-0-g7bdd850.tar.gz) = 75e698ea25ba5fad8fcea638a791b7f2c62e628cf7fe0e1a62e529fe5a670a01
+SIZE (chaoslawful-lua-nginx-module-v0.4.0-0-g7bdd850.tar.gz) = 229214
SHA256 (agentzh-memc-nginx-module-v0.12-0-g4f1952c.tar.gz) = e0f604e20312bbd30ac88b2d83faa54f4668e6f6227762d2fc14e1d37df0b1de
SIZE (agentzh-memc-nginx-module-v0.12-0-g4f1952c.tar.gz) = 36414
SHA256 (naxsi-0.42.tar.gz) = 94a08f6cb08d2a5b199cb4ad17caaa7509c959abaf50f254e465302a61439333
diff --git a/www/nginx-devel/files/extra-patch-chaoslawful-lua-nginx-module::config b/www/nginx-devel/files/extra-patch-chaoslawful-lua-nginx-module::config
index 30cbc336e6ce..3dec4136c4df 100644
--- a/www/nginx-devel/files/extra-patch-chaoslawful-lua-nginx-module::config
+++ b/www/nginx-devel/files/extra-patch-chaoslawful-lua-nginx-module::config
@@ -1,5 +1,5 @@
---- ../chaoslawful-lua-nginx-module-dd0d4d0/config.orig 2011-07-12 11:24:16.000000000 +0400
-+++ ../chaoslawful-lua-nginx-module-dd0d4d0/config 2011-07-12 11:26:45.000000000 +0400
+--- ../chaoslawful-lua-nginx-module-7bdd850/config.orig 2011-07-12 11:24:16.000000000 +0400
++++ ../chaoslawful-lua-nginx-module-7bdd850/config 2011-07-12 11:26:45.000000000 +0400
@@ -104,12 +104,12 @@
if [ $ngx_found = no ]; then