Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2024 07:13:56 GMT
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 68b6289ca0f6 - 2024Q4 - www/gitlab: fix problems related to aws-sdk* package upgrades
Message-ID:  <202410100713.49A7DuEZ060399@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68b6289ca0f6f152cdfff1e81d21845982551d68

commit 68b6289ca0f6f152cdfff1e81d21845982551d68
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-10-10 05:18:21 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-10-10 07:06:49 +0000

    www/gitlab: fix problems related to aws-sdk* package upgrades
    
    Gitlab uses now dedicated packages it requires with the specific version.
    
    PR:             281980
    (cherry picked from commit 487036c6007f3f7393a3737b20c3ece45042e7a4)
---
 devel/Makefile                                     |  4 ++++
 .../rubygem-aws-sdk-cloudformation-gitlab/Makefile | 20 +++++++++++++++++++
 .../rubygem-aws-sdk-cloudformation-gitlab/distinfo |  3 +++
 .../pkg-descr                                      |  1 +
 devel/rubygem-aws-sdk-core-gitlab/Makefile         | 23 ++++++++++++++++++++++
 devel/rubygem-aws-sdk-core-gitlab/distinfo         |  3 +++
 devel/rubygem-aws-sdk-core-gitlab/pkg-descr        |  2 ++
 devel/rubygem-aws-sdk-kms-gitlab/Makefile          | 21 ++++++++++++++++++++
 devel/rubygem-aws-sdk-kms-gitlab/distinfo          |  3 +++
 devel/rubygem-aws-sdk-kms-gitlab/pkg-descr         |  1 +
 devel/rubygem-aws-sdk-s3-gitlab/Makefile           | 22 +++++++++++++++++++++
 devel/rubygem-aws-sdk-s3-gitlab/distinfo           |  3 +++
 devel/rubygem-aws-sdk-s3-gitlab/pkg-descr          |  1 +
 www/gitlab/Makefile                                |  8 ++++----
 www/gitlab/files/patch-Gemfile                     | 14 +------------
 15 files changed, 112 insertions(+), 17 deletions(-)

diff --git a/devel/Makefile b/devel/Makefile
index f45594739661..1d5b61cef44f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6443,6 +6443,7 @@
     SUBDIR += rubygem-aws-sdk-cloudcontrolapi
     SUBDIR += rubygem-aws-sdk-clouddirectory
     SUBDIR += rubygem-aws-sdk-cloudformation
+    SUBDIR += rubygem-aws-sdk-cloudformation-gitlab
     SUBDIR += rubygem-aws-sdk-cloudfront
     SUBDIR += rubygem-aws-sdk-cloudfrontkeyvaluestore
     SUBDIR += rubygem-aws-sdk-cloudhsm
@@ -6485,6 +6486,7 @@
     SUBDIR += rubygem-aws-sdk-controlcatalog
     SUBDIR += rubygem-aws-sdk-controltower
     SUBDIR += rubygem-aws-sdk-core
+    SUBDIR += rubygem-aws-sdk-core-gitlab
     SUBDIR += rubygem-aws-sdk-core2
     SUBDIR += rubygem-aws-sdk-costandusagereportservice
     SUBDIR += rubygem-aws-sdk-costexplorer
@@ -6595,6 +6597,7 @@
     SUBDIR += rubygem-aws-sdk-kinesisvideosignalingchannels
     SUBDIR += rubygem-aws-sdk-kinesisvideowebrtcstorage
     SUBDIR += rubygem-aws-sdk-kms
+    SUBDIR += rubygem-aws-sdk-kms-gitlab
     SUBDIR += rubygem-aws-sdk-lakeformation
     SUBDIR += rubygem-aws-sdk-lambda
     SUBDIR += rubygem-aws-sdk-lambdapreview
@@ -6712,6 +6715,7 @@
     SUBDIR += rubygem-aws-sdk-route53recoveryreadiness
     SUBDIR += rubygem-aws-sdk-route53resolver
     SUBDIR += rubygem-aws-sdk-s3
+    SUBDIR += rubygem-aws-sdk-s3-gitlab
     SUBDIR += rubygem-aws-sdk-s3control
     SUBDIR += rubygem-aws-sdk-s3outposts
     SUBDIR += rubygem-aws-sdk-sagemaker
diff --git a/devel/rubygem-aws-sdk-cloudformation-gitlab/Makefile b/devel/rubygem-aws-sdk-cloudformation-gitlab/Makefile
new file mode 100644
index 000000000000..b8dc652e5178
--- /dev/null
+++ b/devel/rubygem-aws-sdk-cloudformation-gitlab/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	aws-sdk-cloudformation
+PORTVERSION=	1.41.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-gitlab
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Official AWS Ruby gem for AWS CloudFormation
+WWW=		https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudformation
+
+LICENSE=	APACHE20
+
+RUN_DEPENDS=	rubygem-aws-sdk-core-gitlab>=3.99.0<4:devel/rubygem-aws-sdk-core-gitlab \
+		rubygem-aws-sigv4>=1.1<2:devel/rubygem-aws-sigv4
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-aws-sdk-cloudformation-gitlab/distinfo b/devel/rubygem-aws-sdk-cloudformation-gitlab/distinfo
new file mode 100644
index 000000000000..e33d2419fd5a
--- /dev/null
+++ b/devel/rubygem-aws-sdk-cloudformation-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728535574
+SHA256 (rubygem/aws-sdk-cloudformation-1.41.0.gem) = 31e47539719734413671edf9b1a31f8673fbf9688549f50c41affabbcb1c6b26
+SIZE (rubygem/aws-sdk-cloudformation-1.41.0.gem) = 120320
diff --git a/devel/rubygem-aws-sdk-cloudformation-gitlab/pkg-descr b/devel/rubygem-aws-sdk-cloudformation-gitlab/pkg-descr
new file mode 100644
index 000000000000..6a062fdb145a
--- /dev/null
+++ b/devel/rubygem-aws-sdk-cloudformation-gitlab/pkg-descr
@@ -0,0 +1 @@
+Official AWS Ruby gem for AWS CloudFormation.
diff --git a/devel/rubygem-aws-sdk-core-gitlab/Makefile b/devel/rubygem-aws-sdk-core-gitlab/Makefile
new file mode 100644
index 000000000000..bcf43bcc9826
--- /dev/null
+++ b/devel/rubygem-aws-sdk-core-gitlab/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	aws-sdk-core
+PORTVERSION=	3.202.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-gitlab
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	AWS SDK for Ruby - Core
+WWW=		https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-aws-eventstream>=1.3.0<2:devel/rubygem-aws-eventstream \
+		rubygem-aws-partitions>=1.651.0<2:devel/rubygem-aws-partitions \
+		rubygem-aws-sigv4>=1.9<2:devel/rubygem-aws-sigv4 \
+		rubygem-jmespath>=1.6.1<2:devel/rubygem-jmespath
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-aws-sdk-core-gitlab/distinfo b/devel/rubygem-aws-sdk-core-gitlab/distinfo
new file mode 100644
index 000000000000..011c3d42670e
--- /dev/null
+++ b/devel/rubygem-aws-sdk-core-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728535040
+SHA256 (rubygem/aws-sdk-core-3.202.2.gem) = 732a51d71938db90aab5dcb6fe9c86f023c0b431b350b324ecff16efcc667092
+SIZE (rubygem/aws-sdk-core-3.202.2.gem) = 374784
diff --git a/devel/rubygem-aws-sdk-core-gitlab/pkg-descr b/devel/rubygem-aws-sdk-core-gitlab/pkg-descr
new file mode 100644
index 000000000000..99ad2101b8c4
--- /dev/null
+++ b/devel/rubygem-aws-sdk-core-gitlab/pkg-descr
@@ -0,0 +1,2 @@
+Provides API clients for AWS. This gem is part of the official AWS SDK for
+Ruby.
diff --git a/devel/rubygem-aws-sdk-kms-gitlab/Makefile b/devel/rubygem-aws-sdk-kms-gitlab/Makefile
new file mode 100644
index 000000000000..a0ab248c3774
--- /dev/null
+++ b/devel/rubygem-aws-sdk-kms-gitlab/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	aws-sdk-kms
+PORTVERSION=	1.76.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-gitlab
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Official AWS Ruby gem for AWS Key Management Service (KMS)
+WWW=		https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kms
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-aws-sdk-core-gitlab>=3.188.0<4:devel/rubygem-aws-sdk-core-gitlab \
+		rubygem-aws-sigv4>=1.1<2:devel/rubygem-aws-sigv4
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-aws-sdk-kms-gitlab/distinfo b/devel/rubygem-aws-sdk-kms-gitlab/distinfo
new file mode 100644
index 000000000000..56fe370e634c
--- /dev/null
+++ b/devel/rubygem-aws-sdk-kms-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728536719
+SHA256 (rubygem/aws-sdk-kms-1.76.0.gem) = e7f75013cba9ba357144f66bbc600631c192e2cda9dd572794be239654e2cf49
+SIZE (rubygem/aws-sdk-kms-1.76.0.gem) = 143872
diff --git a/devel/rubygem-aws-sdk-kms-gitlab/pkg-descr b/devel/rubygem-aws-sdk-kms-gitlab/pkg-descr
new file mode 100644
index 000000000000..3a1bbca30bc0
--- /dev/null
+++ b/devel/rubygem-aws-sdk-kms-gitlab/pkg-descr
@@ -0,0 +1 @@
+Official AWS Ruby gem for AWS Key Management Service (KMS).
diff --git a/devel/rubygem-aws-sdk-s3-gitlab/Makefile b/devel/rubygem-aws-sdk-s3-gitlab/Makefile
new file mode 100644
index 000000000000..07ef0c16ba68
--- /dev/null
+++ b/devel/rubygem-aws-sdk-s3-gitlab/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	aws-sdk-s3
+PORTVERSION=	1.159.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-gitlab
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3)
+WWW=		https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-aws-sdk-core-gitlab>=3.201.0<4:devel/rubygem-aws-sdk-core-gitlab \
+		rubygem-aws-sdk-kms-gitlab>=1<2:devel/rubygem-aws-sdk-kms-gitlab \
+		rubygem-aws-sigv4>=1.5<2:devel/rubygem-aws-sigv4
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-aws-sdk-s3-gitlab/distinfo b/devel/rubygem-aws-sdk-s3-gitlab/distinfo
new file mode 100644
index 000000000000..c7d4375bce97
--- /dev/null
+++ b/devel/rubygem-aws-sdk-s3-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728535249
+SHA256 (rubygem/aws-sdk-s3-1.159.0.gem) = 406ba75c68890938350aa573df1c3f878dd7781a59ba1ddc0953968a70725e98
+SIZE (rubygem/aws-sdk-s3-1.159.0.gem) = 456192
diff --git a/devel/rubygem-aws-sdk-s3-gitlab/pkg-descr b/devel/rubygem-aws-sdk-s3-gitlab/pkg-descr
new file mode 100644
index 000000000000..0507ee9034ed
--- /dev/null
+++ b/devel/rubygem-aws-sdk-s3-gitlab/pkg-descr
@@ -0,0 +1 @@
+Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
diff --git a/www/gitlab/Makefile b/www/gitlab/Makefile
index c60824c2bf33..caf7d8a3e220 100644
--- a/www/gitlab/Makefile
+++ b/www/gitlab/Makefile
@@ -5,7 +5,7 @@ DISTVERSIONPREFIX=	v
 .if ${FLAVOR:U} == ee
 DISTVERSIONSUFFIX=	-ee
 .endif
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www devel
 
 # include patch to fix database migration
@@ -135,9 +135,9 @@ MY_DEPENDS=	git>=2.41.0:devel/git \
 	rubygem-elasticsearch-model713>=7.2<8:textproc/rubygem-elasticsearch-model713 \
 	rubygem-elasticsearch-rails7>=7.2<8:textproc/rubygem-elasticsearch-rails7 \
 	rubygem-elasticsearch-api7>=7.17.11<7.18:textproc/rubygem-elasticsearch-api7 \
-	rubygem-aws-sdk-core>=3.202.0<4:devel/rubygem-aws-sdk-core \
-	rubygem-aws-sdk-cloudformation>=1<2:devel/rubygem-aws-sdk-cloudformation \
-	rubygem-aws-sdk-s3>=1.159.0<2:devel/rubygem-aws-sdk-s3 \
+	rubygem-aws-sdk-core-gitlab>=3.202.0<3.203:devel/rubygem-aws-sdk-core-gitlab \
+	rubygem-aws-sdk-cloudformation-gitlab>=1<2:devel/rubygem-aws-sdk-cloudformation-gitlab \
+	rubygem-aws-sdk-s3-gitlab>=1.159.0<1.160:devel/rubygem-aws-sdk-s3-gitlab \
 	rubygem-faraday-typhoeus>=1.1<2:www/rubygem-faraday-typhoeus \
 	rubygem-faraday_middleware-aws-sigv4>=1.0.1<1.1:devel/rubygem-faraday_middleware-aws-sigv4 \
 	rubygem-typhoeus>=1.4.0<1.5:www/rubygem-typhoeus \
diff --git a/www/gitlab/files/patch-Gemfile b/www/gitlab/files/patch-Gemfile
index 7f956cb65376..bb189590edaa 100644
--- a/www/gitlab/files/patch-Gemfile
+++ b/www/gitlab/files/patch-Gemfile
@@ -1,4 +1,4 @@
---- Gemfile.orig	2024-09-18 10:07:13 UTC
+--- Gemfile.orig	2024-10-09 10:29:44 UTC
 +++ Gemfile
 @@ -156,7 +156,7 @@ gem 'graphql', '~> 2.3.14', feature_category: :api
  
@@ -27,18 +27,6 @@
  gem 'google-cloud-artifact_registry-v1', '~> 0.11.0', feature_category: :shared
  gem 'google-cloud-compute-v1', '~> 2.6.0', feature_category: :shared
  
-@@ -231,9 +231,9 @@ gem 'elasticsearch-api', '7.17.11', feature_category: 
- gem 'elasticsearch-model', '~> 7.2', feature_category: :global_search
- gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation', feature_category: :global_search
- gem 'elasticsearch-api', '7.17.11', feature_category: :global_search
--gem 'aws-sdk-core', '~> 3.202.0' # rubocop:todo Gemfile/MissingFeatureCategory
-+gem 'aws-sdk-core', '~> 3.202' # rubocop:todo Gemfile/MissingFeatureCategory
- gem 'aws-sdk-cloudformation', '~> 1' # rubocop:todo Gemfile/MissingFeatureCategory
--gem 'aws-sdk-s3', '~> 1.159.0' # rubocop:todo Gemfile/MissingFeatureCategory
-+gem 'aws-sdk-s3', '~> 1.159' # rubocop:todo Gemfile/MissingFeatureCategory
- gem 'faraday-typhoeus', '~> 1.1', feature_category: :global_search
- gem 'faraday_middleware-aws-sigv4', '~> 1.0.1', feature_category: :global_search
- # Used with Elasticsearch to support http keep-alive connections
 @@ -271,7 +271,7 @@ group :puma do
  gem 'rack-timeout', '~> 0.7.0', require: 'rack/timeout/base' # rubocop:todo Gemfile/MissingFeatureCategory
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410100713.49A7DuEZ060399>