diff options
author | Matthias Fechner <mfechner@FreeBSD.org> | 2024-11-22 14:08:43 +0200 |
---|---|---|
committer | Matthias Fechner <mfechner@FreeBSD.org> | 2024-11-22 15:15:15 +0200 |
commit | edc8d0390e04766c7102c04cdba727b8c0fd22d6 (patch) | |
tree | e9fa78df8edac36c0c97c44afc4ca0514aaabe04 /textproc/rubygem-elasticsearch-gitlab | |
parent | www/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 'textproc/rubygem-elasticsearch-gitlab')
-rw-r--r-- | textproc/rubygem-elasticsearch-gitlab/Makefile | 24 | ||||
-rw-r--r-- | textproc/rubygem-elasticsearch-gitlab/distinfo | 3 | ||||
-rw-r--r-- | textproc/rubygem-elasticsearch-gitlab/pkg-descr | 5 |
3 files changed, 32 insertions, 0 deletions
diff --git a/textproc/rubygem-elasticsearch-gitlab/Makefile b/textproc/rubygem-elasticsearch-gitlab/Makefile new file mode 100644 index 000000000000..aa5d441a87ee --- /dev/null +++ b/textproc/rubygem-elasticsearch-gitlab/Makefile @@ -0,0 +1,24 @@ +PORTNAME= elasticsearch +PORTVERSION= 7.17.11 +CATEGORIES= textproc rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Ruby integrations for Elasticsearch +WWW= https://github.com/elastic/elasticsearch-ruby + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-elasticsearch-api-gitlab>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-elasticsearch-api-gitlab \ + rubygem-elasticsearch-transport-gitlab>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-elasticsearch-transport-gitlab + +USES= gem + +NO_ARCH= yes + +post-install: + ${RM} ${STAGEDIR}${PREFIX}/bin/elastic_ruby_console + +.include <bsd.port.mk> diff --git a/textproc/rubygem-elasticsearch-gitlab/distinfo b/textproc/rubygem-elasticsearch-gitlab/distinfo new file mode 100644 index 000000000000..a7ef27a0c361 --- /dev/null +++ b/textproc/rubygem-elasticsearch-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1717568518 +SHA256 (rubygem/elasticsearch-7.17.11.gem) = ed080f085d939f21d07f424ebcea95326e4bdb5f770a8f33aac699374f2ffc86 +SIZE (rubygem/elasticsearch-7.17.11.gem) = 15360 diff --git a/textproc/rubygem-elasticsearch-gitlab/pkg-descr b/textproc/rubygem-elasticsearch-gitlab/pkg-descr new file mode 100644 index 000000000000..858281e80414 --- /dev/null +++ b/textproc/rubygem-elasticsearch-gitlab/pkg-descr @@ -0,0 +1,5 @@ +Ruby integrations for Elasticsearch that feature: + +* a client for connecting to an Elasticsearch cluster +* a Ruby API for the Elasticsearch's REST API +* various extensions and utilities |