aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2024-05-03 10:23:29 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2024-05-06 15:51:25 +0000
commit13a124d3ed2c269e81cb262b80aaa604d99cb115 (patch)
treea711dcfbee1e5fde60870e24efe7e0f9cebce93c
parentefe55d1aa6c393400da6ea5029ba7bc6e2f42fc6 (diff)
community/netdata-go-plugins: remove aport
netdata bundled the plugin now with nedata itself, and the plugin is now a subpackage of the netdata package.
-rw-r--r--community/netdata-go-plugins/0001-fix-go.d.plugin-pulsar-tests-17093.patch24
-rw-r--r--community/netdata-go-plugins/APKBUILD41
2 files changed, 0 insertions, 65 deletions
diff --git a/community/netdata-go-plugins/0001-fix-go.d.plugin-pulsar-tests-17093.patch b/community/netdata-go-plugins/0001-fix-go.d.plugin-pulsar-tests-17093.patch
deleted file mode 100644
index 3bd56d10bd7..00000000000
--- a/community/netdata-go-plugins/0001-fix-go.d.plugin-pulsar-tests-17093.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From d28d1f71c7e0093662d5e5917685b430759848af Mon Sep 17 00:00:00 2001
-From: Ilya Mashchenko <ilya@netdata.cloud>
-Date: Mon, 4 Mar 2024 10:36:02 +0200
-Subject: [PATCH] fix go.d.plugin/pulsar tests (#17093)
-
----
- src/go/collectors/go.d.plugin/modules/pulsar/charts.go | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/go/collectors/go.d.plugin/modules/pulsar/charts.go b/src/go/collectors/go.d.plugin/modules/pulsar/charts.go
-index a0599dc8d..3ddff66f6 100644
---- a/modules/pulsar/charts.go
-+++ b/modules/pulsar/charts.go
-@@ -269,6 +269,7 @@ var namespaceCharts = Charts{
- }
-
- func toNamespaceChart(chart Chart) Chart {
-+ chart = *chart.Copy()
- if chart.ID == sumBrokerComponentsChart.ID {
- _ = chart.RemoveDim("pulsar_namespaces_count")
- }
---
-2.44.0
-
diff --git a/community/netdata-go-plugins/APKBUILD b/community/netdata-go-plugins/APKBUILD
deleted file mode 100644
index 33dccead138..00000000000
--- a/community/netdata-go-plugins/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
-# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
-pkgname=netdata-go-plugins
-pkgver=0.58.1
-pkgrel=1
-pkgdesc="netdata go.d.plugin"
-url="https://github.com/netdata/go.d.plugin"
-arch="all !x86 !armv7 !armhf" # checks fail
-license="GPL-3.0-or-later"
-depends="netdata"
-makedepends="go"
-source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/netdata/go.d.plugin/tar.gz/refs/tags/v$pkgver
- 0001-fix-go.d.plugin-pulsar-tests-17093.patch
- "
-builddir="$srcdir/go.d.plugin-$pkgver"
-
-export GOFLAGS="$GOFLAGS -modcacherw"
-export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
-export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
-export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
-
-build() {
- go build -v -o go.d.plugin ./cmd/godplugin
-}
-
-check() {
- go test ./...
-}
-
-package() {
- mkdir -p "$pkgdir/usr/lib/netdata/conf.d"
- cp -r "$builddir/config/go.d.conf" "$builddir/config/go.d" "$pkgdir/usr/lib/netdata/conf.d/"
-
- mkdir -p "$pkgdir/usr/libexec/netdata/plugins.d/"
- install -D -m755 -t "$pkgdir/usr/libexec/netdata/plugins.d" "$builddir/go.d.plugin"
-}
-
-sha512sums="
-acbfd7ee4a72cee0587936bd2d4e27a2b58894ee72a2218b96643c1fe0866990f9d6bfe1f754cda5f5443bc75e1406a6511300ea265a81e4be89f7f97b17664c netdata-go-plugins-0.58.1.tar.gz
-7b7e6599cdd87f8640ab21323f2fe7b419b6371538f46554c5b272a7ef47f94b32f27abe7c37429aeeeef038be57fce0b75a52de15890b1dbfb96e6f6f9e6300 0001-fix-go.d.plugin-pulsar-tests-17093.patch
-"