1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

www/angie-module-jwt: Angie JWT dynamic module

Module provides JWT validity check funcionality for Angie.

PR:		272999
This commit is contained in:
Oleg A. Mamontov 2023-08-07 20:32:57 +02:00 committed by Robert Clausecker
parent 8b299dec67
commit 28f5935e59
5 changed files with 49 additions and 0 deletions

View File

@ -32,6 +32,7 @@
SUBDIR += angie-module-cache-purge
SUBDIR += angie-module-geoip2
SUBDIR += angie-module-image-filter
SUBDIR += angie-module-jwt
SUBDIR += anyremote2html
SUBDIR += apache-mode.el
SUBDIR += apache24

View File

@ -0,0 +1,27 @@
PORTNAME= angie-module-jwt
GH_TUPLE= max-lt:nginx-jwt-module:v3.2.2:module
COMMENT= Angie JWT dynamic module
LIB_DEPENDS= libjansson.so:devel/jansson \
libjwt.so:www/libjwt
MASTERDIR= ${.CURDIR}/../../www/angie
CONFLICTS= www/angie-module-auth-jwt
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${MODDIR}
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_auth_jwt_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_auth_jwt_module.so \
${STAGEDIR}${MODDIR}/ngx_http_auth_jwt_module-debug.so
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,15 @@
[
{ type: install
message: <<EOM
The jwt 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_auth_jwt_module.so;
Please refer to the module documentation for further details:
https://github.com/max-lt/nginx-jwt-module
EOM
}
]

View File

@ -0,0 +1,3 @@
Module provides JWT validity check functionality for Angie.
Module intends to be as light as possible and to remain simple.
Supports number of key encodings and allows to keep it in a designated file.

View File

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