Bug 182698 - new port net/rubygem-omniauth-oauth2
Summary: new port net/rubygem-omniauth-oauth2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-05 16:30 UTC by loic.blot
Modified: 2013-10-21 02:50 UTC (History)
0 users

See Also:


Attachments
rubygem-omniauth-oauth2.shar (43.81 KB, text/plain)
2013-10-05 16:30 UTC, loic.blot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description loic.blot 2013-10-05 16:30:01 UTC
	Here is a new port based on omniauth and used by gitlab
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-05 16:30:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

ruby@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer freebsd_triage 2013-10-21 02:40:23 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-21 02:40:27 UTC
Author: swills
Date: Mon Oct 21 01:40:12 2013
New Revision: 331079
URL: http://svnweb.freebsd.org/changeset/ports/331079

Log:
  An abstract OAuth2 strategy for OmniAuth.
  
  WWW: https://rubygems.org/gems/omniauth-oauth2
  
  PR:		ports/182698
  Submitted by:	Loic Blot <loic.blot@unix-experience.fr>

Added:
  head/net/rubygem-omniauth-oauth2/
  head/net/rubygem-omniauth-oauth2/Makefile   (contents, props changed)
  head/net/rubygem-omniauth-oauth2/distinfo   (contents, props changed)
  head/net/rubygem-omniauth-oauth2/files/
  head/net/rubygem-omniauth-oauth2/files/patch-oauth2-ver   (contents, props changed)
  head/net/rubygem-omniauth-oauth2/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Mon Oct 21 01:09:16 2013	(r331078)
+++ head/net/Makefile	Mon Oct 21 01:40:12 2013	(r331079)
@@ -1041,6 +1041,7 @@
     SUBDIR += rubygem-oauth
     SUBDIR += rubygem-oauth2
     SUBDIR += rubygem-omniauth-oauth
+    SUBDIR += rubygem-omniauth-oauth2
     SUBDIR += rubygem-open-uri-cached
     SUBDIR += rubygem-openid
     SUBDIR += rubygem-packetfu

Added: head/net/rubygem-omniauth-oauth2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-omniauth-oauth2/Makefile	Mon Oct 21 01:40:12 2013	(r331079)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME=	omniauth-oauth2
+PORTVERSION=	1.1.1
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Abstract OAuth2 strategy for OmniAuth
+
+RUN_DEPENDS=	rubygem-oauth2>=0.8.0:${PORTSDIR}/net/rubygem-oauth2 \
+		rubygem-omniauth>=1.0:${PORTSDIR}/security/rubygem-omniauth
+
+USE_RUBY=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+NO_STAGE=	yes
+
+.include <bsd.port.mk>

Added: head/net/rubygem-omniauth-oauth2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-omniauth-oauth2/distinfo	Mon Oct 21 01:40:12 2013	(r331079)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/omniauth-oauth2-1.1.1.gem) = 72b8ba77b9ead4320e7f4e430aee0f3ef759aed79ae52c3b0e8fb2f41785eb68
+SIZE (rubygem/omniauth-oauth2-1.1.1.gem) = 7680

Added: head/net/rubygem-omniauth-oauth2/files/patch-oauth2-ver
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-omniauth-oauth2/files/patch-oauth2-ver	Mon Oct 21 01:40:12 2013	(r331079)
@@ -0,0 +1,31 @@
+--- omniauth-oauth2-1.1.1.gemspec.orig	2013-10-20 23:55:59.202502414 +0000
++++ omniauth-oauth2-1.1.1.gemspec	2013-10-20 23:56:22.411500458 +0000
+@@ -34,7 +34,7 @@
+     requirements:
+     - - ~>
+       - !ruby/object:Gem::Version
+-        version: 0.8.0
++        version: 0.9.0
+   type: :runtime
+   prerelease: false
+   version_requirements: !ruby/object:Gem::Requirement
+@@ -42,7 +42,7 @@
+     requirements:
+     - - ~>
+       - !ruby/object:Gem::Version
+-        version: 0.8.0
++        version: 0.9.0
+ - !ruby/object:Gem::Dependency
+   name: rspec
+   requirement: !ruby/object:Gem::Requirement
+--- omniauth-oauth2.gemspec.orig	2013-10-20 23:56:06.122501604 +0000
++++ omniauth-oauth2.gemspec	2013-10-20 23:56:27.040820651 +0000
+@@ -3,7 +3,7 @@
+ 
+ Gem::Specification.new do |gem|
+   gem.add_dependency 'omniauth', '~> 1.0'
+-  gem.add_dependency 'oauth2', '~> 0.8.0'
++  gem.add_dependency 'oauth2', '~> 0.9.0'
+ 
+   gem.add_development_dependency 'rspec', '~> 2.7'
+   gem.add_development_dependency 'rack-test'

Added: head/net/rubygem-omniauth-oauth2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-omniauth-oauth2/pkg-descr	Mon Oct 21 01:40:12 2013	(r331079)
@@ -0,0 +1,3 @@
+An abstract OAuth2 strategy for OmniAuth.
+
+WWW: https://rubygems.org/gems/omniauth-oauth2
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"