www/angie-module-eval: Angie eval dynamic module
This module captures subrequest response bodies into variables. If you want similar (but more powerful) functionalities, see the www/angie-module-lua instead. PR: 273462
This commit is contained in:
parent
97683e71b1
commit
ed1ed7c2e9
5 changed files with 46 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
SUBDIR += angie-module-cache-purge
|
||||
SUBDIR += angie-module-echo
|
||||
SUBDIR += angie-module-enhanced-memcached
|
||||
SUBDIR += angie-module-eval
|
||||
SUBDIR += angie-module-geoip2
|
||||
SUBDIR += angie-module-image-filter
|
||||
SUBDIR += angie-module-jwt
|
||||
|
|
24
www/angie-module-eval/Makefile
Normal file
24
www/angie-module-eval/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
PORTNAME= angie-module-eval
|
||||
GH_TUPLE= openresty:nginx-eval-module:2016.06.10:module
|
||||
|
||||
COMMENT= Angie eval dynamic module
|
||||
|
||||
LICENSE_FILE= ${WRKSRC_module}/LICENCE
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../www/angie
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${MODDIR}
|
||||
|
||||
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_eval_module.so \
|
||||
${STAGEDIR}${MODDIR}
|
||||
|
||||
${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-install-DEBUG-on:
|
||||
${INSTALL} ${COPY} -m ${_SHAREMODE} \
|
||||
${WRKSRC_DEBUG}/objs/ngx_http_eval_module.so \
|
||||
${STAGEDIR}${MODDIR}/ngx_http_eval_module-debug.so
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
15
www/angie-module-eval/files/pkg-message.in
Normal file
15
www/angie-module-eval/files/pkg-message.in
Normal file
|
@ -0,0 +1,15 @@
|
|||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
|
||||
The eval dynamic module for Angie has been installed.
|
||||
To enable this module, add the following to %%PREFIX%%/etc/angie/angie.conf
|
||||
and reload angie:
|
||||
|
||||
load_module modules/ngx_http_eval_module.so;
|
||||
|
||||
Please refer to the module documentation for further details:
|
||||
https://github.com/openresty/nginx-eval-module
|
||||
EOM
|
||||
}
|
||||
]
|
3
www/angie-module-eval/pkg-descr
Normal file
3
www/angie-module-eval/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
This module captures subrequest response bodies into variables.
|
||||
If you want similar (but more powerful) functionalities,
|
||||
see the www/angie-module-lua instead.
|
3
www/angie-module-eval/pkg-plist
Normal file
3
www/angie-module-eval/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
%%DOCSDIR%%/README.md
|
||||
%%MODDIR%%/ngx_http_eval_module.so
|
||||
%%DEBUG%%%%MODDIR%%/ngx_http_eval_module-debug.so
|
Loading…
Reference in a new issue