From e29f661c9c9db68a2fca2a8e44a6b6a6dd2fed1e Mon Sep 17 00:00:00 2001 From: Matthias Fechner Date: Tue, 16 Aug 2022 08:35:10 +0200 Subject: security/rubygem-omniauth: most deps use now version 2 of omniauth --- security/rubygem-omniauth-dingtalk-oauth2/Makefile | 3 ++- .../files/patch-omniauth-dingtalk-oauth2.gemspec | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 security/rubygem-omniauth-dingtalk-oauth2/files/patch-omniauth-dingtalk-oauth2.gemspec (limited to 'security/rubygem-omniauth-dingtalk-oauth2') diff --git a/security/rubygem-omniauth-dingtalk-oauth2/Makefile b/security/rubygem-omniauth-dingtalk-oauth2/Makefile index f8d7abab7f96..739252d33658 100644 --- a/security/rubygem-omniauth-dingtalk-oauth2/Makefile +++ b/security/rubygem-omniauth-dingtalk-oauth2/Makefile @@ -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 diff --git a/security/rubygem-omniauth-dingtalk-oauth2/files/patch-omniauth-dingtalk-oauth2.gemspec b/security/rubygem-omniauth-dingtalk-oauth2/files/patch-omniauth-dingtalk-oauth2.gemspec new file mode 100644 index 000000000000..689535f20271 --- /dev/null +++ b/security/rubygem-omniauth-dingtalk-oauth2/files/patch-omniauth-dingtalk-oauth2.gemspec @@ -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.freeze, ["~> 1.7"]) ++ s.add_runtime_dependency(%q.freeze, [">= 1.7"]) + s.add_development_dependency(%q.freeze, ["~> 12.0"]) + s.add_development_dependency(%q.freeze, ["~> 3.0"]) + else +- s.add_dependency(%q.freeze, ["~> 1.7"]) ++ s.add_dependency(%q.freeze, [">= 1.7"]) + s.add_dependency(%q.freeze, ["~> 12.0"]) + s.add_dependency(%q.freeze, ["~> 3.0"]) + end -- cgit v1.2.3