diff options
author | Oleg A. Mamontov <oleg@mamontov.net> | 2023-08-07 18:43:07 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-08-09 13:01:17 +0000 |
commit | 76e796faaf175ec23e24a98ba1649a1732fa2194 (patch) | |
tree | f179d4e3254d174558d52c4c92c063c16929765f | |
parent | 98173bcdc0a87932e5a5d2b95cf963c918dda82d (diff) | |
download | ports-76e796faaf175ec23e24a98ba1649a1732fa2194.tar.gz ports-76e796faaf175ec23e24a98ba1649a1732fa2194.zip |
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
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/angie-module-redis2/Makefile | 24 | ||||
-rw-r--r-- | www/angie-module-redis2/files/pkg-message.in | 15 | ||||
-rw-r--r-- | www/angie-module-redis2/pkg-descr | 3 | ||||
-rw-r--r-- | www/angie-module-redis2/pkg-plist | 3 |
5 files changed, 46 insertions, 0 deletions
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 |