Skip to content

Commit

Permalink
net-mgmt/telegraf: update to 1.26.0
Browse files Browse the repository at this point in the history
Add a pkg-message about the requirement to allow mlock if telegraf is to
be run from a jail.

Telegraf removed the default config files. Instead, a default
configuration file is generated by running the application as
`telegraf config`.

Release notes:	https://github.com/influxdata/telegraf/releases/tag/v1.26.0
  • Loading branch information
Palle Girgensohn authored and Palle Girgensohn committed Mar 15, 2023
1 parent 39722d9 commit e46793e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
6 changes: 1 addition & 5 deletions net-mgmt/telegraf/Makefile
@@ -1,7 +1,6 @@
PORTNAME= telegraf
DISTVERSIONPREFIX=v
DISTVERSION= 1.25.0
PORTREVISION= 4
DISTVERSION= 1.26.0
CATEGORIES= net-mgmt

MAINTAINER= girgen@FreeBSD.org
Expand Down Expand Up @@ -38,8 +37,5 @@ 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 <bsd.port.mk>
10 changes: 5 additions & 5 deletions net-mgmt/telegraf/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1670881263
SHA256 (go/net-mgmt_telegraf/telegraf-v1.25.0/v1.25.0.mod) = 98f503d97cb98c06718ea2a520109c54717b27280496fa69c60c1b51b90701f3
SIZE (go/net-mgmt_telegraf/telegraf-v1.25.0/v1.25.0.mod) = 23027
SHA256 (go/net-mgmt_telegraf/telegraf-v1.25.0/v1.25.0.zip) = 63dcc8589fc8d2bcc0c6b641276ace54010ac5ce1fd60c0465d4ca5601b85b0e
SIZE (go/net-mgmt_telegraf/telegraf-v1.25.0/v1.25.0.zip) = 5549793
TIMESTAMP = 1678784910
SHA256 (go/net-mgmt_telegraf/telegraf-v1.26.0/v1.26.0.mod) = 59a05551dfbd93e4957996344a16b027e65d961ec9d3e1d03bc23122565741c0
SIZE (go/net-mgmt_telegraf/telegraf-v1.26.0/v1.26.0.mod) = 23379
SHA256 (go/net-mgmt_telegraf/telegraf-v1.26.0/v1.26.0.zip) = d7493f3b1ab1d1a36e3d4b680c6f9056c1a8338d9da6acb3a1a968e31cad34ea
SIZE (go/net-mgmt_telegraf/telegraf-v1.26.0/v1.26.0.zip) = 5499673
11 changes: 11 additions & 0 deletions net-mgmt/telegraf/pkg-message
@@ -0,0 +1,11 @@
[
{ type: install
message: <<EOF
Running telegraf in a jail requires setting
allow.mlock=1;
in /etc/jail.conf

A config file can be created by running `telegraf config`.
EOF
}
]
1 change: 0 additions & 1 deletion net-mgmt/telegraf/pkg-plist
@@ -1,3 +1,2 @@
bin/telegraf
@dir(%%TELEGRAF_USER%%,%%TELEGRAF_GROUP%%,0750) %%TELEGRAF_LOGDIR%%
@sample etc/telegraf.conf.sample

0 comments on commit e46793e

Please sign in to comment.