mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
net-analyzer/netdata-go-plugin: drop 0.58.1-r1
Closes: https://bugs.gentoo.org/926032 Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
parent
489f1a3488
commit
4af296cdca
@ -1,4 +1,2 @@
|
||||
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
|
||||
DIST netdata-1.47.5-vendor.tar.xz 7224632 BLAKE2B b0b843ca53ae432607e95301ae9103d97f0260ea509e101883d20d3f26c1ee9edce558d66a46e76243b2ec8ef921b4d9cf883832749b585c20ac39251fd3b0e1 SHA512 c58c9bd2b52c766799f91b49591129a0de97b96d7da1d573ebe191a176f58b1cc4f9f67b83cdac6048833ceec494afae3a681b9476722a97c782525621dfc5dd
|
||||
DIST netdata-1.47.5.tar.gz 51034758 BLAKE2B c7c86956080b1903cdcfad23e7e016d91e89ef394275ed6ace140e1a5adf98300d983847bb5f4ac09a7d2fdafeba9f2a32c9a5c5f28a24b387ce7231310799b7 SHA512 9350edd520c20e8d97919a5bad804f8855e39f98aaa2eb0b4f07cc6cf763714720518b7e4c81a9a48d368aedeeb6bbcebb7b9fdb7ab5f7a7e1b3a447904e4183
|
||||
|
||||
@ -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/lib/netdata/conf.d"
|
||||
doins -r config/*
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user