From b8c7370a682e4e29cda623222d17a790c01c3642 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 7 Aug 2024 12:37:21 +0100 Subject: gentoo auto-resync : 07:08:2024 - 12:37:20 --- net-analyzer/netdata-go-plugin/Manifest | 2 +- .../netdata-go-plugin-0.58.1-r1.ebuild | 51 ++++++++++++++++++++++ .../netdata-go-plugin-0.58.1.ebuild | 51 ---------------------- 3 files changed, 52 insertions(+), 52 deletions(-) create mode 100644 net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1-r1.ebuild delete mode 100644 net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1.ebuild (limited to 'net-analyzer/netdata-go-plugin') diff --git a/net-analyzer/netdata-go-plugin/Manifest b/net-analyzer/netdata-go-plugin/Manifest index 3fb8301a765b..6c78812e4615 100644 --- a/net-analyzer/netdata-go-plugin/Manifest +++ b/net-analyzer/netdata-go-plugin/Manifest @@ -1,4 +1,4 @@ DIST go.d.plugin-0.58.1-vendor.tar.gz 11165963 BLAKE2B 43b74ae6120806ee02b9d1d9247cd7b5bb752ebbcb21e2bd5427cad186e0facc5f04cc4484c39994d7a5727ca673610ebaa6dd01d9dd8335e7d0ad39721fe2bc SHA512 23134669204c9c68247077ec12f8789db39736158867587fb24006c2cebd9f1752553a786cc91b97f2ba8b73197987b19dbf69e4669a0f821eb1fb04db0f5034 DIST go.d.plugin-0.58.1.tar.gz 1601702 BLAKE2B d87402542fdac8683dc8a505634f6ce1eb2ebddeedeee6664d250b8774b8d1a76c189020362b1b87477bf21faf9caff28f41e396032d7548d0ec16ad8b5742e0 SHA512 acbfd7ee4a72cee0587936bd2d4e27a2b58894ee72a2218b96643c1fe0866990f9d6bfe1f754cda5f5443bc75e1406a6511300ea265a81e4be89f7f97b17664c -EBUILD netdata-go-plugin-0.58.1.ebuild 1158 BLAKE2B e1f6b189667ddd89dc37c23b861ebbaf0e30fcfdad39abd4809516028df25a3bc588031fbec5c61ac706e488023c6fe14f5569401a7c9cbf051529f81da65592 SHA512 319d2c1304eda1779cad75529abc5f7c7601e6bd78b44bd1fce8889e4676b7f3051ab930cc2f1a76aaca078edb048787e50b9a299e68e694367c276bbae2ec4b +EBUILD netdata-go-plugin-0.58.1-r1.ebuild 1148 BLAKE2B 3034ac0cff3fa75ab74b137f1b80f34c5fcc1a63a20e556b8451d4f4646cd6d8afaf243980ff125899e204034e74d49b2baf5d50c94431c95656bb4352440a32 SHA512 86f2baf8296c72af9df68f8d6139a162471a325308ad469a76b42a24a1073ebce9d78b0aacc942d7191178053207b2660e1a74766e55d64f210ed5ab3d09d22d MISC metadata.xml 330 BLAKE2B 01e6fc74fec6646f2f5d12deae7e9ce876030a6013aa0af991679e43b4b84c4d5e7b2ac1ea6087eb8c9d2bce8f915260959daf182f439b2891739ceac4b39d7b SHA512 5c82fe3eddb030df79eb8df1cef84f28bcc8049b59dfa74b9202c84f6875e959d99923ac8c6292e034a0cba7e524585ea194a2766c21b10b066d80df98e401d6 diff --git a/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1-r1.ebuild b/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1-r1.ebuild new file mode 100644 index 000000000000..6d0271de009c --- /dev/null +++ b/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module + +MY_PN=go.d.plugin +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Netdata plugin for collectors written in Go" +HOMEPAGE="https://github.com/netdata/go.d.plugin" +SRC_URI=" + https://github.com/netdata/go.d.plugin/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.tar.gz + https://github.com/netdata/go.d.plugin/releases/download/v${PV}/${MY_PN}-vendor-v${PV}.tar.gz + -> ${MY_P}-vendor.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3+" +# Dependent modules licenses +LICENSE+=" + Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0 +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="net-analyzer/netdata" +BDEPEND=">=dev-lang/go-1.21" + +FILECAPS=( + cap_net_raw /usr/libexec/netdata/plugins.d/go.d.plugin +) + +src_compile() { + LDFLAGS="-w -s -X main.version=${PV}-gentoo" + ego build -ldflags "${LDFLAGS}" "github.com/netdata/go.d.plugin/cmd/godplugin" +} + +src_test() { + ego test ./... -cover -covermode=atomic +} + +src_install() { + einstalldocs + + exeinto "/usr/libexec/netdata/plugins.d" + newexe godplugin go.d.plugin + insinto "/usr/lib/netdata/conf.d" + doins -r config/* +} diff --git a/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1.ebuild b/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1.ebuild deleted file mode 100644 index 70f99d0fda15..000000000000 --- a/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module - -MY_PN=go.d.plugin -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Netdata plugin for collectors written in Go" -HOMEPAGE="https://github.com/netdata/go.d.plugin" -SRC_URI=" - https://github.com/netdata/go.d.plugin/archive/refs/tags/v${PV}.tar.gz - -> ${MY_P}.tar.gz - https://github.com/netdata/go.d.plugin/releases/download/v${PV}/${MY_PN}-vendor-v${PV}.tar.gz - -> ${MY_P}-vendor.tar.gz -" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-3+" -# Dependent modules licenses -LICENSE+=" - Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0 -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="net-analyzer/netdata" -BDEPEND=">=dev-lang/go-1.21" - -FILECAPS=( - cap_net_raw /usr/libexec/netdata/plugins.d/go.d.plugin -) - -src_compile() { - LDFLAGS="-w -s -X main.version=${PV}-gentoo" - ego build -ldflags "${LDFLAGS}" "github.com/netdata/go.d.plugin/cmd/godplugin" -} - -src_test() { - ego test ./... -cover -covermode=atomic -} - -src_install() { - einstalldocs - - exeinto "/usr/libexec/netdata/plugins.d" - newexe godplugin go.d.plugin - insinto "/usr/$(get_libdir)/netdata/conf.d" - doins -r config/* -} -- cgit v1.2.3