diff options
| author | Steve Wills <swills@FreeBSD.org> | 2015-08-09 20:26:35 +0000 |
|---|---|---|
| committer | Steve Wills <swills@FreeBSD.org> | 2015-08-09 20:26:35 +0000 |
| commit | d99e5bea2539c26bf07bcd5a3550a740751c6259 (patch) | |
| tree | fc5688442180e4a3fed661e70239148f7d8847db /security/rubygem-devise-two-factor | |
| parent | ba2d3fcf2014983947c0f359b2c0088c2ebdd51c (diff) | |
Notes
Diffstat (limited to 'security/rubygem-devise-two-factor')
4 files changed, 43 insertions, 0 deletions
diff --git a/security/rubygem-devise-two-factor/Makefile b/security/rubygem-devise-two-factor/Makefile new file mode 100644 index 000000000000..a7229c23e19b --- /dev/null +++ b/security/rubygem-devise-two-factor/Makefile @@ -0,0 +1,25 @@ +# Created by: Torsten Zühlsdorff <ports@toco-domains.de> +# $FreeBSD$ + +PORTNAME= devise-two-factor +PORTVERSION= 1.0.2 +CATEGORIES= security rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Barebones two-factor authentication with Devise + +LICENSE= MIT + +RUN_DEPENDS?= rubygem-activemodel4>=4.0.0:${PORTSDIR}/databases/rubygem-activemodel4 \ + rubygem-activesupport4>=4.0.0:${PORTSDIR}/devel/rubygem-activesupport4 \ + rubygem-attr_encrypted>=1.3.4:${PORTSDIR}/security/rubygem-attr_encrypted \ + rubygem-devise-rails4>=3.2.4:${PORTSDIR}/devel/rubygem-devise-rails4 \ + rubygem-railties4>=4.0.0:${PORTSDIR}/www/rubygem-railties4 \ + rubygem-rotp<=2.0.0:${PORTSDIR}/devel/rubygem-rotp + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST=yes + +.include <bsd.port.mk> diff --git a/security/rubygem-devise-two-factor/distinfo b/security/rubygem-devise-two-factor/distinfo new file mode 100644 index 000000000000..339530f73f26 --- /dev/null +++ b/security/rubygem-devise-two-factor/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/devise-two-factor-1.0.2.gem) = 07380181436a893255b1f82e1d03d1a6b5e1c7dc841bfb39c34bac2aba193322 +SIZE (rubygem/devise-two-factor-1.0.2.gem) = 25600 diff --git a/security/rubygem-devise-two-factor/files/patch-devise-two-factor.gemspec b/security/rubygem-devise-two-factor/files/patch-devise-two-factor.gemspec new file mode 100644 index 000000000000..297e43a987a4 --- /dev/null +++ b/security/rubygem-devise-two-factor/files/patch-devise-two-factor.gemspec @@ -0,0 +1,13 @@ +--- devise-two-factor.gemspec.orig 2015-07-06 11:45:00 UTC ++++ devise-two-factor.gemspec +@@ -27,8 +27,8 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q<railties>, [">= 0"]) + s.add_runtime_dependency(%q<activesupport>, [">= 0"]) + s.add_runtime_dependency(%q<activemodel>, [">= 0"]) +- s.add_runtime_dependency(%q<attr_encrypted>, ["~> 1.3.2"]) +- s.add_runtime_dependency(%q<devise>, ["< 3.5", ">= 3.2.4"]) ++ s.add_runtime_dependency(%q<attr_encrypted>, [">= 1.3.2"]) ++ s.add_runtime_dependency(%q<devise>, ["< 3.5.2", ">= 3.2.4"]) + s.add_runtime_dependency(%q<rotp>, ["< 2"]) + s.add_development_dependency(%q<bundler>, ["> 1.0"]) + s.add_development_dependency(%q<rspec>, ["< 3", "> 2"]) diff --git a/security/rubygem-devise-two-factor/pkg-descr b/security/rubygem-devise-two-factor/pkg-descr new file mode 100644 index 000000000000..314c84f06bb5 --- /dev/null +++ b/security/rubygem-devise-two-factor/pkg-descr @@ -0,0 +1,3 @@ +Barebones two-factor authentication with Devise + +WWW: https://github.com/tinfoil/devise-two-factor |
