Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2022 13:21:04 GMT
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 535a254a2cd8 - 2022Q3 - security/rubygem-omniauth-gitlab: update to 4.0.0
Message-ID:  <202208251321.27PDL4pB089250@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q3 has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=535a254a2cd8ecc49d9a69b67ffdf6ba3667d5b6

commit 535a254a2cd8ecc49d9a69b67ffdf6ba3667d5b6
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-08-16 07:01:55 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-08-25 13:20:17 +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
    
    (cherry picked from commit 45b49e5518c93d6a7776b40a1b5f7254402c4b5d)
---
 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"])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208251321.27PDL4pB089250>