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:
parent
8b299dec67
commit
28f5935e59
@ -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
|
||||
|
27
www/angie-module-jwt/Makefile
Normal file
27
www/angie-module-jwt/Makefile
Normal 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"
|
15
www/angie-module-jwt/files/pkg-message.in
Normal file
15
www/angie-module-jwt/files/pkg-message.in
Normal 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
|
||||
}
|
||||
]
|
3
www/angie-module-jwt/pkg-descr
Normal file
3
www/angie-module-jwt/pkg-descr
Normal 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.
|
3
www/angie-module-jwt/pkg-plist
Normal file
3
www/angie-module-jwt/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
%%DOCSDIR%%/README.md
|
||||
%%MODDIR%%/ngx_http_auth_jwt_module.so
|
||||
%%DEBUG%%%%MODDIR%%/ngx_http_auth_jwt_module-debug.so
|
Loading…
Reference in New Issue
Block a user