diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile index 5f7a9f6fafa6..438fe24afd36 100644 --- a/net-mgmt/telegraf/Makefile +++ b/net-mgmt/telegraf/Makefile @@ -1,45 +1,44 @@ PORTNAME= telegraf DISTVERSIONPREFIX=v -DISTVERSION= 1.23.4 -PORTREVISION= 1 +DISTVERSION= 1.24.0 CATEGORIES= net-mgmt MAINTAINER= girgen@FreeBSD.org COMMENT= Time-series data collection WWW= https://influxdata.com/time-series-platform/telegraf/ 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 925b47bc1508..05d5a395398f 100644 --- a/net-mgmt/telegraf/distinfo +++ b/net-mgmt/telegraf/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1660724369 -SHA256 (go/net-mgmt_telegraf/telegraf-v1.23.4/v1.23.4.mod) = 75fae2c7ce28b5aad85abde9899f7df7c2de701cd248e4fa365cfb9e9d629d93 -SIZE (go/net-mgmt_telegraf/telegraf-v1.23.4/v1.23.4.mod) = 20303 -SHA256 (go/net-mgmt_telegraf/telegraf-v1.23.4/v1.23.4.zip) = a8326a2256e74a5651d7ba8eff5a3c3415dde235489e14c6843779d0a1a5b4bc -SIZE (go/net-mgmt_telegraf/telegraf-v1.23.4/v1.23.4.zip) = 4778845 +TIMESTAMP = 1663173398 +SHA256 (go/net-mgmt_telegraf/telegraf-v1.24.0/v1.24.0.mod) = 26a7189fa1b6f62c78b64be4c983231d1ff56b45cc58d69db492d1c7d6377213 +SIZE (go/net-mgmt_telegraf/telegraf-v1.24.0/v1.24.0.mod) = 21850 +SHA256 (go/net-mgmt_telegraf/telegraf-v1.24.0/v1.24.0.zip) = a5600a17e12b8253099674ac64efdb2ed81f76568316e7cea3218f4523e47d15 +SIZE (go/net-mgmt_telegraf/telegraf-v1.24.0/v1.24.0.zip) = 5156665 diff --git a/net-mgmt/telegraf/files/patch-etc_telegraf-conf b/net-mgmt/telegraf/files/patch-etc_telegraf-conf index 2189cb7fc253..47c169fbb256 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-08-09 00:12:28.711127000 +0200 +--- etc/telegraf.conf.orig 1979-11-30 00:00:00.000000000 +0100 ++++ etc/telegraf.conf 2022-09-14 18:38:59.926968000 +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: + + ## 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: