martin 4719e12143 Update telegraf to v1.22.0. From Lucas Raab.
Fixes a few snmp and modbus issues important for release, but breaks
short-lived arm64 support for now.

Discussed and tested with a few. OK landry@
2022-03-30 07:05:21 +00:00

31 lines
657 B
Makefile

COMMENT = plugin-driven server agent for collecting metrics
BROKEN-arm = build fails, no error message
MODGO_VERSION= v1.22.0
MODGO_MODNAME= github.com/influxdata/telegraf
GH_ACCOUNT = influxdata
GH_PROJECT = telegraf
GH_TAGNAME = ${MODGO_VERSION}
HOMEPAGE = https://www.influxdata.com/time-series-platform/telegraf/
CATEGORIES = sysutils
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/go
WANTLIB += c pthread
WRKDIST= ${WRKSRC}
.include "modules.inc"
do-install:
${MODGO_INSTALL_TARGET}
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/telegraf/
${INSTALL_DATA} ${WRKSRC}/etc/telegraf.conf \
${PREFIX}/share/examples/telegraf/
.include <bsd.port.mk>