www/angie-module-auth-totp: New port: TOTP authentication for angie

The nginx-http-auth-totp module provides TOTP authentication for an
Angie server.

The Time-based One-Time Password (TOTP) algorithm, provides a secure
mechanism for short-lived one-time password values, which are desirable
for enhanced security. This algorithm can be used across a wide range of
network applications ranging from remote Virtual Private Network (VPN)
access, Wi-Fi network logon to transaction-orientated Web applications.

PR:	289369
This commit is contained in:
Sebastian Oswald 2025-09-08 20:53:38 +03:00 committed by Vladimir Druzenko
parent 59c25e011c
commit 6a1dc3db30
6 changed files with 54 additions and 1 deletions

View File

@ -36,6 +36,7 @@
SUBDIR += angie-console-light
SUBDIR += angie-module-auth-jwt
SUBDIR += angie-module-auth-spnego
SUBDIR += angie-module-auth-totp
SUBDIR += angie-module-brotli
SUBDIR += angie-module-cache-purge
SUBDIR += angie-module-dav-ext

View File

@ -0,0 +1,22 @@
PORTNAME= angie-module-auth-totp
GH_TUPLE= 61131:nginx-http-auth-totp:1.1.0:module
COMMENT= Angie auth-totp dynamic module
MASTERDIR= ${.CURDIR}/../../www/angie
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${MODDIR}
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_auth_totp_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_totp_module.so \
${STAGEDIR}${MODDIR}/ngx_http_auth_totp_module-debug.so
.include "${MASTERDIR}/Makefile"

View File

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

View File

@ -0,0 +1,10 @@
Time-based one-time password (TOTP) authentication for Angie.
The Time-based One-Time Password (TOTP) algorithm, provides a secure mechanism
for short-lived one-time password values, which are desirable for enhanced
security. This algorithm can be used across a wide range of network applications
ranging from remote Virtual Private Network (VPN) access, Wi-Fi network logon to
transaction-orientated Web applications.
The nginx-http-auth-totp module provides TOTP authentication for an Angie
server.

View File

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

View File

@ -1,6 +1,8 @@
TIMESTAMP = 1755846998
TIMESTAMP = 1757353535
SHA256 (angie-1.10.2.tar.gz) = a5c2ab937df24a80e786af5638922f46ea8a73d1614183c8c90298ae873094b8
SIZE (angie-1.10.2.tar.gz) = 1757721
SHA256 (61131-nginx-http-auth-totp-1.1.0_GH0.tar.gz) = d36d2b75a3b239e63ec060ef9ccfa6b89acbceb74b7c93e47550c1f75ac4857e
SIZE (61131-nginx-http-auth-totp-1.1.0_GH0.tar.gz) = 9813
SHA256 (kjdev-nginx-auth-jwt-0.9.0_GH0.tar.gz) = d7c72634261a053afaacc2cb762eccf9ce4c462ca738ad0c4809eb964ddf3c0c
SIZE (kjdev-nginx-auth-jwt-0.9.0_GH0.tar.gz) = 75474
SHA256 (stnoonan-spnego-http-auth-nginx-module-v1.1.3_GH0.tar.gz) = 0e1e54f8ab7d76f922881f13d870edf8b820ef645b19013774c825110d011640