git: e031e6e3a155 - main - www/angie-module-cache-purge: Angie cache_purge dynamic module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Aug 2023 13:04:34 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=e031e6e3a155ae3aa794ed78bf21b125f57bf33d commit e031e6e3a155ae3aa794ed78bf21b125f57bf33d Author: Oleg A. Mamontov <oleg@mamontov.net> AuthorDate: 2023-08-07 18:28:09 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-08-09 13:01:16 +0000 www/angie-module-cache-purge: Angie cache_purge dynamic module Module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches. PR: 272999 --- www/Makefile | 1 + www/angie-module-cache-purge/Makefile | 22 ++++++++++++++++++++++ www/angie-module-cache-purge/files/pkg-message.in | 15 +++++++++++++++ www/angie-module-cache-purge/pkg-descr | 3 +++ www/angie-module-cache-purge/pkg-plist | 3 +++ 5 files changed, 44 insertions(+) diff --git a/www/Makefile b/www/Makefile index 1c8c6400140a..4c19a0c69e7b 100644 --- a/www/Makefile +++ b/www/Makefile @@ -29,6 +29,7 @@ SUBDIR += angie SUBDIR += angie-module-auth-jwt SUBDIR += angie-module-brotli + SUBDIR += angie-module-cache-purge SUBDIR += angie-module-geoip2 SUBDIR += anyremote2html SUBDIR += apache-mode.el diff --git a/www/angie-module-cache-purge/Makefile b/www/angie-module-cache-purge/Makefile new file mode 100644 index 000000000000..e8628c6de22b --- /dev/null +++ b/www/angie-module-cache-purge/Makefile @@ -0,0 +1,22 @@ +PORTNAME= angie-module-cache-purge +GH_TUPLE= nginx-modules:ngx_cache_purge:2.5.3:module + +COMMENT= Angie cache_purge dynamic module + +MASTERDIR= ${.CURDIR}/../../www/angie + +do-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${MODDIR} + + ${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_cache_purge_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_cache_purge_module.so \ + ${STAGEDIR}${MODDIR}/ngx_http_cache_purge_module-debug.so + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-cache-purge/files/pkg-message.in b/www/angie-module-cache-purge/files/pkg-message.in new file mode 100644 index 000000000000..268d7424a5a4 --- /dev/null +++ b/www/angie-module-cache-purge/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <<EOM + +The cache_purge 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_cache_purge_module.so; + +Please refer to the module documentation for further details: +https://github.com/nginx-modules/ngx_cache_purge +EOM +} +] diff --git a/www/angie-module-cache-purge/pkg-descr b/www/angie-module-cache-purge/pkg-descr new file mode 100644 index 000000000000..3e9da91df9f5 --- /dev/null +++ b/www/angie-module-cache-purge/pkg-descr @@ -0,0 +1,3 @@ +Module adds ability to purge content from FastCGI, proxy, SCGI and uWSGI +caches. A purge operation removes the content with the same cache key as the +purge request has. This module is production-ready. diff --git a/www/angie-module-cache-purge/pkg-plist b/www/angie-module-cache-purge/pkg-plist new file mode 100644 index 000000000000..4d329730dac9 --- /dev/null +++ b/www/angie-module-cache-purge/pkg-plist @@ -0,0 +1,3 @@ +%%DOCSDIR%%/README.md +%%MODDIR%%/ngx_http_cache_purge_module.so +%%DEBUG%%%%MODDIR%%/ngx_http_cache_purge_module-debug.so