Update to version 1.9.2

Add support for armv6 & armv7 [1]
Submitted by:	Chip Cuccio [1]
This commit is contained in:
Palle Girgensohn 2019-01-15 23:09:06 +00:00
parent 7efdd8f843
commit 4cecb0f90d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490433
3 changed files with 34 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= telegraf
DISTVERSION= 1.9.0
DISTVERSION= 1.9.2
CATEGORIES= net-mgmt
MAINTAINER= girgen@FreeBSD.org
@ -10,7 +10,7 @@ COMMENT= Time-series data collection
LICENSE= MIT
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS= amd64 i386 armv6 armv7
BUILD_DEPENDS= go>=1.9:lang/go
@ -74,16 +74,17 @@ GH_TUPLE= GoogleCloudPlatform:google-cloud-go:v0.27.0:go/src/cloud.google.com/go
hashicorp:go-cleanhttp:d5fe4b5:go_cleanhttp/src/github.com/hashicorp/go-cleanhttp \
hashicorp:go-rootcerts:6bb64b3:go_rootcerts/src/github.com/hashicorp/go-rootcerts \
hashicorp:serf:v0.8.1:serf/src/github.com/hashicorp/serf \
influxdata:go-syslog:v1.0.1:go_syslog/src/github.com/influxdata/go-syslog \
influxdata:go-syslog:v2.0.0:go_syslog/src/github.com/influxdata/go-syslog \
influxdata:tail:c434825:tail/src/github.com/influxdata/tail \
influxdata:toml:2a2e301:toml/src/github.com/influxdata/toml \
influxdata:wlog:7c63b0a:wlog/src/github.com/influxdata/wlog \
jackc:pgx:v3.1.0:pgx/src/github.com/jackc/pgx \
jackc:pgx:v3.2.0:pgx/src/github.com/jackc/pgx \
jmespath:go-jmespath:0b12d6b:go_jmespath/src/github.com/jmespath/go-jmespath \
kardianos:osext:ae77be6:osext/src/github.com/kardianos/osext \
kardianos:service:615a14e:service/src/github.com/kardianos/service \
kballard:go-shellquote:95032a8:go_shellquote/src/github.com/kballard/go-shellquote \
kr:logfmt:b84e30a:logfmt/src/github.com/kr/logfmt \
leodido:ragel-machinery:299bdde:ragel_machinery/src/github.com/leodido/ragel-machinery \
mailru:easyjson:efc7eb8:easyjson/src/github.com/mailru/easyjson \
matttproud:golang_protobuf_extensions:v1.0.1:golang_protobuf_extensions/src/github.com/matttproud/golang_protobuf_extensions \
miekg:dns:v1.0.8:dns/src/github.com/miekg/dns \
@ -165,6 +166,8 @@ TELEGRAF_LOGDIR=/var/log/${PORTNAME}
do-build:
@cd ${WRKSRC}/${GH_SUBDIR} && \
${CP} src/github.com/shirou/gopsutil/disk/disk_freebsd_386.go src/github.com/shirou/gopsutil/disk/disk_freebsd_arm.go && \
${CP} src/github.com/shirou/gopsutil/cpu/cpu_freebsd_386.go src/github.com/shirou/gopsutil/cpu/cpu_freebsd_arm.go && \
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/telegraf
do-install:

View file

@ -1,6 +1,6 @@
TIMESTAMP = 1543189073
SHA256 (influxdata-telegraf-1.9.0_GH0.tar.gz) = 5a71c5fbe1b691bc64e56898d28238d2ad9ef0db7b9d816724b6b8c872cdecd2
SIZE (influxdata-telegraf-1.9.0_GH0.tar.gz) = 1276124
TIMESTAMP = 1547592556
SHA256 (influxdata-telegraf-1.9.2_GH0.tar.gz) = 5992900ca2bc697727c05fb9d080783d256649099110e7415a11bf9210e2feef
SIZE (influxdata-telegraf-1.9.2_GH0.tar.gz) = 1279918
SHA256 (GoogleCloudPlatform-google-cloud-go-v0.27.0_GH0.tar.gz) = e3a9b4bba987211eeb8afaa9703c9264dc826292a20d71dd1660b94800c05314
SIZE (GoogleCloudPlatform-google-cloud-go-v0.27.0_GH0.tar.gz) = 1793707
SHA256 (cloudfoundry-clock-02e53af_GH0.tar.gz) = ea86a06e72a47954fc71b4698818e50f542de799235cf1ca187d9c1a63f2649a
@ -109,16 +109,16 @@ SHA256 (hashicorp-go-rootcerts-6bb64b3_GH0.tar.gz) = d7ddbdc89d64b17b16d19b6e32c
SIZE (hashicorp-go-rootcerts-6bb64b3_GH0.tar.gz) = 11589
SHA256 (hashicorp-serf-v0.8.1_GH0.tar.gz) = 266d38c08d7459d38ba901d7cdaf36122a3cb77049fa537f5ab17fac1747d094
SIZE (hashicorp-serf-v0.8.1_GH0.tar.gz) = 1445011
SHA256 (influxdata-go-syslog-v1.0.1_GH0.tar.gz) = afab441297bedd3de8178a3072af7c1af48b634dbc3b28335031ffce773554c6
SIZE (influxdata-go-syslog-v1.0.1_GH0.tar.gz) = 105058
SHA256 (influxdata-go-syslog-v2.0.0_GH0.tar.gz) = a6e3b890d9471f0b486cba59d997139ac41b21588e6d12f99cf7e0d69cb49a6e
SIZE (influxdata-go-syslog-v2.0.0_GH0.tar.gz) = 112384
SHA256 (influxdata-tail-c434825_GH0.tar.gz) = 120fe2115e422646cc9b9ba2eb27ce72fe098d59c0833413f2df15d1f76b9c71
SIZE (influxdata-tail-c434825_GH0.tar.gz) = 38192
SHA256 (influxdata-toml-2a2e301_GH0.tar.gz) = a8844888dc4da911fc1939826c0abea4609444233874e0066b09584d0c0c8daf
SIZE (influxdata-toml-2a2e301_GH0.tar.gz) = 34632
SHA256 (influxdata-wlog-7c63b0a_GH0.tar.gz) = fa60808c1a241f1a6f38f2c9ed40ec4d03ca6bed90d584620b34bfe00eaf94cc
SIZE (influxdata-wlog-7c63b0a_GH0.tar.gz) = 2714
SHA256 (jackc-pgx-v3.1.0_GH0.tar.gz) = d5b51e451029028be37310bd276bcc15d52914f9ba08a9c9c5e26993e6c7812c
SIZE (jackc-pgx-v3.1.0_GH0.tar.gz) = 187241
SHA256 (jackc-pgx-v3.2.0_GH0.tar.gz) = e0dd2566fbf52e0f7c6baf963dfb09fda6da3704cf4949358f0afd75bf53fd50
SIZE (jackc-pgx-v3.2.0_GH0.tar.gz) = 191562
SHA256 (jmespath-go-jmespath-0b12d6b_GH0.tar.gz) = 67ecbb0fbfd8706f88deb430189504315c88a5628d90a7986d0cb5cb3d3660e8
SIZE (jmespath-go-jmespath-0b12d6b_GH0.tar.gz) = 48250
SHA256 (kardianos-osext-ae77be6_GH0.tar.gz) = 539367f48ed1d4f1b8bec4cf742ac7bce7c5b9319f4338a12310edddec005213
@ -129,6 +129,8 @@ SHA256 (kballard-go-shellquote-95032a8_GH0.tar.gz) = e3811664c2c111966fae3d5a7c0
SIZE (kballard-go-shellquote-95032a8_GH0.tar.gz) = 4332
SHA256 (kr-logfmt-b84e30a_GH0.tar.gz) = 1fb415fdfeca3d607e0bd0474def2f76a1438abfea8e35f1cda052673e5967e0
SIZE (kr-logfmt-b84e30a_GH0.tar.gz) = 6405
SHA256 (leodido-ragel-machinery-299bdde_GH0.tar.gz) = 0932f8cbac66be627f0f17e8f1a8c8a0e42c1cbf4497c40ff689ce1a446576c1
SIZE (leodido-ragel-machinery-299bdde_GH0.tar.gz) = 7275
SHA256 (mailru-easyjson-efc7eb8_GH0.tar.gz) = 6c4a60a5c25a29c307d68da1e4a1028ed43cebe90295e7a6497ec2b4ca2fe108
SIZE (mailru-easyjson-efc7eb8_GH0.tar.gz) = 74205
SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b

View file

@ -0,0 +1,18 @@
--- scripts/build.py 2019-01-15 14:17:39.800391000 -0600
+++ scripts/build.py 2019-01-15 08:58:51.390939000 -0600
@@ -86,13 +86,13 @@
supported_builds = {
"windows": [ "amd64", "i386" ],
"linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x"],
- "freebsd": [ "amd64", "i386" ]
+ "freebsd": [ "amd64", "i386", "armv6", "armv7" ]
}
supported_packages = {
"linux": [ "deb", "rpm", "tar" ],
"windows": [ "zip" ],
- "freebsd": [ "tar" ]
+ "freebsd": [ "tar", "tgz" ]
}
next_version = '1.9.0'