diff options
| author | Oleg A. Mamontov <oleg@mamontov.net> | 2023-08-30 21:00:06 +0000 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-09-10 16:13:00 +0000 |
| commit | ed1ed7c2e968cad24000b6b4f69455ae2dd51684 (patch) | |
| tree | e44fe8a0fe1497a0514321beaa233cb9d1b2d3f4 | |
| parent | 97683e71b1c2b32fe1ef1f9782e16eab3da4c3f3 (diff) | |
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
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/angie-module-eval/Makefile | 24 | ||||
| -rw-r--r-- | www/angie-module-eval/files/pkg-message.in | 15 | ||||
| -rw-r--r-- | www/angie-module-eval/pkg-descr | 3 | ||||
| -rw-r--r-- | www/angie-module-eval/pkg-plist | 3 |
5 files changed, 46 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index daf1f8c73a59..89db8d216a30 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/angie-module-eval/Makefile b/www/angie-module-eval/Makefile new file mode 100644 index 000000000000..94a108b14c46 --- /dev/null +++ b/www/angie-module-eval/Makefile @@ -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" diff --git a/www/angie-module-eval/files/pkg-message.in b/www/angie-module-eval/files/pkg-message.in new file mode 100644 index 000000000000..fa1024f090ad --- /dev/null +++ b/www/angie-module-eval/files/pkg-message.in @@ -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 +} +] diff --git a/www/angie-module-eval/pkg-descr b/www/angie-module-eval/pkg-descr new file mode 100644 index 000000000000..5f2a8100f136 --- /dev/null +++ b/www/angie-module-eval/pkg-descr @@ -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. diff --git a/www/angie-module-eval/pkg-plist b/www/angie-module-eval/pkg-plist new file mode 100644 index 000000000000..14a5692914ad --- /dev/null +++ b/www/angie-module-eval/pkg-plist @@ -0,0 +1,3 @@ +%%DOCSDIR%%/README.md +%%MODDIR%%/ngx_http_eval_module.so +%%DEBUG%%%%MODDIR%%/ngx_http_eval_module-debug.so |
