security/nextcloud-twofactor_webauthn: Add new port

PR:		252491
Submitted by:	Henrik Rosenke <rosenke dssgmbh de>
This commit is contained in:
Bernard Spil 2021-07-04 19:37:00 +00:00
parent a8b054c25e
commit aa204dbc48
4 changed files with 43 additions and 0 deletions

View File

@ -380,6 +380,7 @@
SUBDIR += nextcloud-passman
SUBDIR += nextcloud-twofactor_totp
SUBDIR += nextcloud-twofactor_u2f
SUBDIR += nextcloud-twofactor_webauthn
SUBDIR += nflib
SUBDIR += ngrok
SUBDIR += nikto

View File

@ -0,0 +1,36 @@
# $FreeBSD$
PORTNAME= twofactor_webauthn
PORTVERSION= 0.2.10
CATEGORIES= security
PKGNAMEPREFIX= nextcloud-
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= rosenke@dssgmbh.de
COMMENT= U2F webauthn app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=16:www/nextcloud@${PHP_FLAVOR}
USES= php:flavors
MASTER_SITES= https://github.com/michib/nextcloud_twofactor_webauthn/releases/download/v${PORTVERSION}/
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
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})
(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \
${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1625419973
SHA256 (twofactor_webauthn-0.2.10.tar.gz) = 0d42b6be330feb73898ef83ddf5c7b7714468a56d11ae9786b3a870acf844fd4
SIZE (twofactor_webauthn-0.2.10.tar.gz) = 1926424

View File

@ -0,0 +1,3 @@
A two-factor provider for Webauthn devices
WWW: https://apps.nextcloud.com/apps/twofactor_webauthn