diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile index 1e3fc24b5322..94e64df323ba 100644 --- a/net-mgmt/telegraf/Makefile +++ b/net-mgmt/telegraf/Makefile @@ -1,44 +1,43 @@ PORTNAME= telegraf DISTVERSIONPREFIX=v -DISTVERSION= 1.23.0 -PORTREVISION= 2 +DISTVERSION= 1.23.3 CATEGORIES= net-mgmt MAINTAINER= girgen@FreeBSD.org COMMENT= Time-series data collection LICENSE= MIT ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 USES= go:modules USE_RC_SUBR= telegraf GO_MODULE= github.com/influxdata/telegraf GO_BUILDFLAGS= -ldflags "-X main.goos=freebsd -X main.goarch=${ARCH} -X main.version=${DISTVERSION}" GO_TARGET= ./cmd/telegraf SUB_FILES= telegraf SUB_LIST= TELEGRAF_USER=${TELEGRAF_USER} \ TELEGRAF_GROUP=${TELEGRAF_GROUP} \ TELEGRAF_LOGDIR=${TELEGRAF_LOGDIR} PLIST_SUB= TELEGRAF_USER=${TELEGRAF_USER} \ TELEGRAF_GROUP=${TELEGRAF_GROUP} \ TELEGRAF_LOGDIR=${TELEGRAF_LOGDIR} TELEGRAF_USER= telegraf TELEGRAF_GROUP= telegraf USERS= ${TELEGRAF_USER} GROUPS= ${TELEGRAF_GROUP} TELEGRAF_LOGDIR=/var/log/${PORTNAME} post-install: ${MKDIR} ${STAGEDIR}${TELEGRAF_LOGDIR} ${INSTALL_DATA} \ ${WRKSRC}/${GH_SUBDIR}/etc/${PORTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include diff --git a/net-mgmt/telegraf/distinfo b/net-mgmt/telegraf/distinfo index d5020243bc0c..99e1bd54516a 100644 --- a/net-mgmt/telegraf/distinfo +++ b/net-mgmt/telegraf/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1655240658 -SHA256 (go/net-mgmt_telegraf/telegraf-v1.23.0/v1.23.0.mod) = a876f0491d209c6be68059bcc7989181956a4680a0c556c8de3ee80e5032b576 -SIZE (go/net-mgmt_telegraf/telegraf-v1.23.0/v1.23.0.mod) = 19708 -SHA256 (go/net-mgmt_telegraf/telegraf-v1.23.0/v1.23.0.zip) = bbd807e77903e2d23f495404800920d85b5c562bb89bbdabdb358bd2385ea374 -SIZE (go/net-mgmt_telegraf/telegraf-v1.23.0/v1.23.0.zip) = 4749098 +TIMESTAMP = 1659995970 +SHA256 (go/net-mgmt_telegraf/telegraf-v1.23.3/v1.23.3.mod) = 5214353549c6c8428e771504e826295d012ca1547782cb9d8eda779d5e5cdea5 +SIZE (go/net-mgmt_telegraf/telegraf-v1.23.3/v1.23.3.mod) = 19994 +SHA256 (go/net-mgmt_telegraf/telegraf-v1.23.3/v1.23.3.zip) = da58dbbf0ac5c24be3a9a3c4341ab02164c0313a20bd8258c97e9d34744725cc +SIZE (go/net-mgmt_telegraf/telegraf-v1.23.3/v1.23.3.zip) = 4770678 diff --git a/net-mgmt/telegraf/files/patch-etc_telegraf-conf b/net-mgmt/telegraf/files/patch-etc_telegraf-conf index b2591a8c38a1..2189cb7fc253 100644 --- a/net-mgmt/telegraf/files/patch-etc_telegraf-conf +++ b/net-mgmt/telegraf/files/patch-etc_telegraf-conf @@ -1,11 +1,11 @@ --- etc/telegraf.conf.orig 1979-11-30 01:00:00.000000000 +0100 -+++ etc/telegraf.conf 2022-03-23 23:38:56.047612000 +0100 -@@ -61,7 +61,7 @@ - - ## Collected metrics are rounded to the precision specified. Precision is - ## specified as an interval with an integer + unit (e.g. 0s, 10ms, 2us, 4s). -- ## Valid time units are "ns", "us" (or "µs"), "ms", "s". -+ ## Valid time units are "ns", "us", "ms", "s". - ## - ## By default or when set to "0s", precision will be set to the same - ## timestamp order as the collection interval, with the maximum being 1s: ++++ etc/telegraf.conf 2022-08-09 00:12:28.711127000 +0200 +@@ -60,7 +60,7 @@ + + ## Collected metrics are rounded to the precision specified. Precision is + ## specified as an interval with an integer + unit (e.g. 0s, 10ms, 2us, 4s). +- ## Valid time units are "ns", "us" (or "µs"), "ms", "s". ++ ## Valid time units are "ns", "us", "ms", "s". + ## + ## By default or when set to "0s", precision will be set to the same + ## timestamp order as the collection interval, with the maximum being 1s: