diff options
author | jrm <jrm@FreeBSD.org> | 2017-05-25 10:18:03 +0800 |
---|---|---|
committer | jrm <jrm@FreeBSD.org> | 2017-05-25 10:18:03 +0800 |
commit | 93bad83d307998794731b12a7cf9c6988cc6c625 (patch) | |
tree | 1aff22f4be3101e546972fc2f869307503b81ad0 | |
parent | 23c412bbc888a7be23a6bc5ebd9a6967b85ce172 (diff) | |
download | freebsd-ports-gnome-93bad83d307998794731b12a7cf9c6988cc6c625.tar.gz freebsd-ports-gnome-93bad83d307998794731b12a7cf9c6988cc6c625.tar.zst freebsd-ports-gnome-93bad83d307998794731b12a7cf9c6988cc6c625.zip |
security/rubygem-devise-two-factor-rails50: Create rails version 5.0 port
by copying security/rubygem-devise-two-factor-rails5
Approved by: swills (mentor, implicit)
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/rubygem-devise-two-factor-rails50/Makefile | 26 | ||||
-rw-r--r-- | security/rubygem-devise-two-factor-rails50/distinfo | 3 | ||||
-rw-r--r-- | security/rubygem-devise-two-factor-rails50/files/patch-gemspec | 11 | ||||
-rw-r--r-- | security/rubygem-devise-two-factor-rails50/pkg-descr | 3 |
5 files changed, 44 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 2beec4eab124..0e6ad97c2f0f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1006,6 +1006,7 @@ SUBDIR += rubygem-bcrypt-ruby SUBDIR += rubygem-devise-two-factor SUBDIR += rubygem-devise-two-factor-rails5 + SUBDIR += rubygem-devise-two-factor-rails50 SUBDIR += rubygem-digest-crc SUBDIR += rubygem-doorkeeper SUBDIR += rubygem-doorkeeper-rails5 diff --git a/security/rubygem-devise-two-factor-rails50/Makefile b/security/rubygem-devise-two-factor-rails50/Makefile new file mode 100644 index 000000000000..f718f8ad0c79 --- /dev/null +++ b/security/rubygem-devise-two-factor-rails50/Makefile @@ -0,0 +1,26 @@ +# Created by: Torsten Zuhlsdorff <ports@toco-domains.de> +# $FreeBSD$ + +PORTNAME= devise-two-factor +PORTVERSION= 3.0.0 +CATEGORIES= security rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -rails50 + +MAINTAINER= jrm@FreeBSD.org +COMMENT= Barebones two-factor authentication with Devise + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-activesupport50>=0:devel/rubygem-activesupport50 \ + rubygem-attr_encrypted>=1.3:security/rubygem-attr_encrypted \ + rubygem-devise-rails50>0:devel/rubygem-devise-rails50 \ + rubygem-railties50>=0:www/rubygem-railties50 \ + rubygem-rotp>=2.0:devel/rubygem-rotp + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +.include <bsd.port.mk> diff --git a/security/rubygem-devise-two-factor-rails50/distinfo b/security/rubygem-devise-two-factor-rails50/distinfo new file mode 100644 index 000000000000..3b0db20d3c62 --- /dev/null +++ b/security/rubygem-devise-two-factor-rails50/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1469115414 +SHA256 (rubygem/devise-two-factor-3.0.0.gem) = fa116fcd6e0a94d5a0581e230a9ac286eee8c17299d54e36ad443d5a346f74de +SIZE (rubygem/devise-two-factor-3.0.0.gem) = 27648 diff --git a/security/rubygem-devise-two-factor-rails50/files/patch-gemspec b/security/rubygem-devise-two-factor-rails50/files/patch-gemspec new file mode 100644 index 000000000000..33b2f7571c11 --- /dev/null +++ b/security/rubygem-devise-two-factor-rails50/files/patch-gemspec @@ -0,0 +1,11 @@ +--- devise-two-factor.gemspec.orig 2016-12-31 23:56:23 UTC ++++ devise-two-factor.gemspec +@@ -28,7 +28,7 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q<activesupport>.freeze, [">= 0"]) + s.add_runtime_dependency(%q<attr_encrypted>.freeze, ["!= 2", "< 4", ">= 1.3"]) + s.add_runtime_dependency(%q<devise>.freeze, ["~> 4.0"]) +- s.add_runtime_dependency(%q<rotp>.freeze, ["~> 2.0"]) ++ s.add_runtime_dependency(%q<rotp>.freeze, [">= 2.0"]) + s.add_development_dependency(%q<activemodel>.freeze, [">= 0"]) + s.add_development_dependency(%q<bundler>.freeze, ["> 1.0"]) + s.add_development_dependency(%q<rspec>.freeze, ["> 3"]) diff --git a/security/rubygem-devise-two-factor-rails50/pkg-descr b/security/rubygem-devise-two-factor-rails50/pkg-descr new file mode 100644 index 000000000000..314c84f06bb5 --- /dev/null +++ b/security/rubygem-devise-two-factor-rails50/pkg-descr @@ -0,0 +1,3 @@ +Barebones two-factor authentication with Devise + +WWW: https://github.com/tinfoil/devise-two-factor |