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:
Oleg A. Mamontov 2023-08-31 00:00:06 +03:00 committed by Robert Clausecker
parent 97683e71b1
commit ed1ed7c2e9
5 changed files with 46 additions and 0 deletions

View file

@ -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

View 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"

View 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
}
]

View 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.

View file

@ -0,0 +1,3 @@
%%DOCSDIR%%/README.md
%%MODDIR%%/ngx_http_eval_module.so
%%DEBUG%%%%MODDIR%%/ngx_http_eval_module-debug.so