diff options
| author | Matthias Fechner <mfechner@FreeBSD.org> | 2024-11-22 12:08:43 +0000 |
|---|---|---|
| committer | Matthias Fechner <mfechner@FreeBSD.org> | 2024-11-22 13:15:15 +0000 |
| commit | edc8d0390e04766c7102c04cdba727b8c0fd22d6 (patch) | |
| tree | e9fa78df8edac36c0c97c44afc4ca0514aaabe04 /net | |
| parent | 2c08bdde941541c19d159fe8f51cfc01085c744a (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')
47 files changed, 440 insertions, 9 deletions
diff --git a/net/Makefile b/net/Makefile index fddeeb7fde1b..de37cc7b8174 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1299,6 +1299,7 @@ SUBDIR += rubygem-fog-dynect SUBDIR += rubygem-fog-ecloud SUBDIR += rubygem-fog-google + SUBDIR += rubygem-fog-google-gitlab SUBDIR += rubygem-fog-gridscale SUBDIR += rubygem-fog-internet-archive SUBDIR += rubygem-fog-joyent @@ -1330,9 +1331,12 @@ SUBDIR += rubygem-google-cloud-bigtable-v2 SUBDIR += rubygem-google-cloud-compute-v1 SUBDIR += rubygem-google-cloud-core + SUBDIR += rubygem-google-cloud-core-gitlab SUBDIR += rubygem-google-cloud-env + SUBDIR += rubygem-google-cloud-env-gitlab SUBDIR += rubygem-google-cloud-errors SUBDIR += rubygem-google-cloud-location + SUBDIR += rubygem-google-cloud-location-gitlab SUBDIR += rubygem-google-cloud-logging SUBDIR += rubygem-google-cloud-logging-v2 SUBDIR += rubygem-google-cloud-monitoring @@ -1347,9 +1351,12 @@ SUBDIR += rubygem-google-cloud-spanner-admin-instance-v1 SUBDIR += rubygem-google-cloud-spanner-v1 SUBDIR += rubygem-google-cloud-storage + SUBDIR += rubygem-google-cloud-storage-gitlab SUBDIR += rubygem-google-cloud-storage145 SUBDIR += rubygem-google-cloud-storage_transfer + SUBDIR += rubygem-google-cloud-storage_transfer-gitlab SUBDIR += rubygem-google-cloud-storage_transfer-v1 + SUBDIR += rubygem-google-cloud-storage_transfer-v1-gitlab SUBDIR += rubygem-google-cloud-storage_transfer12 SUBDIR += rubygem-google-cloud-trace SUBDIR += rubygem-google-cloud-trace-v1 @@ -1383,22 +1390,28 @@ SUBDIR += rubygem-oauth-tty SUBDIR += rubygem-oauth0 SUBDIR += rubygem-oauth2 + SUBDIR += rubygem-oauth2-gitlab SUBDIR += rubygem-oauth21 SUBDIR += rubygem-octokit + SUBDIR += rubygem-octokit-gitlab SUBDIR += rubygem-octokit4 SUBDIR += rubygem-octokit8 SUBDIR += rubygem-octopress-deploy SUBDIR += rubygem-omniauth-auth0 + SUBDIR += rubygem-omniauth-auth0-gitlab SUBDIR += rubygem-omniauth-authentiq SUBDIR += rubygem-omniauth-azure-activedirectory-v2 SUBDIR += rubygem-omniauth-azure-oauth2 SUBDIR += rubygem-omniauth-facebook SUBDIR += rubygem-omniauth-github SUBDIR += rubygem-omniauth-github-discourse + SUBDIR += rubygem-omniauth-github-gitlab SUBDIR += rubygem-omniauth-google-oauth2 + SUBDIR += rubygem-omniauth-google-oauth2-gitlab SUBDIR += rubygem-omniauth-kerberos SUBDIR += rubygem-omniauth-oauth SUBDIR += rubygem-omniauth-oauth2 + SUBDIR += rubygem-omniauth-oauth2-gitlab SUBDIR += rubygem-omniauth-openid SUBDIR += rubygem-omniauth-salesforce SUBDIR += rubygem-omniauth-twitter diff --git a/net/rubygem-fog-google-gitlab/Makefile b/net/rubygem-fog-google-gitlab/Makefile new file mode 100644 index 000000000000..80ad3c5411b8 --- /dev/null +++ b/net/rubygem-fog-google-gitlab/Makefile @@ -0,0 +1,33 @@ +PORTNAME= fog-google +PORTVERSION= 1.24.1 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Module for the 'fog' gem to support Google Cloud +WWW= https://github.com/fog/fog-google + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-addressable>=2.7.0:www/rubygem-addressable \ + rubygem-fog-core250>=0<2.6:devel/rubygem-fog-core250 \ + rubygem-fog-json>=1.2<2:devel/rubygem-fog-json \ + rubygem-fog-xml>=0.1.0<0.2:textproc/rubygem-fog-xml \ + rubygem-google-apis-compute_v1-gitlab>=0.53<1:devel/rubygem-google-apis-compute_v1-gitlab \ + rubygem-google-apis-dns_v1-gitlab>=0.28<1:dns/rubygem-google-apis-dns_v1-gitlab \ + rubygem-google-apis-iamcredentials_v1-gitlab>=0.15<1:devel/rubygem-google-apis-iamcredentials_v1-gitlab \ + rubygem-google-apis-monitoring_v3-gitlab>=0.37<1:devel/rubygem-google-apis-monitoring_v3-gitlab \ + rubygem-google-apis-pubsub_v1-gitlab>=0.30<1:devel/rubygem-google-apis-pubsub_v1-gitlab \ + rubygem-google-apis-sqladmin_v1beta4-gitlab>=0.38<1:devel/rubygem-google-apis-sqladmin_v1beta4-gitlab \ + rubygem-google-apis-storage_v1-gitlab>=0.19<1:devel/rubygem-google-apis-storage_v1-gitlab \ + rubygem-google-cloud-env-gitlab>=1.2<3.0:net/rubygem-google-cloud-env-gitlab + +USES= gem shebangfix + +SHEBANG_FILES= .github/scripts/setup_creds.sh + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-fog-google-gitlab/distinfo b/net/rubygem-fog-google-gitlab/distinfo new file mode 100644 index 000000000000..9c34f0e30d69 --- /dev/null +++ b/net/rubygem-fog-google-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1713001210 +SHA256 (rubygem/fog-google-1.24.1.gem) = dcd64ec5d12ed53f269afd7a88738b453e5150ef72b451900bb7abf3678358e0 +SIZE (rubygem/fog-google-1.24.1.gem) = 155648 diff --git a/net/rubygem-fog-google-gitlab/files/patch-gemspec b/net/rubygem-fog-google-gitlab/files/patch-gemspec new file mode 100644 index 000000000000..c58ba9710bf3 --- /dev/null +++ b/net/rubygem-fog-google-gitlab/files/patch-gemspec @@ -0,0 +1,11 @@ +--- fog-google.gemspec.orig 2024-10-30 07:29:28 UTC ++++ fog-google.gemspec +@@ -21,7 +21,7 @@ Gem::Specification.new do |s| + + s.specification_version = 4 + +- s.add_runtime_dependency(%q<fog-core>.freeze, ["< 2.5".freeze]) ++ s.add_runtime_dependency(%q<fog-core>.freeze, ["< 2.7".freeze]) + s.add_runtime_dependency(%q<fog-json>.freeze, ["~> 1.2".freeze]) + s.add_runtime_dependency(%q<fog-xml>.freeze, ["~> 0.1.0".freeze]) + s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, [">= 0.19".freeze, "< 1".freeze]) diff --git a/net/rubygem-fog-google-gitlab/pkg-descr b/net/rubygem-fog-google-gitlab/pkg-descr new file mode 100644 index 000000000000..066a1273bcae --- /dev/null +++ b/net/rubygem-fog-google-gitlab/pkg-descr @@ -0,0 +1,2 @@ +Fog currently supports two Google Cloud services (Google Compute Engine and +Google Cloud Storage) via Fog::Google. diff --git a/net/rubygem-gitlab-fog-azure-rm/Makefile b/net/rubygem-gitlab-fog-azure-rm/Makefile index be4d1ca04b8b..1e8c9a3b51e5 100644 --- a/net/rubygem-gitlab-fog-azure-rm/Makefile +++ b/net/rubygem-gitlab-fog-azure-rm/Makefile @@ -1,5 +1,6 @@ PORTNAME= gitlab-fog-azure-rm PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG @@ -10,9 +11,9 @@ WWW= https://gitlab.com/gitlab-org/gitlab-fog-azure-rm LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -RUN_DEPENDS= rubygem-faraday>=2.0<3:www/rubygem-faraday \ - rubygem-faraday-follow_redirects>=0.3.0<0.4:www/rubygem-faraday-follow_redirects \ - rubygem-faraday-net_http_persistent>=2.0<3:www/rubygem-faraday-net_http_persistent \ +RUN_DEPENDS= rubygem-faraday-gitlab>=2.0<3:www/rubygem-faraday-gitlab \ + rubygem-faraday-follow_redirects-gitlab>=0.3.0<0.4:www/rubygem-faraday-follow_redirects-gitlab \ + rubygem-faraday-net_http_persistent-gitlab>=2.0<3:www/rubygem-faraday-net_http_persistent-gitlab \ rubygem-fog-core>=2.1<3:devel/rubygem-fog-core \ rubygem-fog-json>=1.2<2:devel/rubygem-fog-json \ rubygem-mime-types>=0:misc/rubygem-mime-types \ diff --git a/net/rubygem-google-cloud-compute-v1/Makefile b/net/rubygem-google-cloud-compute-v1/Makefile index 93f0bcf65891..357153533ee0 100644 --- a/net/rubygem-google-cloud-compute-v1/Makefile +++ b/net/rubygem-google-cloud-compute-v1/Makefile @@ -1,5 +1,6 @@ PORTNAME= google-cloud-compute-v1 PORTVERSION= 2.6.0 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG @@ -10,7 +11,7 @@ WWW= https://github.com/googleapis/google-cloud-ruby LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.md -RUN_DEPENDS= rubygem-gapic-common>=0.20.0<2.0:devel/rubygem-gapic-common \ +RUN_DEPENDS= rubygem-gapic-common-gitlab>=0.20.0<2.0:devel/rubygem-gapic-common-gitlab \ rubygem-google-cloud-common>=1.0<2:devel/rubygem-google-cloud-common \ rubygem-google-cloud-errors>=1.0<2:net/rubygem-google-cloud-errors diff --git a/net/rubygem-google-cloud-core-gitlab/Makefile b/net/rubygem-google-cloud-core-gitlab/Makefile new file mode 100644 index 000000000000..1c303bc72a57 --- /dev/null +++ b/net/rubygem-google-cloud-core-gitlab/Makefile @@ -0,0 +1,24 @@ +PORTNAME= google-cloud-core +PORTVERSION= 1.7.1 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Internal shared library for Google Cloud Client Library +WWW= https://cloud.google.com/ruby/docs/reference/google-cloud-core/latest/ \ + https://googleapis.github.io/google-cloud-ruby/docs/ \ + https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-core \ + https://github.com/googleapis/google-cloud-ruby + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-google-cloud-env-gitlab>=1.0<3.0:net/rubygem-google-cloud-env-gitlab \ + rubygem-google-cloud-errors>=1.0<2:net/rubygem-google-cloud-errors + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-google-cloud-core-gitlab/distinfo b/net/rubygem-google-cloud-core-gitlab/distinfo new file mode 100644 index 000000000000..4db5bde3f45c --- /dev/null +++ b/net/rubygem-google-cloud-core-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723201151 +SHA256 (rubygem/google-cloud-core-1.7.1.gem) = 5af2818a9c140b276ae14451092f6b80135c3fc740e1f92b16165723f6f7012e +SIZE (rubygem/google-cloud-core-1.7.1.gem) = 19968 diff --git a/net/rubygem-google-cloud-core-gitlab/pkg-descr b/net/rubygem-google-cloud-core-gitlab/pkg-descr new file mode 100644 index 000000000000..36cd81f6e3ff --- /dev/null +++ b/net/rubygem-google-cloud-core-gitlab/pkg-descr @@ -0,0 +1,2 @@ +This library contains shared types, such as error classes, for the Google Cloud +Client Library for Ruby. diff --git a/net/rubygem-google-cloud-env-gitlab/Makefile b/net/rubygem-google-cloud-env-gitlab/Makefile new file mode 100644 index 000000000000..a4cd06d0a2a2 --- /dev/null +++ b/net/rubygem-google-cloud-env-gitlab/Makefile @@ -0,0 +1,20 @@ +PORTNAME= google-cloud-env +PORTVERSION= 2.2.1 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Provides information on Google Cloud Platform hosting environment +WWW= https://github.com/googleapis/ruby-cloud-env + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-faraday-gitlab>=1.0<3.0:www/rubygem-faraday-gitlab + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-google-cloud-env-gitlab/distinfo b/net/rubygem-google-cloud-env-gitlab/distinfo new file mode 100644 index 000000000000..c69b0b38387f --- /dev/null +++ b/net/rubygem-google-cloud-env-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728632722 +SHA256 (rubygem/google-cloud-env-2.2.1.gem) = 3c6062aee0b5c863b83f3ce125ea7831507aadf1af7c0d384b74a116c4f649cf +SIZE (rubygem/google-cloud-env-2.2.1.gem) = 33792 diff --git a/net/rubygem-google-cloud-env-gitlab/pkg-descr b/net/rubygem-google-cloud-env-gitlab/pkg-descr new file mode 100644 index 000000000000..28b5810a3ebe --- /dev/null +++ b/net/rubygem-google-cloud-env-gitlab/pkg-descr @@ -0,0 +1,2 @@ +This library provides information on the application hosting environment for +apps running on Google Cloud Platform. diff --git a/net/rubygem-google-cloud-location-gitlab/Makefile b/net/rubygem-google-cloud-location-gitlab/Makefile new file mode 100644 index 000000000000..3090bc54b461 --- /dev/null +++ b/net/rubygem-google-cloud-location-gitlab/Makefile @@ -0,0 +1,23 @@ +PORTNAME= google-cloud-location +PORTVERSION= 0.8.1 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Ruby Client for the Locations API +WWW= https://cloud.google.com/ruby/docs/reference/google-cloud-location/latest/ \ + https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-location \ + https://github.com/googleapis/google-cloud-ruby + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-gapic-common-gitlab>=0.21.1<2.0:devel/rubygem-gapic-common-gitlab \ + rubygem-google-cloud-errors>=1.0<2:net/rubygem-google-cloud-errors + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-google-cloud-location-gitlab/distinfo b/net/rubygem-google-cloud-location-gitlab/distinfo new file mode 100644 index 000000000000..33f9ed1d7dd4 --- /dev/null +++ b/net/rubygem-google-cloud-location-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725560801 +SHA256 (rubygem/google-cloud-location-0.8.1.gem) = 35915b8d0d8af4335732eab44f8160a2009331d1061aecef3a224b3a70691c06 +SIZE (rubygem/google-cloud-location-0.8.1.gem) = 29696 diff --git a/net/rubygem-google-cloud-location-gitlab/pkg-descr b/net/rubygem-google-cloud-location-gitlab/pkg-descr new file mode 100644 index 000000000000..e09c26de5359 --- /dev/null +++ b/net/rubygem-google-cloud-location-gitlab/pkg-descr @@ -0,0 +1,4 @@ +Ruby Client for the Locations API + +This is an add-on interface used by some Google API clients to provide location +management calls. diff --git a/net/rubygem-google-cloud-storage-gitlab/Makefile b/net/rubygem-google-cloud-storage-gitlab/Makefile new file mode 100644 index 000000000000..d61ccbaa6db1 --- /dev/null +++ b/net/rubygem-google-cloud-storage-gitlab/Makefile @@ -0,0 +1,29 @@ +PORTNAME= google-cloud-storage +PORTVERSION= 1.45.0 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Official library for Google Cloud Storage +WWW= https://cloud.google.com/ruby/docs/reference/google-cloud-storage/latest/ \ + https://googleapis.github.io/google-cloud-ruby/docs/ \ + https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-storage \ + https://github.com/googleapis/google-cloud-ruby + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-addressable>=2.8<3:www/rubygem-addressable \ + rubygem-digest-crc>=0.4<1:security/rubygem-digest-crc \ + rubygem-google-apis-iamcredentials_v1-gitlab>=0.1<1:devel/rubygem-google-apis-iamcredentials_v1-gitlab \ + rubygem-google-apis-storage_v1-gitlab>=0.29.0<1:devel/rubygem-google-apis-storage_v1-gitlab \ + rubygem-google-cloud-core-gitlab>=1.6<2:net/rubygem-google-cloud-core-gitlab \ + rubygem-googleauth-gitlab>=0.16.2<2.0:security/rubygem-googleauth-gitlab \ + rubygem-mini_mime>=1.0<2:mail/rubygem-mini_mime + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-google-cloud-storage-gitlab/distinfo b/net/rubygem-google-cloud-storage-gitlab/distinfo new file mode 100644 index 000000000000..1ad26222ba39 --- /dev/null +++ b/net/rubygem-google-cloud-storage-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1699774886 +SHA256 (rubygem/google-cloud-storage-1.45.0.gem) = f280abda4e608f9e91433f9dd907be4a45cdbf251ffeb275d713548e515c6300 +SIZE (rubygem/google-cloud-storage-1.45.0.gem) = 103424 diff --git a/net/rubygem-google-cloud-storage-gitlab/files/patch-gemspec b/net/rubygem-google-cloud-storage-gitlab/files/patch-gemspec new file mode 100644 index 000000000000..fd9cae572ef5 --- /dev/null +++ b/net/rubygem-google-cloud-storage-gitlab/files/patch-gemspec @@ -0,0 +1,11 @@ +--- google-cloud-storage.gemspec.orig 2024-02-21 06:36:40 UTC ++++ google-cloud-storage.gemspec +@@ -22,7 +22,7 @@ Gem::Specification.new do |s| + + s.add_runtime_dependency(%q<google-cloud-core>.freeze, ["~> 1.6".freeze]) + s.add_runtime_dependency(%q<google-apis-iamcredentials_v1>.freeze, ["~> 0.1".freeze]) +- s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.29.0".freeze]) ++ s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.29".freeze]) + s.add_runtime_dependency(%q<googleauth>.freeze, [">= 0.16.2".freeze, "< 2.a".freeze]) + s.add_runtime_dependency(%q<digest-crc>.freeze, ["~> 0.4".freeze]) + s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.8".freeze]) diff --git a/net/rubygem-google-cloud-storage-gitlab/pkg-descr b/net/rubygem-google-cloud-storage-gitlab/pkg-descr new file mode 100644 index 000000000000..22650322406e --- /dev/null +++ b/net/rubygem-google-cloud-storage-gitlab/pkg-descr @@ -0,0 +1,3 @@ +Google Cloud Storage (docs) allows you to store data on Google infrastructure +with very high reliability, performance and availability, and can be used to +distribute large data objects to users via direct download. diff --git a/net/rubygem-google-cloud-storage_transfer-gitlab/Makefile b/net/rubygem-google-cloud-storage_transfer-gitlab/Makefile new file mode 100644 index 000000000000..ec96aa693db7 --- /dev/null +++ b/net/rubygem-google-cloud-storage_transfer-gitlab/Makefile @@ -0,0 +1,21 @@ +PORTNAME= google-cloud-storage_transfer +PORTVERSION= 1.2.0 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Official library for Google Cloud Storage Transfer +WWW= https://github.com/googleapis/google-cloud-ruby + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-google-cloud-core-gitlab>=1.6<2:net/rubygem-google-cloud-core-gitlab \ + rubygem-google-cloud-storage_transfer-v1-gitlab>=0.5<2:net/rubygem-google-cloud-storage_transfer-v1-gitlab + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-google-cloud-storage_transfer-gitlab/distinfo b/net/rubygem-google-cloud-storage_transfer-gitlab/distinfo new file mode 100644 index 000000000000..b423968565e7 --- /dev/null +++ b/net/rubygem-google-cloud-storage_transfer-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725559547 +SHA256 (rubygem/google-cloud-storage_transfer-1.2.0.gem) = 132901f50889e02a0d378e6117c6408cbfc4fdbd15c9d31fabec4f4189ef1658 +SIZE (rubygem/google-cloud-storage_transfer-1.2.0.gem) = 13824 diff --git a/net/rubygem-google-cloud-storage_transfer-gitlab/pkg-descr b/net/rubygem-google-cloud-storage_transfer-gitlab/pkg-descr new file mode 100644 index 000000000000..88b48716d871 --- /dev/null +++ b/net/rubygem-google-cloud-storage_transfer-gitlab/pkg-descr @@ -0,0 +1,3 @@ +Storage Transfer Service allows you to quickly import online data into Cloud Storage. +You can also set up a repeating schedule for transferring data, as well as transfer +data within Cloud Storage, from one bucket to another. diff --git a/net/rubygem-google-cloud-storage_transfer-v1-gitlab/Makefile b/net/rubygem-google-cloud-storage_transfer-v1-gitlab/Makefile new file mode 100644 index 000000000000..a80153dedb24 --- /dev/null +++ b/net/rubygem-google-cloud-storage_transfer-v1-gitlab/Makefile @@ -0,0 +1,24 @@ +PORTNAME= google-cloud-storage_transfer-v1 +PORTVERSION= 1.1.1 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Official library for Google Cloud Storage Transfer +WWW= https://cloud.google.com/ruby/docs/reference/google-cloud-storage_transfer-v1/latest \ + https://googleapis.github.io/google-cloud-ruby/docs/ \ + https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-storage_transfer-v1 \ + https://github.com/googleapis/google-cloud-ruby + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-gapic-common-gitlab>=0.21.1<2:devel/rubygem-gapic-common-gitlab \ + rubygem-google-cloud-errors>=1.0<2:net/rubygem-google-cloud-errors + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-google-cloud-storage_transfer-v1-gitlab/distinfo b/net/rubygem-google-cloud-storage_transfer-v1-gitlab/distinfo new file mode 100644 index 000000000000..74e728ef9d41 --- /dev/null +++ b/net/rubygem-google-cloud-storage_transfer-v1-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725560903 +SHA256 (rubygem/google-cloud-storage_transfer-v1-1.1.1.gem) = 72f401b5df1483d16e333b3c818b141af44fff0ec34b7d0ead823e93b5ded4ff +SIZE (rubygem/google-cloud-storage_transfer-v1-1.1.1.gem) = 84992 diff --git a/net/rubygem-google-cloud-storage_transfer-v1-gitlab/pkg-descr b/net/rubygem-google-cloud-storage_transfer-v1-gitlab/pkg-descr new file mode 100644 index 000000000000..88b48716d871 --- /dev/null +++ b/net/rubygem-google-cloud-storage_transfer-v1-gitlab/pkg-descr @@ -0,0 +1,3 @@ +Storage Transfer Service allows you to quickly import online data into Cloud Storage. +You can also set up a repeating schedule for transferring data, as well as transfer +data within Cloud Storage, from one bucket to another. diff --git a/net/rubygem-oauth2-gitlab/Makefile b/net/rubygem-oauth2-gitlab/Makefile new file mode 100644 index 000000000000..5be782149caa --- /dev/null +++ b/net/rubygem-oauth2-gitlab/Makefile @@ -0,0 +1,25 @@ +PORTNAME= oauth2 +PORTVERSION= 2.0.9 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Ruby wrapper for the OAuth 2.0 protocol +WWW= https://github.com/oauth-xx/oauth2 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-faraday-gitlab>=0.17.3<3.0:www/rubygem-faraday-gitlab \ + rubygem-jwt>=1.0<3.0:www/rubygem-jwt \ + rubygem-multi_xml>=0.5<1:textproc/rubygem-multi_xml \ + rubygem-rack>=1.2,3<4,3:www/rubygem-rack \ + rubygem-snaky_hash>=2.0<3:devel/rubygem-snaky_hash \ + rubygem-version_gem>=1.1<2:devel/rubygem-version_gem + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-oauth2-gitlab/distinfo b/net/rubygem-oauth2-gitlab/distinfo new file mode 100644 index 000000000000..aec0acc8be92 --- /dev/null +++ b/net/rubygem-oauth2-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1663672998 +SHA256 (rubygem/oauth2-2.0.9.gem) = b21f9defcf52dc1610e0dfab4c868342173dcd707fd15c777d9f4f04e153f7fb +SIZE (rubygem/oauth2-2.0.9.gem) = 34816 diff --git a/net/rubygem-oauth2-gitlab/pkg-descr b/net/rubygem-oauth2-gitlab/pkg-descr new file mode 100644 index 000000000000..7b52f645bf9f --- /dev/null +++ b/net/rubygem-oauth2-gitlab/pkg-descr @@ -0,0 +1,4 @@ +OAuth2 is a Ruby wrapper for the OAuth 2.0 specification. This is a work in +progress, being built first to solve the pragmatic process of connecting to +existing OAuth 2.0 endpoints (a.k.a. Facebook) with the goal of building it up +to meet the entire specification over time. diff --git a/net/rubygem-octokit-gitlab/Makefile b/net/rubygem-octokit-gitlab/Makefile new file mode 100644 index 000000000000..93359febda3c --- /dev/null +++ b/net/rubygem-octokit-gitlab/Makefile @@ -0,0 +1,22 @@ +PORTNAME= octokit +PORTVERSION= 9.2.0 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Simple wrapper for the GitHub API +WWW= https://octokit.github.io/octokit.rb/ \ + https://github.com/octokit/octokit.rb + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-faraday-gitlab>=1<3:www/rubygem-faraday-gitlab \ + rubygem-sawyer>=0.9<1:www/rubygem-sawyer + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-octokit-gitlab/distinfo b/net/rubygem-octokit-gitlab/distinfo new file mode 100644 index 000000000000..52b823c9ad33 --- /dev/null +++ b/net/rubygem-octokit-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1729594564 +SHA256 (rubygem/octokit-9.2.0.gem) = 4fa47ff35ce654127edf2c836ab9269bcc8829f5542dc1e86871f697ce7f4316 +SIZE (rubygem/octokit-9.2.0.gem) = 90112 diff --git a/net/rubygem-octokit-gitlab/pkg-descr b/net/rubygem-octokit-gitlab/pkg-descr new file mode 100644 index 000000000000..2dfebdeeb443 --- /dev/null +++ b/net/rubygem-octokit-gitlab/pkg-descr @@ -0,0 +1,2 @@ +Octokit.rb wraps the GitHub API in a flat API client that follows Ruby +conventions and requires little knowledge of REST. diff --git a/net/rubygem-omniauth-auth0-gitlab/Makefile b/net/rubygem-omniauth-auth0-gitlab/Makefile new file mode 100644 index 000000000000..e841d04d397e --- /dev/null +++ b/net/rubygem-omniauth-auth0-gitlab/Makefile @@ -0,0 +1,20 @@ +PORTNAME= omniauth-auth0 +PORTVERSION= 3.1.1 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Authentication broker supporting different identity providers +WWW= https://github.com/auth0/omniauth-auth0 + +LICENSE= MIT + +RUN_DEPENDS= rubygem-omniauth>=2.0<3:security/rubygem-omniauth \ + rubygem-omniauth-oauth2-gitlab>=1.4<2:net/rubygem-omniauth-oauth2-gitlab + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-omniauth-auth0-gitlab/distinfo b/net/rubygem-omniauth-auth0-gitlab/distinfo new file mode 100644 index 000000000000..754da197ebac --- /dev/null +++ b/net/rubygem-omniauth-auth0-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1701862890 +SHA256 (rubygem/omniauth-auth0-3.1.1.gem) = 3d9e83377b37394db077cf27082d29ccff93158f072d92fc59f1e88798c6c2b2 +SIZE (rubygem/omniauth-auth0-3.1.1.gem) = 34304 diff --git a/net/rubygem-omniauth-auth0-gitlab/pkg-descr b/net/rubygem-omniauth-auth0-gitlab/pkg-descr new file mode 100644 index 000000000000..b67266f531ce --- /dev/null +++ b/net/rubygem-omniauth-auth0-gitlab/pkg-descr @@ -0,0 +1,6 @@ +Auth0 is an authentication broker that supports social identity +providers as well as enterprise identity providers such as Active +Directory, LDAP, Google Apps, Salesforce. OmniAuth is a library +that standardizes multi-provider authentication for web applications. +It was created to be powerful, flexible, and do as little as possible. +omniauth-auth0 is the omniauth strategy for Auth0. diff --git a/net/rubygem-omniauth-azure-activedirectory-v2/Makefile b/net/rubygem-omniauth-azure-activedirectory-v2/Makefile index 133be440bb57..bd7bb5af2532 100644 --- a/net/rubygem-omniauth-azure-activedirectory-v2/Makefile +++ b/net/rubygem-omniauth-azure-activedirectory-v2/Makefile @@ -1,5 +1,6 @@ PORTNAME= omniauth-azure-activedirectory-v2 PORTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG @@ -9,7 +10,7 @@ WWW= https://github.com/RIPGlobal/omniauth-azure-activedirectory-v2 LICENSE= MIT -RUN_DEPENDS= rubygem-omniauth-oauth2>=1.8<3:net/rubygem-omniauth-oauth2 +RUN_DEPENDS= rubygem-omniauth-oauth2-gitlab>=1.8<3:net/rubygem-omniauth-oauth2-gitlab USES= gem diff --git a/net/rubygem-omniauth-github-gitlab/Makefile b/net/rubygem-omniauth-github-gitlab/Makefile new file mode 100644 index 000000000000..01f1054ca218 --- /dev/null +++ b/net/rubygem-omniauth-github-gitlab/Makefile @@ -0,0 +1,20 @@ +PORTNAME= omniauth-github +PORTVERSION= 2.0.1 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Official OmniAuth strategy for GitHub +WWW= https://github.com/omniauth/omniauth-github + +LICENSE= MIT + +RUN_DEPENDS= 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-github-gitlab/distinfo b/net/rubygem-omniauth-github-gitlab/distinfo new file mode 100644 index 000000000000..1cfecf22c09c --- /dev/null +++ b/net/rubygem-omniauth-github-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1664768226 +SHA256 (rubygem/omniauth-github-2.0.1.gem) = 8ff8e70ac6d6db9d52485eef52cfa894938c941496e66b52b5e2773ade3ccad4 +SIZE (rubygem/omniauth-github-2.0.1.gem) = 9216 diff --git a/net/rubygem-omniauth-github-gitlab/pkg-descr b/net/rubygem-omniauth-github-gitlab/pkg-descr new file mode 100644 index 000000000000..493725e43e8f --- /dev/null +++ b/net/rubygem-omniauth-github-gitlab/pkg-descr @@ -0,0 +1 @@ +Official OmniAuth strategy for GitHub 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 diff --git a/net/rubygem-omniauth-oauth2-gitlab/Makefile b/net/rubygem-omniauth-oauth2-gitlab/Makefile new file mode 100644 index 000000000000..d120f0f01af6 --- /dev/null +++ b/net/rubygem-omniauth-oauth2-gitlab/Makefile @@ -0,0 +1,21 @@ +PORTNAME= omniauth-oauth2 +PORTVERSION= 1.8.0 +CATEGORIES= net rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Abstract OAuth2 strategy for OmniAuth +WWW= https://github.com/omniauth/omniauth-oauth2 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-oauth2-gitlab>=1.4<3:net/rubygem-oauth2-gitlab \ + rubygem-omniauth>=1.9<3:security/rubygem-omniauth + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/rubygem-omniauth-oauth2-gitlab/distinfo b/net/rubygem-omniauth-oauth2-gitlab/distinfo new file mode 100644 index 000000000000..e197572d0b5d --- /dev/null +++ b/net/rubygem-omniauth-oauth2-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1656093034 +SHA256 (rubygem/omniauth-oauth2-1.8.0.gem) = b2f8e9559cc7e2d4efba57607691d6d2b634b879fc5b5b6ccfefa3da85089e78 +SIZE (rubygem/omniauth-oauth2-1.8.0.gem) = 11776 diff --git a/net/rubygem-omniauth-oauth2-gitlab/files/patch-gemspec b/net/rubygem-omniauth-oauth2-gitlab/files/patch-gemspec new file mode 100644 index 000000000000..f42ffd158980 --- /dev/null +++ b/net/rubygem-omniauth-oauth2-gitlab/files/patch-gemspec @@ -0,0 +1,15 @@ +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 + diff --git a/net/rubygem-omniauth-oauth2-gitlab/pkg-descr b/net/rubygem-omniauth-oauth2-gitlab/pkg-descr new file mode 100644 index 000000000000..696e63d7c02b --- /dev/null +++ b/net/rubygem-omniauth-oauth2-gitlab/pkg-descr @@ -0,0 +1 @@ +An abstract OAuth2 strategy for OmniAuth. diff --git a/net/rubygem-openid_connect/Makefile b/net/rubygem-openid_connect/Makefile index ba15e240d539..87dddba43f00 100644 --- a/net/rubygem-openid_connect/Makefile +++ b/net/rubygem-openid_connect/Makefile @@ -1,5 +1,6 @@ PORTNAME= openid_connect PORTVERSION= 2.3.0 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG @@ -13,11 +14,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-activemodel70>=0:databases/rubygem-activemodel70 \ rubygem-attr_required>=1.0.0:devel/rubygem-attr_required \ rubygem-email_validator>=0:mail/rubygem-email_validator \ - rubygem-faraday>=2.0<3:www/rubygem-faraday \ - rubygem-faraday-follow_redirects>=0:www/rubygem-faraday-follow_redirects \ - rubygem-json-jwt>=1.16:www/rubygem-json-jwt \ + rubygem-faraday-gitlab>=2.0<3:www/rubygem-faraday-gitlab \ + rubygem-faraday-follow_redirects-gitlab>=0:www/rubygem-faraday-follow_redirects-gitlab \ + rubygem-json-jwt-gitlab>=1.16:www/rubygem-json-jwt-gitlab \ rubygem-mail>=0:mail/rubygem-mail \ - rubygem-rack-oauth2>=2.2<3:security/rubygem-rack-oauth2 \ + rubygem-rack-oauth2-gitlab>=2.2<3:security/rubygem-rack-oauth2-gitlab \ rubygem-swd>=2.0<3:www/rubygem-swd \ rubygem-tzinfo>=0:devel/rubygem-tzinfo \ rubygem-validate_url>=0:devel/rubygem-validate_url \ |
