Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions srcpkgs/telegraf/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'telegraf'
pkgname=telegraf
version=1.28.2
revision=2
version=1.39.3
revision=1
build_style=go
go_import_path=github.com/influxdata/telegraf
go_package="${go_import_path}/cmd/telegraf"
Expand All @@ -11,9 +11,16 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.influxdata.com/time-series-platform/telegraf/"
distfiles="https://github.com/influxdata/${pkgname}/archive/v${version}.tar.gz"
checksum=48418c1b2b3ddb6e507609d4d146c8e2226d65da2cc5cacf43d74ae8e450aeb3
checksum=13b4186fac9a9d29858c532b73efc41e0a1ac8ce93a615b59d5a6e589e71ab2f
system_accounts="_telegraf"

if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
broken="influxdata droppped support for 32 bit"
fi

# skip integration and tests requiring pre-existing substrate
make_check_args="-short -skip TestReadServicesFile|TestCollectStats|TestCollectStatsPerCpu|TestCollectPsSystemInit"

case "$XBPS_TARGET_MACHINE" in
arm*) go_ldflags+=" -linkmode=external";;
esac
Expand Down