summaryrefslogtreecommitdiff
path: root/www/angie-module-lua
diff options
context:
space:
mode:
Diffstat (limited to 'www/angie-module-lua')
-rw-r--r--www/angie-module-lua/Makefile13
-rw-r--r--www/angie-module-lua/files/patch-lua-config4
2 files changed, 10 insertions, 7 deletions
diff --git a/www/angie-module-lua/Makefile b/www/angie-module-lua/Makefile
index 4dd019336620..012f96b6ace1 100644
--- a/www/angie-module-lua/Makefile
+++ b/www/angie-module-lua/Makefile
@@ -1,9 +1,12 @@
PORTNAME= angie-module-lua
-GH_TUPLE= openresty:lua-nginx-module:v0.10.28:lua
+MODULE_VERSION= 0.10.29
+MODULE_PORTREVISION= 0
+GH_TUPLE= openresty:lua-nginx-module:v${MODULE_VERSION}:lua
GH_TUPLE+= openresty:stream-lua-nginx-module:v0.0.16:lua_stream
GH_TUPLE+= vision5:ngx_devel_kit:v0.3.4:ndk
COMMENT= Angie Lua dynamic module
+WWW= https://github.com/openresty/lua-nginx-module/
LICENSE_FILE= ${WRKSRC_lua}/README.markdown
@@ -16,16 +19,16 @@ CONFIGURE_ADD= --add-dynamic-module=${WRKSRC_lua} \
CONFIGURE_ENV= LUAJIT_INC=${LUAJIT_INCDIR} \
LUAJIT_LIB=${LOCALBASE}/lib
-RUN_DEPENDS= angie-module-ndk==${PKGVERSION}:www/angie-module-ndk \
- lua-resty-core>=0.1.29:www/lua-resty-core
+RUN_DEPENDS= angie-module-ndk>=0.3.4,1:www/angie-module-ndk \
+ lua-resty-core>=0.1.31:www/lua-resty-core
USES= luajit:luajit-openresty
MASTERDIR= ${.CURDIR}/../../www/angie
do-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${MKDIR} ${STAGEDIR}${MODDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR} \
+ ${STAGEDIR}${MODDIR}
.for i in ngx_http_lua_module ngx_stream_lua_module
${INSTALL_LIB} ${WRKSRC}/objs/${i}.so ${STAGEDIR}${MODDIR}
diff --git a/www/angie-module-lua/files/patch-lua-config b/www/angie-module-lua/files/patch-lua-config
index 31a80a49c73b..b4c3fa02f0f2 100644
--- a/www/angie-module-lua/files/patch-lua-config
+++ b/www/angie-module-lua/files/patch-lua-config
@@ -1,5 +1,5 @@
---- ../lua-nginx-module-0.10.28/config.orig
-+++ ../lua-nginx-module-0.10.28/config
+--- ../lua-nginx-module-0.10.29/config.orig
++++ ../lua-nginx-module-0.10.29/config
@@ -45,9 +45,9 @@
NGX_TEST_LD_OPT="$ngx_lua_opt_L $NGX_TEST_LD_OPT"