git: 7a518af5831e - main - www/gitlab: new ports required for 17.9

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Thu, 20 Feb 2025 06:26:34 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a518af5831e0d25fd905c701f2a08b53fc66498

commit 7a518af5831e0d25fd905c701f2a08b53fc66498
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2025-02-20 06:07:23 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2025-02-20 06:26:19 +0000

    www/gitlab: new ports required for 17.9
---
 net/Makefile                                       |  1 +
 net/rubygem-grpc_reflection/Makefile               | 15 ++++++++++++++
 net/rubygem-grpc_reflection/distinfo               |  3 +++
 net/rubygem-grpc_reflection/pkg-descr              |  1 +
 security/Makefile                                  |  1 +
 security/rubygem-gitlab-secret_detection/Makefile  | 24 ++++++++++++++++++++++
 security/rubygem-gitlab-secret_detection/distinfo  |  3 +++
 security/rubygem-gitlab-secret_detection/pkg-descr |  5 +++++
 8 files changed, 53 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 114a89b17d9c..74c3443e2db0 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1370,6 +1370,7 @@
     SUBDIR += rubygem-google-cloud-trace-v2
     SUBDIR += rubygem-grpc
     SUBDIR += rubygem-grpc-tools
+    SUBDIR += rubygem-grpc_reflection
     SUBDIR += rubygem-hangouts-chat
     SUBDIR += rubygem-http-parser
     SUBDIR += rubygem-http_parser.rb
diff --git a/net/rubygem-grpc_reflection/Makefile b/net/rubygem-grpc_reflection/Makefile
new file mode 100644
index 000000000000..2cc24969d1fb
--- /dev/null
+++ b/net/rubygem-grpc_reflection/Makefile
@@ -0,0 +1,15 @@
+PORTNAME=	grpc_reflection
+PORTVERSION=	0.1.1
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	GRPC Server Reflection Protocol for Ruby
+WWW=		https://github.com/y-yagi/grpc_reflection
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		gem
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-grpc_reflection/distinfo b/net/rubygem-grpc_reflection/distinfo
new file mode 100644
index 000000000000..bf235ddfed53
--- /dev/null
+++ b/net/rubygem-grpc_reflection/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739968930
+SHA256 (rubygem/grpc_reflection-0.1.1.gem) = bc47df12f794a407633b5a9eb27fd95118a78d701c325256fff3c9e50819097b
+SIZE (rubygem/grpc_reflection-0.1.1.gem) = 12800
diff --git a/net/rubygem-grpc_reflection/pkg-descr b/net/rubygem-grpc_reflection/pkg-descr
new file mode 100644
index 000000000000..7cfda1a68a02
--- /dev/null
+++ b/net/rubygem-grpc_reflection/pkg-descr
@@ -0,0 +1 @@
+GRPC Server Reflection Protocol for Ruby
diff --git a/security/Makefile b/security/Makefile
index 2b7ef5dc661a..da2a52c5137f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1146,6 +1146,7 @@
     SUBDIR += rubygem-encryptor
     SUBDIR += rubygem-ezcrypto
     SUBDIR += rubygem-gitlab-cloud-connector
+    SUBDIR += rubygem-gitlab-secret_detection
     SUBDIR += rubygem-googleauth
     SUBDIR += rubygem-googleauth-gitlab
     SUBDIR += rubygem-gpgme
diff --git a/security/rubygem-gitlab-secret_detection/Makefile b/security/rubygem-gitlab-secret_detection/Makefile
new file mode 100644
index 000000000000..a9d99adeb37f
--- /dev/null
+++ b/security/rubygem-gitlab-secret_detection/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	gitlab-secret_detection
+PORTVERSION=	0.19.1
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Secret detector for Gitlab
+WWW=		https://gitlab.com/gitlab-org/security-products/secret-detection/secret-detection-service
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-grpc>=1.63<2:net/rubygem-grpc \
+		rubygem-grpc_reflection>=0.1<1:net/rubygem-grpc_reflection \
+		rubygem-grpc-tools>=1.63<2:net/rubygem-grpc-tools \
+		rubygem-parallel>=1<2:sysutils/rubygem-parallel \
+		rubygem-re2>=2.7<3:devel/rubygem-re2 \
+		rubygem-toml-rb>=2.2<3:www/rubygem-toml-rb
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-gitlab-secret_detection/distinfo b/security/rubygem-gitlab-secret_detection/distinfo
new file mode 100644
index 000000000000..27b64bf16172
--- /dev/null
+++ b/security/rubygem-gitlab-secret_detection/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739968743
+SHA256 (rubygem/gitlab-secret_detection-0.19.1.gem) = f70b9f245c0569270d8a7e4b88035d5a55fb057dfd9604f9dabb2e11f660edb3
+SIZE (rubygem/gitlab-secret_detection-0.19.1.gem) = 39424
diff --git a/security/rubygem-gitlab-secret_detection/pkg-descr b/security/rubygem-gitlab-secret_detection/pkg-descr
new file mode 100644
index 000000000000..107ec43dffd9
--- /dev/null
+++ b/security/rubygem-gitlab-secret_detection/pkg-descr
@@ -0,0 +1,5 @@
+Secret Detection service is primarily responsible for detecting secrets in the
+given input payloads with RPC methods as the communication interface served via
+gRPC.
+This service will initially be invoked by Rails monolith when performing access
+checks for Git Push event, and eventually extended for the other usecases too.