telegraf: update to 1.18.3.
Fix ARM builds using the same fix as in packer. Closes: #31116 [via git-merge-pr]
This commit is contained in:
parent
842a6329a4
commit
c1249038f5
1 changed files with 6 additions and 8 deletions
|
@ -1,24 +1,22 @@
|
||||||
# Template file for 'telegraf'
|
# Template file for 'telegraf'
|
||||||
pkgname=telegraf
|
pkgname=telegraf
|
||||||
version=1.12.6
|
version=1.18.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/influxdata/telegraf
|
go_import_path=github.com/influxdata/telegraf
|
||||||
go_package="${go_import_path}/cmd/telegraf"
|
go_package="${go_import_path}/cmd/telegraf"
|
||||||
go_ldflags="-X main.version=${version}"
|
go_ldflags="-X main.version=${version}"
|
||||||
hostmakedepends="dep"
|
|
||||||
short_desc="Plugin-driven server agent for collecting & reporting metrics"
|
short_desc="Plugin-driven server agent for collecting & reporting metrics"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://www.influxdata.com/time-series-platform/telegraf/"
|
homepage="https://www.influxdata.com/time-series-platform/telegraf/"
|
||||||
distfiles="https://github.com/influxdata/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/influxdata/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=b585c985f06ff9cfd7fdbf19df34e409385729e8ea29c84a76f1a0762a46014e
|
checksum=18131af75eea19d0fa7ac3c0c97d9cf941a4e77acf233be6324b208833d02cea
|
||||||
system_accounts="_telegraf"
|
system_accounts="_telegraf"
|
||||||
|
|
||||||
pre_build() {
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
cd $GOSRCPATH
|
arm*) go_ldflags+=" -linkmode=external";;
|
||||||
dep ensure
|
esac
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue