From nobody Sun Oct 10 18:00:31 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1785417E66A8; Sun, 10 Oct 2021 18:00:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HS8q370lmz3k1c; Sun, 10 Oct 2021 18:00:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D10CB122A6; Sun, 10 Oct 2021 18:00:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19AI0V5q093823; Sun, 10 Oct 2021 18:00:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19AI0Vi7093822; Sun, 10 Oct 2021 18:00:31 GMT (envelope-from git) Date: Sun, 10 Oct 2021 18:00:31 GMT Message-Id: <202110101800.19AI0Vi7093822@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bernard Spil Subject: git: 7c5046b3bdc9 - main - security/nextcloud-twofactor_nextcloud_notification: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brnrd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7c5046b3bdc9d72791f7538a16e7a56479261361 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brnrd: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c5046b3bdc9d72791f7538a16e7a56479261361 commit 7c5046b3bdc9d72791f7538a16e7a56479261361 Author: Bernard Spil AuthorDate: 2021-10-10 17:59:45 +0000 Commit: Bernard Spil 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 + +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 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