Index: head/net/rubygem-omniauth-azure-oauth2/Makefile =================================================================== --- head/net/rubygem-omniauth-azure-oauth2/Makefile (revision 457887) +++ head/net/rubygem-omniauth-azure-oauth2/Makefile (revision 457888) @@ -1,22 +1,23 @@ # Created by: Torsten Zuehlsdorff # $FreeBSD$ PORTNAME= omniauth-azure-oauth2 PORTVERSION= 0.0.9 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG MAINTAINER= idefix@fechner.net COMMENT= Azure OAuth2 Strategy for OmniAuth LICENSE= MIT RUN_DEPENDS= rubygem-jwt>=1.0:www/rubygem-jwt \ rubygem-omniauth>=1.0:security/rubygem-omniauth \ rubygem-omniauth-oauth2>=1.2:net/rubygem-omniauth-oauth2 NO_ARCH= yes USE_RUBY= yes USES= gem .include Index: head/net/rubygem-omniauth-azure-oauth2/files/patch-gemspec =================================================================== --- head/net/rubygem-omniauth-azure-oauth2/files/patch-gemspec (nonexistent) +++ head/net/rubygem-omniauth-azure-oauth2/files/patch-gemspec (revision 457888) @@ -0,0 +1,11 @@ +--- omniauth-azure-oauth2.gemspec.orig 2017-12-06 18:00:39 UTC ++++ omniauth-azure-oauth2.gemspec +@@ -22,7 +22,7 @@ Gem::Specification.new do |s| + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) +- s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) ++ s.add_runtime_dependency(%q.freeze, [">= 1.0", "< 3.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.4"]) + s.add_development_dependency(%q.freeze, [">= 2.14.0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) Property changes on: head/net/rubygem-omniauth-azure-oauth2/files/patch-gemspec ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/rubygem-omniauth-azure-oauth2/files/patch-lib-omniauth-strategies-azure_oauth2.rb =================================================================== --- head/net/rubygem-omniauth-azure-oauth2/files/patch-lib-omniauth-strategies-azure_oauth2.rb (nonexistent) +++ head/net/rubygem-omniauth-azure-oauth2/files/patch-lib-omniauth-strategies-azure_oauth2.rb (revision 457888) @@ -0,0 +1,11 @@ +--- lib/omniauth/strategies/azure_oauth2.rb.orig 2017-12-06 18:00:39 UTC ++++ lib/omniauth/strategies/azure_oauth2.rb +@@ -61,7 +61,7 @@ module OmniAuth + + def raw_info + # it's all here in JWT http://msdn.microsoft.com/en-us/library/azure/dn195587.aspx +- @raw_info ||= ::JWT.decode(access_token.token, nil, false).first ++ @raw_info ||= ::JWT.decode(access_token.token, nil, false, algorithm: 'RS256').first + end + + end Property changes on: head/net/rubygem-omniauth-azure-oauth2/files/patch-lib-omniauth-strategies-azure_oauth2.rb ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property