From owner-svn-ports-all@freebsd.org Tue Jan 2 15:34:33 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1885EAB5A5; Tue, 2 Jan 2018 15:34:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68A3E64632; Tue, 2 Jan 2018 15:34:25 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w02FYOXP018977; Tue, 2 Jan 2018 15:34:24 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w02FYONG018974; Tue, 2 Jan 2018 15:34:24 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201801021534.w02FYONG018974@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 2 Jan 2018 15:34:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457888 - in head/net/rubygem-omniauth-azure-oauth2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/net/rubygem-omniauth-azure-oauth2: . files X-SVN-Commit-Revision: 457888 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 15:34:33 -0000 Author: sunpoet Date: Tue Jan 2 15:34:24 2018 New Revision: 457888 URL: https://svnweb.freebsd.org/changeset/ports/457888 Log: Allow build with rubygem-jwt 2.0+ - Fix gemspec for rubygem-jwt 2.1.0 update - Bump PORTREVISION for package change Added: head/net/rubygem-omniauth-azure-oauth2/files/ head/net/rubygem-omniauth-azure-oauth2/files/patch-gemspec (contents, props changed) head/net/rubygem-omniauth-azure-oauth2/files/patch-lib-omniauth-strategies-azure_oauth2.rb (contents, props changed) Modified: head/net/rubygem-omniauth-azure-oauth2/Makefile Modified: head/net/rubygem-omniauth-azure-oauth2/Makefile ============================================================================== --- head/net/rubygem-omniauth-azure-oauth2/Makefile Tue Jan 2 15:34:19 2018 (r457887) +++ head/net/rubygem-omniauth-azure-oauth2/Makefile Tue Jan 2 15:34:24 2018 (r457888) @@ -3,6 +3,7 @@ PORTNAME= omniauth-azure-oauth2 PORTVERSION= 0.0.9 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG Added: head/net/rubygem-omniauth-azure-oauth2/files/patch-gemspec ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rubygem-omniauth-azure-oauth2/files/patch-gemspec Tue Jan 2 15:34:24 2018 (r457888) @@ -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"]) Added: head/net/rubygem-omniauth-azure-oauth2/files/patch-lib-omniauth-strategies-azure_oauth2.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rubygem-omniauth-azure-oauth2/files/patch-lib-omniauth-strategies-azure_oauth2.rb Tue Jan 2 15:34:24 2018 (r457888) @@ -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