diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-01-02 23:34:29 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-01-02 23:34:29 +0800 |
commit | c3e0637a6bbf3b2f1da6755122be3e4ab5ebae4f (patch) | |
tree | 1abcb6aed8dd75a12cf7a0973981b3fa1c9e15ee /net | |
parent | c8f12937e8f28959bd23a4210dbbf7ab6a4c949b (diff) | |
download | freebsd-ports-gnome-c3e0637a6bbf3b2f1da6755122be3e4ab5ebae4f.tar.gz freebsd-ports-gnome-c3e0637a6bbf3b2f1da6755122be3e4ab5ebae4f.tar.zst freebsd-ports-gnome-c3e0637a6bbf3b2f1da6755122be3e4ab5ebae4f.zip |
Fix gemspec for rubygem-jwt 2.1.0 update
- Bump PORTREVISION for package change
Diffstat (limited to 'net')
3 files changed, 24 insertions, 0 deletions
diff --git a/net/rubygem-omniauth-google-oauth2/Makefile b/net/rubygem-omniauth-google-oauth2/Makefile index 506d58ee51da..c80e01406f4e 100644 --- a/net/rubygem-omniauth-google-oauth2/Makefile +++ b/net/rubygem-omniauth-google-oauth2/Makefile @@ -2,6 +2,7 @@ PORTNAME= omniauth-google-oauth2 PORTVERSION= 0.5.2 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG diff --git a/net/rubygem-omniauth-google-oauth2/files/patch-gemspec b/net/rubygem-omniauth-google-oauth2/files/patch-gemspec new file mode 100644 index 000000000000..4cc94162e829 --- /dev/null +++ b/net/rubygem-omniauth-google-oauth2/files/patch-gemspec @@ -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"]) diff --git a/net/rubygem-omniauth-google-oauth2/files/patch-lib-omniauth-strategies-google_oauth2.rb b/net/rubygem-omniauth-google-oauth2/files/patch-lib-omniauth-strategies-google_oauth2.rb new file mode 100644 index 000000000000..a562773b9d16 --- /dev/null +++ b/net/rubygem-omniauth-google-oauth2/files/patch-lib-omniauth-strategies-google_oauth2.rb @@ -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? |