mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
node_exporter: update to 0.17.0.
This commit is contained in:
parent
2557eb2d92
commit
b7747a8ac8
1 changed files with 6 additions and 5 deletions
|
@ -1,27 +1,28 @@
|
||||||
# Template file for 'node_exporter'
|
# Template file for 'node_exporter'
|
||||||
pkgname=node_exporter
|
pkgname=node_exporter
|
||||||
version=0.16.0
|
version=0.17.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/prometheus/node_exporter"
|
go_import_path="github.com/prometheus/node_exporter"
|
||||||
go_ldflags="-X ${go_import_path}/version.Version=${version}
|
go_ldflags="-X ${go_import_path}/version.Version=${version}
|
||||||
-X ${go_import_path}/version.Revision=${version}
|
-X ${go_import_path}/version.Revision=${version}
|
||||||
-X ${go_import_path}/version.Branch=${version}
|
-X ${go_import_path}/version.Branch=${version}
|
||||||
-X ${go_import_path}/version.BuildUser=VoidLinux"
|
-X ${go_import_path}/version.BuildUser=VoidLinux"
|
||||||
|
hostmakedepends="git"
|
||||||
short_desc="Exporter for machine metrics"
|
short_desc="Exporter for machine metrics"
|
||||||
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://prometheus.io/"
|
homepage="https://prometheus.io/"
|
||||||
#changelog="https://raw.githubusercontent.com/prometheus/node_exporter/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/prometheus/node_exporter/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/prometheus/node_exporter/archive/v${version}.tar.gz"
|
distfiles="https://github.com/prometheus/node_exporter/archive/v${version}.tar.gz"
|
||||||
checksum=2ed1c1c199e047b1524b49a6662d5969936e81520d6613b8b68cc3effda450cf
|
checksum=763b588b9282a8aa497286f8ab1aab61d085bdd2d258cf3457f23c60752c9a27
|
||||||
|
|
||||||
system_accounts="_node_exporter"
|
system_accounts="_node_exporter"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/share/examples/$pkgname
|
vmkdir usr/share/examples/$pkgname
|
||||||
vcopy text_collector_examples usr/share/examples/$pkgname
|
vcopy text_collector_examples usr/share/examples/$pkgname
|
||||||
vsconf example.rules
|
vsconf example-rules.yml
|
||||||
vsv node_exporter
|
vsv node_exporter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue