aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-07-13 00:18:27 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-07-13 00:18:27 +0000
commit1271433ade88ea0f5cfa8633ed75b68b8a0c59be (patch)
tree956c2f54a1175197dc9023117a781edbb054eec0
parenta030cc19001058c7e7d2d55ecf328e3964bc85eb (diff)
downloadports-1271433ade88ea0f5cfa8633ed75b68b8a0c59be.tar.gz
ports-1271433ade88ea0f5cfa8633ed75b68b8a0c59be.zip
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
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-devise-two-factor-rails70/Makefile23
-rw-r--r--security/rubygem-devise-two-factor-rails70/distinfo3
-rw-r--r--security/rubygem-devise-two-factor-rails70/pkg-descr3
4 files changed, 30 insertions, 0 deletions
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