git: 5dca1a2e2209 - main - security/nextcloud-twofactor_webauthn: Update to 0.3.1

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 19:41:41 UTC
The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5dca1a2e2209cff3b2c5bc8364ba67821d6abac3

commit 5dca1a2e2209cff3b2c5bc8364ba67821d6abac3
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2022-03-07 19:41:38 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2022-03-07 19:41:38 +0000

    security/nextcloud-twofactor_webauthn: Update to 0.3.1
---
 security/nextcloud-twofactor_webauthn/Makefile | 7 +++----
 security/nextcloud-twofactor_webauthn/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/security/nextcloud-twofactor_webauthn/Makefile b/security/nextcloud-twofactor_webauthn/Makefile
index bfd61a20c155..214830aba4af 100644
--- a/security/nextcloud-twofactor_webauthn/Makefile
+++ b/security/nextcloud-twofactor_webauthn/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	twofactor_webauthn
-PORTVERSION=	0.2.15
+PORTVERSION=	0.3.1
+DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 PKGNAMEPREFIX=	nextcloud-
 PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
@@ -14,7 +15,7 @@ RUN_DEPENDS=	nextcloud${PHP_PKGNAMESUFFIX}>=21:www/nextcloud@${PHP_FLAVOR}
 
 USES=		php:flavors
 
-MASTER_SITES=	https://github.com/michib/nextcloud_twofactor_webauthn/releases/download/v${PORTVERSION}/
+MASTER_SITES=	https://github.com/nextcloud-releases/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -23,8 +24,6 @@ NO_ARCH=	yes
 
 WWWDIR=		${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}
 
-PLIST_DIRS=	${WWWDIR}/vendor/bin \
-		${WWWDIR}/vendor/ramsey/collection/bin
 do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
diff --git a/security/nextcloud-twofactor_webauthn/distinfo b/security/nextcloud-twofactor_webauthn/distinfo
index 2521d2efdc58..fc8162afa36e 100644
--- a/security/nextcloud-twofactor_webauthn/distinfo
+++ b/security/nextcloud-twofactor_webauthn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643010111
-SHA256 (twofactor_webauthn-0.2.15.tar.gz) = 5e6178d1e73b8be4d6d7b2c1d23c11922a8cd22c60688abb492c72293795505f
-SIZE (twofactor_webauthn-0.2.15.tar.gz) = 1914526
+TIMESTAMP = 1646681059
+SHA256 (twofactor_webauthn-v0.3.1.tar.gz) = 15d8eadf79ad5dcbad1ef79dbd91de04605693d8c8aeb8bf423b9188a4e77ca4
+SIZE (twofactor_webauthn-v0.3.1.tar.gz) = 2920762