ports/net/rubygem-omniauth-oauth2-gitlab/files/patch-gemspec
Matthias Fechner edc8d0390e www/gitlab: fix regression from 335fc7c38d
Gitlab requires net-http 0.4.1:
Because faraday >= 2, < 2.5 could not be found in locally installed gems
  and faraday >= 2.5, < 2.12.1 could not be found in locally installed gems,
  faraday >= 2, < 2.12.1 cannot be used.
And because faraday >= 2.12.1 depends on faraday-net_http >= 2.0, < 3.5,
  faraday >= 2 requires faraday-net_http >= 2.0, < 3.5.
Because faraday-net_http >= 3.4.0 depends on net-http >= 0.5.0
and faraday-net_http >= 2.0, < 3.4.0 could not be found in locally installed
gems,
  faraday-net_http >= 2.0 requires net-http >= 0.5.0.
Thus, faraday >= 2 requires net-http >= 0.5.0.
So, because Gemfile depends on faraday ~> 2
  and Gemfile depends on net-http = 0.4.1,
  version solving has failed.

While fixing the problem, moved gitlab used packages to own package names with a
PKGNAMESUFFIX of `-gitlab`.
This should make the gitlab package much more stable if updates in the ports are done.
2024-11-22 15:15:15 +02:00

15 lines
567 B
Text

Fix runtime of www/gitlab-ce
Allow omniauth 1.9.* to fix bundler check when gitlab starts.
--- omniauth-oauth2.gemspec.orig 2024-02-21 06:39:47 UTC
+++ omniauth-oauth2.gemspec
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.specification_version = 4
s.add_runtime_dependency(%q<oauth2>.freeze, [">= 1.4".freeze, "< 3".freeze])
- s.add_runtime_dependency(%q<omniauth>.freeze, ["~> 2.0".freeze])
+ s.add_runtime_dependency(%q<omniauth>.freeze, [">= 1.9".freeze, "< 3".freeze])
s.add_development_dependency(%q<bundler>.freeze, ["~> 2.0".freeze])
end