Date: Tue, 2 Jan 2018 15:34:29 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457889 - in head/net/rubygem-omniauth-google-oauth2: . files Message-ID: <201801021534.w02FYTD7019124@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Jan 2 15:34:29 2018 New Revision: 457889 URL: https://svnweb.freebsd.org/changeset/ports/457889 Log: Fix gemspec for rubygem-jwt 2.1.0 update - Bump PORTREVISION for package change Added: head/net/rubygem-omniauth-google-oauth2/files/ head/net/rubygem-omniauth-google-oauth2/files/patch-gemspec (contents, props changed) head/net/rubygem-omniauth-google-oauth2/files/patch-lib-omniauth-strategies-google_oauth2.rb (contents, props changed) Modified: head/net/rubygem-omniauth-google-oauth2/Makefile Modified: head/net/rubygem-omniauth-google-oauth2/Makefile ============================================================================== --- head/net/rubygem-omniauth-google-oauth2/Makefile Tue Jan 2 15:34:24 2018 (r457888) +++ head/net/rubygem-omniauth-google-oauth2/Makefile Tue Jan 2 15:34:29 2018 (r457889) @@ -2,6 +2,7 @@ PORTNAME= omniauth-google-oauth2 PORTVERSION= 0.5.2 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG Added: head/net/rubygem-omniauth-google-oauth2/files/patch-gemspec ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rubygem-omniauth-google-oauth2/files/patch-gemspec Tue Jan 2 15:34:29 2018 (r457889) @@ -0,0 +1,11 @@ +--- omniauth-google-oauth2.gemspec.orig 2017-10-19 18:33:48 UTC ++++ omniauth-google-oauth2.gemspec +@@ -24,7 +24,7 @@ Gem::Specification.new do |s| + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q<omniauth>.freeze, [">= 1.1.1"]) + s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, [">= 1.3.1"]) +- s.add_runtime_dependency(%q<jwt>.freeze, ["~> 1.5"]) ++ s.add_runtime_dependency(%q<jwt>.freeze, [">= 1.5", "< 3.0"]) + s.add_runtime_dependency(%q<multi_json>.freeze, ["~> 1.3"]) + s.add_development_dependency(%q<rspec>.freeze, ["~> 3.6"]) + s.add_development_dependency(%q<rake>.freeze, ["~> 12.0"]) Added: head/net/rubygem-omniauth-google-oauth2/files/patch-lib-omniauth-strategies-google_oauth2.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rubygem-omniauth-google-oauth2/files/patch-lib-omniauth-strategies-google_oauth2.rb Tue Jan 2 15:34:29 2018 (r457889) @@ -0,0 +1,12 @@ +--- lib/omniauth/strategies/google_oauth2.rb.orig 2017-11-18 01:23:41 UTC ++++ lib/omniauth/strategies/google_oauth2.rb +@@ -70,7 +70,8 @@ module OmniAuth + verify_not_before: true, + verify_iat: true, + verify_jti: false, +- leeway: options[:jwt_leeway] ++ leeway: options[:jwt_leeway], ++ algorithm: 'RS256' + ).first + end + hash[:raw_info] = raw_info unless skip_info?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801021534.w02FYTD7019124>