telegraf: update to 1.4.3.

This commit is contained in:
maxice8 2017-11-05 02:58:16 -02:00 committed by Enno Boland
parent f4f89025e7
commit 8ca7ee8caa

View file

@ -1,9 +1,9 @@
# Template file for 'telegraf' # Template file for 'telegraf'
pkgname=telegraf pkgname=telegraf
version=1.3.5 version=1.4.3
revision=2 revision=1
_branch=release-1.3 _branch=release-1.4
_commit=0f419e9a _commit=b473b6a
build_style="go" build_style="go"
nocross=https://travis-ci.org/kulinacs/void-packages/jobs/258706435 nocross=https://travis-ci.org/kulinacs/void-packages/jobs/258706435
go_import_path="github.com/influxdata/${pkgname}" go_import_path="github.com/influxdata/${pkgname}"
@ -15,7 +15,7 @@ maintainer="Nicklaus McClendon <nicklaus@kulinacs.com>"
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/${version}.tar.gz"
checksum=b4663e57b0ca71c9d126a8fdd87b64a0ab2b5bd5fa98ba579f0deb00aac27d4c checksum=5c4833a2dbaddf3fa55b90a971b804934934f097c9c7d502615044853e472617
post_extract() { post_extract() {
local path="${GOPATH}/src/${go_import_path}" local path="${GOPATH}/src/${go_import_path}"
@ -28,7 +28,7 @@ pre_build() {
} }
do_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() { post_install() {