git: f6243558e0e2 - main - devel/rubygem-opentelemetry-instrumentation-mysql2: Add rubygem-opentelemetry-instrumentation-mysql2 0.27.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 29 Jul 2024 12:45:55 UTC
The branch main has been updated by sunpoet:

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

commit f6243558e0e239a396e3d37f8a034b4065368b67
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-29 12:30:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-29 12:30:54 +0000

    devel/rubygem-opentelemetry-instrumentation-mysql2: Add rubygem-opentelemetry-instrumentation-mysql2 0.27.2
    
    The OpenTelemetry MySQL2 Ruby gem is a community maintained instrumentation for
    MySQL2.
---
 devel/Makefile                                     |  1 +
 .../Makefile                                       | 24 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c9caaf42bc8c..8b626eac163d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7402,6 +7402,7 @@
     SUBDIR += rubygem-opentelemetry-instrumentation-graphql
     SUBDIR += rubygem-opentelemetry-instrumentation-http
     SUBDIR += rubygem-opentelemetry-instrumentation-http_client
+    SUBDIR += rubygem-opentelemetry-instrumentation-mysql2
     SUBDIR += rubygem-opentelemetry-instrumentation-net_http
     SUBDIR += rubygem-opentelemetry-instrumentation-pg
     SUBDIR += rubygem-opentelemetry-instrumentation-rack
diff --git a/devel/rubygem-opentelemetry-instrumentation-mysql2/Makefile b/devel/rubygem-opentelemetry-instrumentation-mysql2/Makefile
new file mode 100644
index 000000000000..e92691be59cc
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-mysql2/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	opentelemetry-instrumentation-mysql2
+PORTVERSION=	0.27.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	MySQL2 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/mysql2
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-opentelemetry-api>=1.0<2:devel/rubygem-opentelemetry-api \
+		rubygem-opentelemetry-helpers-mysql>=0:devel/rubygem-opentelemetry-helpers-mysql \
+		rubygem-opentelemetry-helpers-sql-obfuscation>=0:devel/rubygem-opentelemetry-helpers-sql-obfuscation \
+		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-mysql2/distinfo b/devel/rubygem-opentelemetry-instrumentation-mysql2/distinfo
new file mode 100644
index 000000000000..7ac100326006
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-mysql2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722249008
+SHA256 (rubygem/opentelemetry-instrumentation-mysql2-0.27.2.gem) = 66d7863b5e5d13b3702796392fef2540d849a7e3a6ed4743480933df785cefe9
+SIZE (rubygem/opentelemetry-instrumentation-mysql2-0.27.2.gem) = 12800
diff --git a/devel/rubygem-opentelemetry-instrumentation-mysql2/pkg-descr b/devel/rubygem-opentelemetry-instrumentation-mysql2/pkg-descr
new file mode 100644
index 000000000000..326d34fcd0b5
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-mysql2/pkg-descr
@@ -0,0 +1,2 @@
+The OpenTelemetry MySQL2 Ruby gem is a community maintained instrumentation for
+MySQL2.