From 8ca7ee8caa42442df68230f769daff3c84b9fbd0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 5 Nov 2017 02:58:16 -0200 Subject: [PATCH] telegraf: update to 1.4.3. --- srcpkgs/telegraf/template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/telegraf/template b/srcpkgs/telegraf/template index 484440a9da8..f4e57e7d880 100644 --- a/srcpkgs/telegraf/template +++ b/srcpkgs/telegraf/template @@ -1,9 +1,9 @@ # Template file for 'telegraf' pkgname=telegraf -version=1.3.5 -revision=2 -_branch=release-1.3 -_commit=0f419e9a +version=1.4.3 +revision=1 +_branch=release-1.4 +_commit=b473b6a build_style="go" nocross=https://travis-ci.org/kulinacs/void-packages/jobs/258706435 go_import_path="github.com/influxdata/${pkgname}" @@ -15,7 +15,7 @@ maintainer="Nicklaus McClendon " license="MIT" homepage="https://www.influxdata.com/time-series-platform/telegraf/" distfiles="https://github.com/influxdata/${pkgname}/archive/${version}.tar.gz" -checksum=b4663e57b0ca71c9d126a8fdd87b64a0ab2b5bd5fa98ba579f0deb00aac27d4c +checksum=5c4833a2dbaddf3fa55b90a971b804934934f097c9c7d502615044853e472617 post_extract() { local path="${GOPATH}/src/${go_import_path}" @@ -28,7 +28,7 @@ pre_build() { } do_build() { - make build VERSION=${version} BRANCH=${_branch} COMMIT=${_commit} + go install -ldflags="-X main.version=${version} -X main.branch=${_branch} -X main.commit=${_commit}" ./... } post_install() {