Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2015 20:26:35 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393826 - in head/security: . rubygem-devise-two-factor rubygem-devise-two-factor/files
Message-ID:  <201508092026.t79KQZFO020326@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Aug  9 20:26:35 2015
New Revision: 393826
URL: https://svnweb.freebsd.org/changeset/ports/393826

Log:
  security/rubygem-devise-two-factor: create port
  
  Barebones two-factor authentication with Devise
  
  WWW: https://github.com/tinfoil/devise-two-factor
  
  PR:		201807
  Submitted by:	Torsten Zühlsdorff <ports@toco-domains.de>

Added:
  head/security/rubygem-devise-two-factor/
  head/security/rubygem-devise-two-factor/Makefile   (contents, props changed)
  head/security/rubygem-devise-two-factor/distinfo   (contents, props changed)
  head/security/rubygem-devise-two-factor/files/
  head/security/rubygem-devise-two-factor/files/patch-devise-two-factor.gemspec   (contents, props changed)
  head/security/rubygem-devise-two-factor/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Aug  9 20:21:02 2015	(r393825)
+++ head/security/Makefile	Sun Aug  9 20:26:35 2015	(r393826)
@@ -915,6 +915,7 @@
     SUBDIR += rubygem-attr_encrypted
     SUBDIR += rubygem-bcrypt
     SUBDIR += rubygem-bcrypt-ruby
+    SUBDIR += rubygem-devise-two-factor
     SUBDIR += rubygem-doorkeeper
     SUBDIR += rubygem-encryptor
     SUBDIR += rubygem-ezcrypto

Added: head/security/rubygem-devise-two-factor/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-devise-two-factor/Makefile	Sun Aug  9 20:26:35 2015	(r393826)
@@ -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>

Added: head/security/rubygem-devise-two-factor/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-devise-two-factor/distinfo	Sun Aug  9 20:26:35 2015	(r393826)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/devise-two-factor-1.0.2.gem) = 07380181436a893255b1f82e1d03d1a6b5e1c7dc841bfb39c34bac2aba193322
+SIZE (rubygem/devise-two-factor-1.0.2.gem) = 25600

Added: head/security/rubygem-devise-two-factor/files/patch-devise-two-factor.gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-devise-two-factor/files/patch-devise-two-factor.gemspec	Sun Aug  9 20:26:35 2015	(r393826)
@@ -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"])

Added: head/security/rubygem-devise-two-factor/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-devise-two-factor/pkg-descr	Sun Aug  9 20:26:35 2015	(r393826)
@@ -0,0 +1,3 @@
+Barebones two-factor authentication with Devise
+
+WWW: https://github.com/tinfoil/devise-two-factor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508092026.t79KQZFO020326>