From edc8d0390e04766c7102c04cdba727b8c0fd22d6 Mon Sep 17 00:00:00 2001 From: Matthias Fechner Date: Fri, 22 Nov 2024 14:08:43 +0200 Subject: 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. --- textproc/rubygem-elasticsearch-api-gitlab/Makefile | 20 ++++++++++++++++++++ textproc/rubygem-elasticsearch-api-gitlab/distinfo | 3 +++ textproc/rubygem-elasticsearch-api-gitlab/pkg-descr | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 textproc/rubygem-elasticsearch-api-gitlab/Makefile create mode 100644 textproc/rubygem-elasticsearch-api-gitlab/distinfo create mode 100644 textproc/rubygem-elasticsearch-api-gitlab/pkg-descr (limited to 'textproc/rubygem-elasticsearch-api-gitlab') diff --git a/textproc/rubygem-elasticsearch-api-gitlab/Makefile b/textproc/rubygem-elasticsearch-api-gitlab/Makefile new file mode 100644 index 000000000000..aa647ba86c7a --- /dev/null +++ b/textproc/rubygem-elasticsearch-api-gitlab/Makefile @@ -0,0 +1,20 @@ +PORTNAME= elasticsearch-api +PORTVERSION= 7.17.11 +CATEGORIES= textproc rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Ruby API for Elasticsearch +WWW= https://github.com/elastic/elasticsearch-ruby/tree/master/elasticsearch-api + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-multi_json>=0:devel/rubygem-multi_json + +USES= gem + +NO_ARCH= yes + +.include diff --git a/textproc/rubygem-elasticsearch-api-gitlab/distinfo b/textproc/rubygem-elasticsearch-api-gitlab/distinfo new file mode 100644 index 000000000000..3a87b52ea55a --- /dev/null +++ b/textproc/rubygem-elasticsearch-api-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1732273675 +SHA256 (rubygem/elasticsearch-api-7.17.11.gem) = fed8f7b64493c97cf3984a33396a798204b54b8e1b01c5b6c099fa3fd4209107 +SIZE (rubygem/elasticsearch-api-7.17.11.gem) = 94208 diff --git a/textproc/rubygem-elasticsearch-api-gitlab/pkg-descr b/textproc/rubygem-elasticsearch-api-gitlab/pkg-descr new file mode 100644 index 000000000000..ac4e2f9daa1c --- /dev/null +++ b/textproc/rubygem-elasticsearch-api-gitlab/pkg-descr @@ -0,0 +1,2 @@ +Ruby API for Elasticsearch. See textproc/rubygem-elasticsearch for more +details. -- cgit v1.2.3