git: 02c44a215327 - main - www/gitlab-ce: added new ports required by gitlab-ce 15.2

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Wed, 24 Aug 2022 04:23:10 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02c44a2153278ddbf5a52fa5e661b353eafc9e25

commit 02c44a2153278ddbf5a52fa5e661b353eafc9e25
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-08-16 06:39:02 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-08-24 04:22:18 +0000

    www/gitlab-ce: added new ports required by gitlab-ce 15.2
---
 devel/Makefile                                     |  1 +
 devel/rubygem-fog-core220/Makefile                 | 25 ++++++++++++++++++++++
 devel/rubygem-fog-core220/distinfo                 |  3 +++
 .../files/patch-fog-core.gemspec                   | 20 +++++++++++++++++
 devel/rubygem-fog-core220/pkg-descr                |  4 ++++
 security/Makefile                                  |  1 +
 security/rubygem-omniauth-cas3-oauth2/Makefile     | 22 +++++++++++++++++++
 security/rubygem-omniauth-cas3-oauth2/distinfo     |  3 +++
 .../files/patch-omniauth-cas3.gemspec              | 20 +++++++++++++++++
 security/rubygem-omniauth-cas3-oauth2/pkg-descr    |  5 +++++
 10 files changed, 104 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 030d1a967f9a..0f15a40d7ac6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6435,6 +6435,7 @@
     SUBDIR += rubygem-fog-core
     SUBDIR += rubygem-fog-core1
     SUBDIR += rubygem-fog-core210
+    SUBDIR += rubygem-fog-core220
     SUBDIR += rubygem-fog-json
     SUBDIR += rubygem-font-awesome-rails
     SUBDIR += rubygem-font-awesome-rails-rails5
diff --git a/devel/rubygem-fog-core220/Makefile b/devel/rubygem-fog-core220/Makefile
new file mode 100644
index 000000000000..d6cf955ac928
--- /dev/null
+++ b/devel/rubygem-fog-core220/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	fog-core
+PORTVERSION=	2.2.4
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	220
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Shared classes and tests for fog providers and services
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-builder>=0:devel/rubygem-builder \
+		rubygem-excon>=0.71<1:devel/rubygem-excon \
+		rubygem-formatador>=0.2<2:devel/rubygem-formatador \
+		rubygem-mime-types>=0:misc/rubygem-mime-types
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^2\.2\.0
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-fog-core220/distinfo b/devel/rubygem-fog-core220/distinfo
new file mode 100644
index 000000000000..e84bbe1c3048
--- /dev/null
+++ b/devel/rubygem-fog-core220/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660305204
+SHA256 (rubygem/fog-core-2.2.4.gem) = 0f03d08dcc7f03434c4d61d591dac6e45175d2f7262ac1fd56cd67ff6f99bf50
+SIZE (rubygem/fog-core-2.2.4.gem) = 55808
diff --git a/devel/rubygem-fog-core220/files/patch-fog-core.gemspec b/devel/rubygem-fog-core220/files/patch-fog-core.gemspec
new file mode 100644
index 000000000000..eea2f6d2437e
--- /dev/null
+++ b/devel/rubygem-fog-core220/files/patch-fog-core.gemspec
@@ -0,0 +1,20 @@
+--- fog-core.gemspec.orig	2022-08-12 11:59:03 UTC
++++ fog-core.gemspec
+@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
+     s.add_runtime_dependency(%q<builder>.freeze, [">= 0"])
+     s.add_runtime_dependency(%q<mime-types>.freeze, [">= 0"])
+     s.add_runtime_dependency(%q<excon>.freeze, ["~> 0.71"])
+-    s.add_runtime_dependency(%q<formatador>.freeze, ["~> 0.2"])
++    s.add_runtime_dependency(%q<formatador>.freeze, [">= 0.2"])
+     s.add_development_dependency(%q<tins>.freeze, [">= 0"])
+     s.add_development_dependency(%q<coveralls>.freeze, [">= 0"])
+     s.add_development_dependency(%q<minitest>.freeze, [">= 0"])
+@@ -41,7 +41,7 @@ Gem::Specification.new do |s|
+     s.add_dependency(%q<builder>.freeze, [">= 0"])
+     s.add_dependency(%q<mime-types>.freeze, [">= 0"])
+     s.add_dependency(%q<excon>.freeze, ["~> 0.71"])
+-    s.add_dependency(%q<formatador>.freeze, ["~> 0.2"])
++    s.add_dependency(%q<formatador>.freeze, [">= 0.2"])
+     s.add_dependency(%q<tins>.freeze, [">= 0"])
+     s.add_dependency(%q<coveralls>.freeze, [">= 0"])
+     s.add_dependency(%q<minitest>.freeze, [">= 0"])
diff --git a/devel/rubygem-fog-core220/pkg-descr b/devel/rubygem-fog-core220/pkg-descr
new file mode 100644
index 000000000000..b8ef61810117
--- /dev/null
+++ b/devel/rubygem-fog-core220/pkg-descr
@@ -0,0 +1,4 @@
+rubygem-fog-core (Fog::Core) provides shared classes and tests for fog providers
+and services.
+
+WWW: https://github.com/fog/fog-core
diff --git a/security/Makefile b/security/Makefile
index 8115f2fb2672..9189839a3725 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1080,6 +1080,7 @@
     SUBDIR += rubygem-omniauth-bitbucket
     SUBDIR += rubygem-omniauth-cas
     SUBDIR += rubygem-omniauth-cas3
+    SUBDIR += rubygem-omniauth-cas3-oauth2
     SUBDIR += rubygem-omniauth-dingtalk-oauth2
     SUBDIR += rubygem-omniauth-gitlab
     SUBDIR += rubygem-omniauth-jwt
diff --git a/security/rubygem-omniauth-cas3-oauth2/Makefile b/security/rubygem-omniauth-cas3-oauth2/Makefile
new file mode 100644
index 000000000000..9cb099288463
--- /dev/null
+++ b/security/rubygem-omniauth-cas3-oauth2/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	omniauth-cas3
+PORTVERSION=	1.1.4
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-oauth2
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	CAS 3.0 Strategy for OmniAuth
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-addressable>=2.3<3:www/rubygem-addressable \
+		rubygem-nokogiri>=1.7.1<2:textproc/rubygem-nokogiri \
+		rubygem-omniauth>=1.2<3:security/rubygem-omniauth
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-omniauth-cas3-oauth2/distinfo b/security/rubygem-omniauth-cas3-oauth2/distinfo
new file mode 100644
index 000000000000..942149eb8ce0
--- /dev/null
+++ b/security/rubygem-omniauth-cas3-oauth2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1494936612
+SHA256 (rubygem/omniauth-cas3-1.1.4.gem) = fd6151039fc0cb1ca8914d3b6ddeb05ce484101bb2bbee49f1b5ca46aa242ba4
+SIZE (rubygem/omniauth-cas3-1.1.4.gem) = 15872
diff --git a/security/rubygem-omniauth-cas3-oauth2/files/patch-omniauth-cas3.gemspec b/security/rubygem-omniauth-cas3-oauth2/files/patch-omniauth-cas3.gemspec
new file mode 100644
index 000000000000..25aedfc052a8
--- /dev/null
+++ b/security/rubygem-omniauth-cas3-oauth2/files/patch-omniauth-cas3.gemspec
@@ -0,0 +1,20 @@
+--- omniauth-cas3.gemspec.orig	2022-08-12 07:04:12 UTC
++++ omniauth-cas3.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+   end
+ 
+   if s.respond_to? :add_runtime_dependency then
+-    s.add_runtime_dependency(%q<omniauth>.freeze, ["~> 1.2"])
++    s.add_runtime_dependency(%q<omniauth>.freeze, [">= 1.2"])
+     s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.7", ">= 1.7.1"])
+     s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.3"])
+     s.add_development_dependency(%q<rake>.freeze, ["~> 10.0"])
+@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
+     s.add_development_dependency(%q<rack-test>.freeze, ["~> 0.6"])
+     s.add_development_dependency(%q<awesome_print>.freeze, [">= 0"])
+   else
+-    s.add_dependency(%q<omniauth>.freeze, ["~> 1.2"])
++    s.add_dependency(%q<omniauth>.freeze, [">= 1.2"])
+     s.add_dependency(%q<nokogiri>.freeze, ["~> 1.7", ">= 1.7.1"])
+     s.add_dependency(%q<addressable>.freeze, ["~> 2.3"])
+     s.add_dependency(%q<rake>.freeze, ["~> 10.0"])
diff --git a/security/rubygem-omniauth-cas3-oauth2/pkg-descr b/security/rubygem-omniauth-cas3-oauth2/pkg-descr
new file mode 100644
index 000000000000..f6556043a3a7
--- /dev/null
+++ b/security/rubygem-omniauth-cas3-oauth2/pkg-descr
@@ -0,0 +1,5 @@
+This is a OmniAuth 1.0 compatible port of the previously available OmniAuth CAS
+strategy that was bundled with OmniAuth 0.3. This strategy haas also been
+updated for CAS protocol version 3.0 and patched to deal with namespace issues.
+
+WWW: https://github.com/tduehr/omniauth-cas3