summaryrefslogtreecommitdiff
path: root/net/rubygem-omniauth-google-oauth2-gitlab
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2024-11-22 14:08:43 +0200
committerMatthias Fechner <mfechner@FreeBSD.org>2024-11-22 15:15:15 +0200
commitedc8d0390e04766c7102c04cdba727b8c0fd22d6 (patch)
treee9fa78df8edac36c0c97c44afc4ca0514aaabe04 /net/rubygem-omniauth-google-oauth2-gitlab
parentwww/gitlab: update to 17.6.0 (diff)
www/gitlab: fix regression from 335fc7c38d61142727cb9f01fd9e401c476e4ad8
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.
Diffstat (limited to 'net/rubygem-omniauth-google-oauth2-gitlab')
-rw-r--r--net/rubygem-omniauth-google-oauth2-gitlab/Makefile22
-rw-r--r--net/rubygem-omniauth-google-oauth2-gitlab/distinfo3
-rw-r--r--net/rubygem-omniauth-google-oauth2-gitlab/pkg-descr1
3 files changed, 26 insertions, 0 deletions
diff --git a/net/rubygem-omniauth-google-oauth2-gitlab/Makefile b/net/rubygem-omniauth-google-oauth2-gitlab/Makefile
new file mode 100644
index 000000000000..3e17f9c5b405
--- /dev/null
+++ b/net/rubygem-omniauth-google-oauth2-gitlab/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= omniauth-google-oauth2
+PORTVERSION= 1.1.2
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Google OAuth2 strategy for OmniAuth 1.x
+WWW= https://github.com/zquestz/omniauth-google-oauth2
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-jwt>=2.0:www/rubygem-jwt \
+ rubygem-oauth2-gitlab>=2.0<3:net/rubygem-oauth2-gitlab \
+ rubygem-omniauth>=2.0<3:security/rubygem-omniauth \
+ rubygem-omniauth-oauth2-gitlab>=1.8<2:net/rubygem-omniauth-oauth2-gitlab
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-omniauth-google-oauth2-gitlab/distinfo b/net/rubygem-omniauth-google-oauth2-gitlab/distinfo
new file mode 100644
index 000000000000..216a0047011a
--- /dev/null
+++ b/net/rubygem-omniauth-google-oauth2-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1711860639
+SHA256 (rubygem/omniauth-google-oauth2-1.1.2.gem) = cd205b9b60f4f2c4805f1c6b548eebd3e843d049e1029b7e0b90fb8d6e5f310c
+SIZE (rubygem/omniauth-google-oauth2-1.1.2.gem) = 23552
diff --git a/net/rubygem-omniauth-google-oauth2-gitlab/pkg-descr b/net/rubygem-omniauth-google-oauth2-gitlab/pkg-descr
new file mode 100644
index 000000000000..e4d8a3e062df
--- /dev/null
+++ b/net/rubygem-omniauth-google-oauth2-gitlab/pkg-descr
@@ -0,0 +1 @@
+A Google OAuth2 strategy for OmniAuth 1.x