git: 90bfd87af8df - main - devel/rubygem-opentelemetry-instrumentation-rack: Add rubygem-opentelemetry-instrumentation-rack 0.23.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 18:08:29 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90bfd87af8dfbdb40b7b81a0a07282292204bea7

commit 90bfd87af8dfbdb40b7b81a0a07282292204bea7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 17:39:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 18:07:46 +0000

    devel/rubygem-opentelemetry-instrumentation-rack: Add rubygem-opentelemetry-instrumentation-rack 0.23.5
    
    The OpenTelemetry Rack Instrumentation is a community-maintained instrumentation
    for the Rack web server interface.
---
 devel/Makefile                                     |  1 +
 .../Makefile                                       | 23 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index bf6c12b71b19..3c1d33b11bb9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7119,6 +7119,7 @@
     SUBDIR += rubygem-opentelemetry-api
     SUBDIR += rubygem-opentelemetry-common
     SUBDIR += rubygem-opentelemetry-instrumentation-base
+    SUBDIR += rubygem-opentelemetry-instrumentation-rack
     SUBDIR += rubygem-opentelemetry-registry
     SUBDIR += rubygem-opentelemetry-sdk
     SUBDIR += rubygem-opentelemetry-semantic_conventions
diff --git a/devel/rubygem-opentelemetry-instrumentation-rack/Makefile b/devel/rubygem-opentelemetry-instrumentation-rack/Makefile
new file mode 100644
index 000000000000..88699ff028e9
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-rack/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	opentelemetry-instrumentation-rack
+PORTVERSION=	0.23.5
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Rack instrumentation for the OpenTelemetry framework
+WWW=		https://opentelemetry.io/ \
+		https://github.com/open-telemetry/opentelemetry-ruby-contrib \
+		https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/rack
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-opentelemetry-api>=1.0<2:devel/rubygem-opentelemetry-api \
+		rubygem-opentelemetry-common>=0.20.0<0.21:devel/rubygem-opentelemetry-common \
+		rubygem-opentelemetry-instrumentation-base>=0.22.1<0.23:devel/rubygem-opentelemetry-instrumentation-base
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-opentelemetry-instrumentation-rack/distinfo b/devel/rubygem-opentelemetry-instrumentation-rack/distinfo
new file mode 100644
index 000000000000..5225db98f215
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-rack/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1701083342
+SHA256 (rubygem/opentelemetry-instrumentation-rack-0.23.5.gem) = 8f0f2050cb65d8c5c29006965000dcce9055d0ddf0197b1d12f114c5b4af5a1b
+SIZE (rubygem/opentelemetry-instrumentation-rack-0.23.5.gem) = 17408
diff --git a/devel/rubygem-opentelemetry-instrumentation-rack/pkg-descr b/devel/rubygem-opentelemetry-instrumentation-rack/pkg-descr
new file mode 100644
index 000000000000..5d63ce82dd14
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-rack/pkg-descr
@@ -0,0 +1,2 @@
+The OpenTelemetry Rack Instrumentation is a community-maintained instrumentation
+for the Rack web server interface.