git: 76e796faaf17 - main - www/angie-module-redis2: Angie redis2 dynamic module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Aug 2023 13:04:41 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=76e796faaf175ec23e24a98ba1649a1732fa2194 commit 76e796faaf175ec23e24a98ba1649a1732fa2194 Author: Oleg A. Mamontov <oleg@mamontov.net> AuthorDate: 2023-08-07 18:43:07 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-08-09 13:01:17 +0000 www/angie-module-redis2: Angie redis2 dynamic module Module makes Angie talk to a Redis 2.x server in a non-blocking way. PR: 272999 --- www/Makefile | 1 + www/angie-module-redis2/Makefile | 24 ++++++++++++++++++++++++ www/angie-module-redis2/files/pkg-message.in | 15 +++++++++++++++ www/angie-module-redis2/pkg-descr | 3 +++ www/angie-module-redis2/pkg-plist | 3 +++ 5 files changed, 46 insertions(+) diff --git a/www/Makefile b/www/Makefile index c7e017733ffd..40ca1c0c0e8f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -36,6 +36,7 @@ SUBDIR += angie-module-keyval SUBDIR += angie-module-njs SUBDIR += angie-module-perl + SUBDIR += angie-module-redis2 SUBDIR += anyremote2html SUBDIR += apache-mode.el SUBDIR += apache24 diff --git a/www/angie-module-redis2/Makefile b/www/angie-module-redis2/Makefile new file mode 100644 index 000000000000..2ab1a5856835 --- /dev/null +++ b/www/angie-module-redis2/Makefile @@ -0,0 +1,24 @@ +PORTNAME= angie-module-redis2 +GH_TUPLE= openresty:redis2-nginx-module:v0.15:module + +COMMENT= Angie redis2 dynamic module + +LICENSE_FILE= ${WRKSRC_module}/README.markdown + +MASTERDIR= ${.CURDIR}/../../www/angie + +do-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${MODDIR} + + ${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_redis2_module.so \ + ${STAGEDIR}${MODDIR} + + ${INSTALL_MAN} ${WRKSRC_module}/README.markdown ${STAGEDIR}${DOCSDIR} + +do-install-DEBUG-on: + ${INSTALL} ${COPY} -m ${_SHAREMODE} \ + ${WRKSRC_DEBUG}/objs/ngx_http_redis2_module.so \ + ${STAGEDIR}${MODDIR}/ngx_http_redis2_module-debug.so + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-redis2/files/pkg-message.in b/www/angie-module-redis2/files/pkg-message.in new file mode 100644 index 000000000000..1c5061886a77 --- /dev/null +++ b/www/angie-module-redis2/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <<EOM + +The redis2 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_redis2_module.so; + +Please refer to the module documentation for further details: +https://github.com/openresty/redis2-nginx-module +EOM +} +] diff --git a/www/angie-module-redis2/pkg-descr b/www/angie-module-redis2/pkg-descr new file mode 100644 index 000000000000..72eed7de9d24 --- /dev/null +++ b/www/angie-module-redis2/pkg-descr @@ -0,0 +1,3 @@ +Module makes Angie talk to a Redis 2.x server in a non-blocking way. The full +Redis 2.0 unified protocol has been implemented including the Redis pipelining +support. This module returns the raw TCP response from the Redis server. diff --git a/www/angie-module-redis2/pkg-plist b/www/angie-module-redis2/pkg-plist new file mode 100644 index 000000000000..326b32cba9fa --- /dev/null +++ b/www/angie-module-redis2/pkg-plist @@ -0,0 +1,3 @@ +%%DOCSDIR%%/README.markdown +%%MODDIR%%/ngx_http_redis2_module.so +%%DEBUG%%%%MODDIR%%/ngx_http_redis2_module-debug.so