git: 1271433ade88 - main - security/rubygem-devise-two-factor-rails70: Add rubygem-devise-two-factor-rails70 5.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 13 Jul 2022 00:19:49 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1271433ade88ea0f5cfa8633ed75b68b8a0c59be

commit 1271433ade88ea0f5cfa8633ed75b68b8a0c59be
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-13 00:18:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-13 00:18:27 +0000

    security/rubygem-devise-two-factor-rails70: Add rubygem-devise-two-factor-rails70 5.0.0
    
    Barebones two-factor authentication with Devise
    
    WWW: https://github.com/tinfoil/devise-two-factor
---
 security/Makefile                                  |  1 +
 .../rubygem-devise-two-factor-rails70/Makefile     | 23 ++++++++++++++++++++++
 .../rubygem-devise-two-factor-rails70/distinfo     |  3 +++
 .../rubygem-devise-two-factor-rails70/pkg-descr    |  3 +++
 4 files changed, 30 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index c7d7d99f3e59..5151b3cf8791 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1029,6 +1029,7 @@
     SUBDIR += rubygem-devise-two-factor
     SUBDIR += rubygem-devise-two-factor-rails5
     SUBDIR += rubygem-devise-two-factor-rails61
+    SUBDIR += rubygem-devise-two-factor-rails70
     SUBDIR += rubygem-devise_pam_authenticatable2
     SUBDIR += rubygem-digest
     SUBDIR += rubygem-digest-crc
diff --git a/security/rubygem-devise-two-factor-rails70/Makefile b/security/rubygem-devise-two-factor-rails70/Makefile
new file mode 100644
index 000000000000..7a2e09df9e5a
--- /dev/null
+++ b/security/rubygem-devise-two-factor-rails70/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	devise-two-factor
+PORTVERSION=	5.0.0
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails70
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Barebones two-factor authentication with Devise
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport70>=7.0<8:devel/rubygem-activesupport70 \
+		rubygem-devise-rails70>=4.0<5:devel/rubygem-devise-rails70 \
+		rubygem-railties70>=7.0<8:www/rubygem-railties70 \
+		rubygem-rotp>=6.0<7:devel/rubygem-rotp
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-devise-two-factor-rails70/distinfo b/security/rubygem-devise-two-factor-rails70/distinfo
new file mode 100644
index 000000000000..d97eae089980
--- /dev/null
+++ b/security/rubygem-devise-two-factor-rails70/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1657634000
+SHA256 (rubygem/devise-two-factor-5.0.0.gem) = ca83b2592c7c8ffd7af5ea87ec3ad3b0aa6bd4b2e3af0841b2caf65810f300c2
+SIZE (rubygem/devise-two-factor-5.0.0.gem) = 32768
diff --git a/security/rubygem-devise-two-factor-rails70/pkg-descr b/security/rubygem-devise-two-factor-rails70/pkg-descr
new file mode 100644
index 000000000000..314c84f06bb5
--- /dev/null
+++ b/security/rubygem-devise-two-factor-rails70/pkg-descr
@@ -0,0 +1,3 @@
+Barebones two-factor authentication with Devise
+
+WWW: https://github.com/tinfoil/devise-two-factor