diff --git a/security/rubygem-omniauth-alicloud/Makefile b/security/rubygem-omniauth-alicloud/Makefile index 8e7f8f2757cf..55b25405b947 100644 --- a/security/rubygem-omniauth-alicloud/Makefile +++ b/security/rubygem-omniauth-alicloud/Makefile @@ -1,21 +1,22 @@ # Created by: Matthias Fechner PORTNAME= omniauth-alicloud PORTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Wrapper the AliCloud Oauth2 API LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7.1<1.8:net/rubygem-omniauth-oauth2 +RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7.1<1.8.1:net/rubygem-omniauth-oauth2 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-omniauth-alicloud/files/patch-gemspec b/security/rubygem-omniauth-alicloud/files/patch-gemspec new file mode 100644 index 000000000000..0544987827b0 --- /dev/null +++ b/security/rubygem-omniauth-alicloud/files/patch-gemspec @@ -0,0 +1,11 @@ +--- omniauth-alicloud.gemspec.orig 2022-06-24 14:19:41 UTC ++++ omniauth-alicloud.gemspec +@@ -24,7 +24,7 @@ Gem::Specification.new do |s| + end + + if s.respond_to? :add_runtime_dependency then +- s.add_runtime_dependency(%q.freeze, ["~> 1.7.1"]) ++ s.add_runtime_dependency(%q.freeze, [">= 1.7.1", "< 1.8.1"]) + else + s.add_dependency(%q.freeze, ["~> 1.7.1"]) + end