View | Details | Raw Unified | Return to bug 272999 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/angie-module-auth-jwt/Makefile (+26 lines)
Added Link Here
1
PORTNAME=	angie-module-auth-jwt
2
GH_TUPLE=	kjdev:nginx-auth-jwt:0.2.1:module
3
4
COMMENT=	Angie auth-jwt dynamic module
5
6
LIB_DEPENDS=	libjansson.so:devel/jansson
7
8
MASTERDIR=	${.CURDIR}/../../www/angie
9
10
CONFLICTS=	www/angie-module-jwt
11
12
do-install:
13
	${MKDIR} ${STAGEDIR}${DOCSDIR}
14
	${MKDIR} ${STAGEDIR}${MODDIR}
15
16
	${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_auth_jwt_module.so \
17
	    ${STAGEDIR}${MODDIR}
18
19
	${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR}
20
21
do-install-DEBUG-on:
22
	${INSTALL} ${COPY} -m ${_SHAREMODE} \
23
	    ${WRKSRC_DEBUG}/objs/ngx_http_auth_jwt_module.so \
24
	    ${STAGEDIR}${MODDIR}/ngx_http_auth_jwt_module-debug.so
25
26
.include "${MASTERDIR}/Makefile"
(-)b/www/angie-module-auth-jwt/files/pkg-message.in (+15 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
5
The auth-jwt dynamic module for Angie has been installed.
6
To enable this module, add the following to %%PREFIX%%/etc/angie/angie.conf
7
and reload angie:
8
9
    load_module modules/ngx_http_auth_jwt_module.so;
10
11
Please refer to the module documentation for further details:
12
https://github.com/kjdev/nginx-auth-jwt
13
EOM
14
}
15
]
(-)b/www/angie-module-auth-jwt/pkg-descr (+1 lines)
Added Link Here
1
This Angie module implements client authorization by validating the provided JSON Web Token (JWT) using the specified keys.
(-)b/www/angie-module-auth-jwt/pkg-plist (+3 lines)
Added Link Here
1
%%DOCSDIR%%/README.md
2
%%MODDIR%%/ngx_http_auth_jwt_module.so
3
%%DEBUG%%%%MODDIR%%/ngx_http_auth_jwt_module-debug.so

Return to bug 272999