security/rubygem-omniauth: most deps use now version 2 of omniauth

This commit is contained in:
Matthias Fechner 2022-08-16 08:35:10 +02:00
parent c4576ad471
commit e29f661c9c
13 changed files with 108 additions and 17 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= omniauth-azure-activedirectory-v2
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= net rubygems
MASTER_SITES= RG
@ -8,7 +9,7 @@ COMMENT= OAuth 2 authentication with the Azure ActiveDirectory V2 API
LICENSE= MIT
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7<2:net/rubygem-omniauth-oauth2
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7<3:net/rubygem-omniauth-oauth2
USES= gem
USE_RUBY= yes

View file

@ -0,0 +1,14 @@
--- omniauth-azure-activedirectory-v2.gemspec.orig 2022-08-09 15:06:21 UTC
+++ omniauth-azure-activedirectory-v2.gemspec
@@ -24,9 +24,9 @@ Gem::Specification.new do |s|
end
if s.respond_to? :add_runtime_dependency then
- s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7"])
+ s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, [">= 1.7"])
else
- s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7"])
+ s.add_dependency(%q<omniauth-oauth2>.freeze, [">= 1.7"])
end
end

View file

@ -1,6 +1,6 @@
PORTNAME= omniauth-azure-oauth2
PORTVERSION= 0.0.10
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net rubygems
MASTER_SITES= RG
@ -10,11 +10,12 @@ COMMENT= Azure OAuth2 Strategy for OmniAuth
LICENSE= MIT
RUN_DEPENDS= rubygem-jwt>=1.0<3:www/rubygem-jwt \
rubygem-omniauth1>=1.0<2:security/rubygem-omniauth1 \
rubygem-omniauth>=1.0<3:security/rubygem-omniauth \
rubygem-omniauth-oauth2>=1.4<2:net/rubygem-omniauth-oauth2
NO_ARCH= yes
USE_RUBY= yes
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
--- lib/omniauth/strategies/azure_oauth2.rb.orig 2017-12-06 18:00:39 UTC
--- lib/omniauth/strategies/azure_oauth2.rb.orig 2022-08-12 07:08:52 UTC
+++ lib/omniauth/strategies/azure_oauth2.rb
@@ -61,7 +61,7 @@ module OmniAuth
@@ -65,7 +65,7 @@ module OmniAuth
def raw_info
# it's all here in JWT http://msdn.microsoft.com/en-us/library/azure/dn195587.aspx

View file

@ -0,0 +1,18 @@
--- omniauth-azure-oauth2.gemspec.orig 2022-08-12 07:15:37 UTC
+++ omniauth-azure-oauth2.gemspec
@@ -22,13 +22,13 @@ Gem::Specification.new do |s|
end
if s.respond_to? :add_runtime_dependency then
- s.add_runtime_dependency(%q<omniauth>.freeze, ["~> 1.0"])
+ s.add_runtime_dependency(%q<omniauth>.freeze, [">= 1.0"])
s.add_runtime_dependency(%q<jwt>.freeze, [">= 1.0", "< 3.0"])
s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.4"])
s.add_development_dependency(%q<rspec>.freeze, [">= 2.14.0"])
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
else
- s.add_dependency(%q<omniauth>.freeze, ["~> 1.0"])
+ s.add_dependency(%q<omniauth>.freeze, [">= 1.0"])
s.add_dependency(%q<jwt>.freeze, [">= 1.0", "< 3.0"])
s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.4"])
s.add_dependency(%q<rspec>.freeze, [">= 2.14.0"])

View file

@ -1,5 +1,6 @@
PORTNAME= omniauth-facebook
PORTVERSION= 9.0.0
PORTREVISION= 1
CATEGORIES= net rubygems
MASTER_SITES= RG
@ -8,7 +9,7 @@ COMMENT= Facebook OAuth2 Strategy for OmniAuth
LICENSE= MIT
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.2<2:net/rubygem-omniauth-oauth2
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.2:net/rubygem-omniauth-oauth2
USES= gem
USE_RUBY= yes

View file

@ -0,0 +1,17 @@
--- omniauth-facebook.gemspec.orig 2022-08-12 05:57:21 UTC
+++ omniauth-facebook.gemspec
@@ -22,12 +22,12 @@ Gem::Specification.new do |s|
end
if s.respond_to? :add_runtime_dependency then
- s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.2"])
+ s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, [">= 1.2"])
s.add_development_dependency(%q<minitest>.freeze, [">= 0"])
s.add_development_dependency(%q<mocha>.freeze, [">= 0"])
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
else
- s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.2"])
+ s.add_dependency(%q<omniauth-oauth2>.freeze, [">= 1.2"])
s.add_dependency(%q<minitest>.freeze, [">= 0"])
s.add_dependency(%q<mocha>.freeze, [">= 0"])
s.add_dependency(%q<rake>.freeze, [">= 0"])

View file

@ -1,6 +1,6 @@
PORTNAME= omniauth-salesforce
PORTVERSION= 1.0.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net rubygems
MASTER_SITES= RG
@ -10,7 +10,7 @@ COMMENT= OmniAuth strategy for salesforce.com
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-omniauth1>=1.0<2:security/rubygem-omniauth1 \
RUN_DEPENDS= rubygem-omniauth>=1.0<3:security/rubygem-omniauth \
rubygem-omniauth-oauth2>=1.0<2:net/rubygem-omniauth-oauth2
USES= gem

View file

@ -0,0 +1,19 @@
--- omniauth-salesforce.gemspec.orig 2022-08-12 14:54:54 UTC
+++ omniauth-salesforce.gemspec
@@ -23,14 +23,14 @@ Gem::Specification.new do |s|
end
if s.respond_to? :add_runtime_dependency then
- s.add_runtime_dependency(%q<omniauth>.freeze, ["~> 1.0"])
+ s.add_runtime_dependency(%q<omniauth>.freeze, [">= 1.0"])
s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.0"])
s.add_development_dependency(%q<rspec>.freeze, ["~> 2.7"])
s.add_development_dependency(%q<rack-test>.freeze, [">= 0"])
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
s.add_development_dependency(%q<webmock>.freeze, [">= 0"])
else
- s.add_dependency(%q<omniauth>.freeze, ["~> 1.0"])
+ s.add_dependency(%q<omniauth>.freeze, [">= 1.0"])
s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.0"])
s.add_dependency(%q<rspec>.freeze, ["~> 2.7"])
s.add_dependency(%q<rack-test>.freeze, [">= 0"])

View file

@ -1,6 +1,6 @@
PORTNAME= omniauth-alicloud
PORTVERSION= 1.0.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security rubygems
MASTER_SITES= RG
@ -10,7 +10,7 @@ COMMENT= Wrapper the AliCloud Oauth2 API
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7.1<1.8.1:net/rubygem-omniauth-oauth2
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7<2:net/rubygem-omniauth-oauth2
USES= gem
USE_RUBY= yes

View file

@ -1,11 +1,14 @@
--- omniauth-alicloud.gemspec.orig 2022-06-24 14:19:41 UTC
--- omniauth-alicloud.gemspec.orig 2022-07-26 11:42:41 UTC
+++ omniauth-alicloud.gemspec
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
@@ -24,9 +24,9 @@ Gem::Specification.new do |s|
end
if s.respond_to? :add_runtime_dependency then
- s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7.1"])
+ s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, [">= 1.7.1", "< 1.8.1"])
+ s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, [">= 1.7.1"])
else
s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7.1"])
- s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7.1"])
+ s.add_dependency(%q<omniauth-oauth2>.freeze, [">= 1.7.1"])
end
end

View file

@ -1,5 +1,6 @@
PORTNAME= omniauth-dingtalk-oauth2
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= security rubygems
MASTER_SITES= RG
@ -9,7 +10,7 @@ COMMENT= Wrapper the DingTalk Oauth2 API
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7<2:net/rubygem-omniauth-oauth2
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7<3:net/rubygem-omniauth-oauth2
USES= gem
USE_RUBY= yes

View file

@ -0,0 +1,16 @@
--- omniauth-dingtalk-oauth2.gemspec.orig 2022-08-09 16:03:30 UTC
+++ omniauth-dingtalk-oauth2.gemspec
@@ -24,11 +24,11 @@ Gem::Specification.new do |s|
end
if s.respond_to? :add_runtime_dependency then
- s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7"])
+ s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, [">= 1.7"])
s.add_development_dependency(%q<rake>.freeze, ["~> 12.0"])
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0"])
else
- s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7"])
+ s.add_dependency(%q<omniauth-oauth2>.freeze, [">= 1.7"])
s.add_dependency(%q<rake>.freeze, ["~> 12.0"])
s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
end