diff --git a/security/nextcloud-twofactor_admin/Makefile b/security/nextcloud-twofactor_admin/Makefile index 4465d89a9ead..5dcccd4f4d07 100644 --- a/security/nextcloud-twofactor_admin/Makefile +++ b/security/nextcloud-twofactor_admin/Makefile @@ -1,41 +1,40 @@ # Created by: Bernard Spil PORTNAME= twofactor_admin PORTVERSION= 3.1.0 DISTVERSIONPREFIX= v CATEGORIES= security MASTER_SITES= https://github.com/ChristophWurst/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/ -#https://github.com/ChristophWurst/twofactor_admin/releases/download/v3.1.0/twofactor_admin.tar.gz PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= brnrd@FreeBSD.org COMMENT= Admin create one-time TOTP app for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=17:www/nextcloud@${PHP_FLAVOR} USES= php:flavors NO_BUILD= yes NO_ARCH= yes NEXTCLOUD_USERNAME?= ${WWWOWN} NEXTCLOUD_GROUPNAME?= ${WWWGRP} PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \ NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME} WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) @(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} .include diff --git a/security/nextcloud-twofactor_admin/pkg-descr b/security/nextcloud-twofactor_admin/pkg-descr index 059e2137e23b..407cc835f1fc 100644 --- a/security/nextcloud-twofactor_admin/pkg-descr +++ b/security/nextcloud-twofactor_admin/pkg-descr @@ -1,3 +1,6 @@ -A Two-Factor-Auth Provider for TOTP (RFC 6238) +This two-factor auth (2FA) provider for Nextcloud allows admins to generate +a one-time code for users to log into a 2FA protected account. This is +helpful in situations where users have lost access to their other 2FA +methods or mandatory 2FA without any previously enabled 2FA provider. -WWW: https://apps.nextcloud.com/apps/twofactor_totp +WWW: https://apps.nextcloud.com/apps/twofactor_admin