Date: Sun, 10 Oct 2021 18:00:31 GMT From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7c5046b3bdc9 - main - security/nextcloud-twofactor_nextcloud_notification: Add new port Message-ID: <202110101800.19AI0Vi7093822@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brnrd: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c5046b3bdc9d72791f7538a16e7a56479261361 commit 7c5046b3bdc9d72791f7538a16e7a56479261361 Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2021-10-10 17:59:45 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2021-10-10 17:59:45 +0000 security/nextcloud-twofactor_nextcloud_notification: Add new port --- security/Makefile | 1 + .../Makefile | 38 ++++++++++++++++++++++ .../distinfo | 3 ++ .../pkg-descr | 3 ++ 4 files changed, 45 insertions(+) diff --git a/security/Makefile b/security/Makefile index 9bd8afc59f0b..fa4843fb6453 100644 --- a/security/Makefile +++ b/security/Makefile @@ -388,6 +388,7 @@ SUBDIR += nextcloud-end_to_end_encryption SUBDIR += nextcloud-passman SUBDIR += nextcloud-twofactor_admin + SUBDIR += nextcloud-twofactor_nextcloud_notification SUBDIR += nextcloud-twofactor_totp SUBDIR += nextcloud-twofactor_u2f SUBDIR += nextcloud-twofactor_webauthn diff --git a/security/nextcloud-twofactor_nextcloud_notification/Makefile b/security/nextcloud-twofactor_nextcloud_notification/Makefile new file mode 100644 index 000000000000..e30b5ac22714 --- /dev/null +++ b/security/nextcloud-twofactor_nextcloud_notification/Makefile @@ -0,0 +1,38 @@ +# Created by: Bernard Spil <brnrd@freebsd.org> + +PORTNAME= twofactor_nextcloud_notification +PORTVERSION= 3.2.1 +CATEGORIES= security +MASTER_SITES= https://github.com/nickv-nextcloud/${PORTNAME}/releases/download/v${DISTVERSIONPREFIX}${PORTVERSION}/ +PKGNAMEPREFIX= nextcloud- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} +WRKSRC= ${WRKDIR}/${PORTNAME} + +MAINTAINER= brnrd@FreeBSD.org +COMMENT= Use Nextcloud notification as MFA app for Nextcloud + +LICENSE= AGPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +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 <bsd.port.mk> diff --git a/security/nextcloud-twofactor_nextcloud_notification/distinfo b/security/nextcloud-twofactor_nextcloud_notification/distinfo new file mode 100644 index 000000000000..9898b31b9acb --- /dev/null +++ b/security/nextcloud-twofactor_nextcloud_notification/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1633887796 +SHA256 (twofactor_nextcloud_notification-3.2.1.tar.gz) = de5a4fe9fc206d9cf3d7627100d5acadcc1f59c3fa7d652e7eb02707d201b326 +SIZE (twofactor_nextcloud_notification-3.2.1.tar.gz) = 814467 diff --git a/security/nextcloud-twofactor_nextcloud_notification/pkg-descr b/security/nextcloud-twofactor_nextcloud_notification/pkg-descr new file mode 100644 index 000000000000..6f2fbee89697 --- /dev/null +++ b/security/nextcloud-twofactor_nextcloud_notification/pkg-descr @@ -0,0 +1,3 @@ +Allows using any of your logged in devices as second factor + +WWW: https://apps.nextcloud.com/apps/twofactor_nextcloud_notification
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110101800.19AI0Vi7093822>