aboutsummaryrefslogtreecommitdiff
path: root/security/rubygem-omniauth
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-02-02 14:23:08 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-02-02 14:23:08 +0000
commit6ea17b1082dd186a0d6e075b26bcfd1876ca1d45 (patch)
tree20fc41cbde6c682f6d7769a1e23b8f2b8fbe96e2 /security/rubygem-omniauth
parent2514044d30d8bd1925f32866dd3f30fad21bc1e2 (diff)
Notes
Diffstat (limited to 'security/rubygem-omniauth')
-rw-r--r--security/rubygem-omniauth/Makefile3
-rw-r--r--security/rubygem-omniauth/files/patch-gemspec11
2 files changed, 13 insertions, 1 deletions
diff --git a/security/rubygem-omniauth/Makefile b/security/rubygem-omniauth/Makefile
index 997d940d27ad..04a705072649 100644
--- a/security/rubygem-omniauth/Makefile
+++ b/security/rubygem-omniauth/Makefile
@@ -2,6 +2,7 @@
PORTNAME= omniauth
PORTVERSION= 1.9.0
+PORTREVISION= 1
CATEGORIES= security rubygems
MASTER_SITES= RG
@@ -11,7 +12,7 @@ COMMENT= Generalized Rack framework for multiple-provider authentication
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-RUN_DEPENDS= rubygem-hashie>=3.4.6<3.7.0:devel/rubygem-hashie \
+RUN_DEPENDS= rubygem-hashie>=3.4.6:devel/rubygem-hashie \
rubygem-rack>=1.6.2,3<3,3:www/rubygem-rack
USES= gem
diff --git a/security/rubygem-omniauth/files/patch-gemspec b/security/rubygem-omniauth/files/patch-gemspec
new file mode 100644
index 000000000000..b570807ef315
--- /dev/null
+++ b/security/rubygem-omniauth/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- omniauth.gemspec.orig 2020-02-02 13:45:51 UTC
++++ omniauth.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+ s.specification_version = 4
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+- s.add_runtime_dependency(%q<hashie>.freeze, [">= 3.4.6", "< 3.7.0"])
++ s.add_runtime_dependency(%q<hashie>.freeze, [">= 3.4.6"])
+ s.add_runtime_dependency(%q<rack>.freeze, [">= 1.6.2", "< 3"])
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 1.14"])
+ s.add_development_dependency(%q<rake>.freeze, ["~> 12.0"])