diff --git a/www/Makefile b/www/Makefile index e98161e86e8f..9e93adab5a2e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/angie-module-auth-totp/Makefile b/www/angie-module-auth-totp/Makefile new file mode 100644 index 000000000000..702a9ba40684 --- /dev/null +++ b/www/angie-module-auth-totp/Makefile @@ -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" diff --git a/www/angie-module-auth-totp/files/pkg-message.in b/www/angie-module-auth-totp/files/pkg-message.in new file mode 100644 index 000000000000..d27210fefe57 --- /dev/null +++ b/www/angie-module-auth-totp/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <