summaryrefslogtreecommitdiff
path: root/security/rubygem-omniauth-dingtalk-oauth2
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2022-08-16 08:35:10 +0200
committerMatthias Fechner <mfechner@FreeBSD.org>2022-08-24 06:22:18 +0200
commite29f661c9c9db68a2fca2a8e44a6b6a6dd2fed1e (patch)
tree2788e921570956f9049fdfbe9cbc9a86f1d5c821 /security/rubygem-omniauth-dingtalk-oauth2
parentcad/nvc: Broken on 14/i386 (diff)
security/rubygem-omniauth: most deps use now version 2 of omniauth
Diffstat (limited to 'security/rubygem-omniauth-dingtalk-oauth2')
-rw-r--r--security/rubygem-omniauth-dingtalk-oauth2/Makefile3
-rw-r--r--security/rubygem-omniauth-dingtalk-oauth2/files/patch-omniauth-dingtalk-oauth2.gemspec16
2 files changed, 18 insertions, 1 deletions
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<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