git: 45b49e5518c9 - main - security/rubygem-omniauth-gitlab: update to 4.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Aug 2022 04:23:26 UTC
The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=45b49e5518c93d6a7776b40a1b5f7254402c4b5d commit 45b49e5518c93d6a7776b40a1b5f7254402c4b5d Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2022-08-16 07:01:55 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2022-08-24 04:22:24 +0000 security/rubygem-omniauth-gitlab: update to 4.0.0 Required for gitlab-ce 15.2 Changelog: https://github.com/linchus/omniauth-gitlab/commits/master --- security/rubygem-omniauth-gitlab/Makefile | 7 +++---- security/rubygem-omniauth-gitlab/distinfo | 6 +++--- .../files/patch-omniauth-gitlab.gemspec | 19 +++++++++++++++++++ 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/security/rubygem-omniauth-gitlab/Makefile b/security/rubygem-omniauth-gitlab/Makefile index 2bf0361ac276..a78acee42c92 100644 --- a/security/rubygem-omniauth-gitlab/Makefile +++ b/security/rubygem-omniauth-gitlab/Makefile @@ -1,6 +1,5 @@ PORTNAME= omniauth-gitlab -PORTVERSION= 1.0.4 -PORTREVISION= 1 +PORTVERSION= 4.0.0 CATEGORIES= security rubygems MASTER_SITES= RG @@ -10,8 +9,8 @@ COMMENT= OmniAuth strategy for GitLab LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= rubygem-omniauth1>=1.0<2:security/rubygem-omniauth1 \ - rubygem-omniauth-oauth2>=1.0<2:net/rubygem-omniauth-oauth2 +RUN_DEPENDS= rubygem-omniauth>=2.0<3:security/rubygem-omniauth \ + rubygem-omniauth-oauth2>=1.7.1<2:net/rubygem-omniauth-oauth2 USES= gem USE_RUBY= yes diff --git a/security/rubygem-omniauth-gitlab/distinfo b/security/rubygem-omniauth-gitlab/distinfo index eef1a9bc15aa..b4e8da72ad8f 100644 --- a/security/rubygem-omniauth-gitlab/distinfo +++ b/security/rubygem-omniauth-gitlab/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1535207251 -SHA256 (rubygem/omniauth-gitlab-1.0.4.gem) = f24108b51267603c7ae2eae737af88b5c0733eb0333297b97547f784baa3e48c -SIZE (rubygem/omniauth-gitlab-1.0.4.gem) = 7680 +TIMESTAMP = 1660309812 +SHA256 (rubygem/omniauth-gitlab-4.0.0.gem) = af9f6bbd279c5269f804b567f309d60bcb017a355ec42e1fa3586451e76f94fb +SIZE (rubygem/omniauth-gitlab-4.0.0.gem) = 8192 diff --git a/security/rubygem-omniauth-gitlab/files/patch-omniauth-gitlab.gemspec b/security/rubygem-omniauth-gitlab/files/patch-omniauth-gitlab.gemspec new file mode 100644 index 000000000000..9e96d273f2cc --- /dev/null +++ b/security/rubygem-omniauth-gitlab/files/patch-omniauth-gitlab.gemspec @@ -0,0 +1,19 @@ +--- omniauth-gitlab.gemspec.orig 2022-08-12 13:11:26 UTC ++++ omniauth-gitlab.gemspec +@@ -23,14 +23,14 @@ Gem::Specification.new do |s| + + if s.respond_to? :add_runtime_dependency then + s.add_runtime_dependency(%q<omniauth>.freeze, ["~> 2.0"]) +- s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7.1"]) ++ s.add_runtime_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7"]) + s.add_development_dependency(%q<rspec>.freeze, ["~> 3.1"]) + s.add_development_dependency(%q<rspec-its>.freeze, ["~> 1.0"]) + s.add_development_dependency(%q<simplecov>.freeze, [">= 0"]) + s.add_development_dependency(%q<rake>.freeze, [">= 12.0"]) + else + s.add_dependency(%q<omniauth>.freeze, ["~> 2.0"]) +- s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7.1"]) ++ s.add_dependency(%q<omniauth-oauth2>.freeze, ["~> 1.7"]) + s.add_dependency(%q<rspec>.freeze, ["~> 3.1"]) + s.add_dependency(%q<rspec-its>.freeze, ["~> 1.0"]) + s.add_dependency(%q<simplecov>.freeze, [">= 0"])