From c02e5e929858000e762cad3bf21574ca56886f3c Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Wed, 25 Oct 2017 15:17:59 +0000 Subject: [PATCH] sysutils/node_exporter: Update to 0.15.0 PR: 223236 Submitted by: David O'Rourke Approved by: jevonearth (maintainer) --- sysutils/node_exporter/Makefile | 2 +- sysutils/node_exporter/distinfo | 6 +++--- sysutils/node_exporter/files/node_exporter.in | 4 ++-- sysutils/node_exporter/pkg-message | 6 ++++++ 4 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 sysutils/node_exporter/pkg-message diff --git a/sysutils/node_exporter/Makefile b/sysutils/node_exporter/Makefile index 72db5a12cc65..3e5e3aada7a8 100644 --- a/sysutils/node_exporter/Makefile +++ b/sysutils/node_exporter/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= node_exporter -PORTVERSION= 0.14.0 +PORTVERSION= 0.15.0 DISTVERSIONPREFIX=v CATEGORIES= sysutils diff --git a/sysutils/node_exporter/distinfo b/sysutils/node_exporter/distinfo index 093661b26271..7d6ed4db196a 100644 --- a/sysutils/node_exporter/distinfo +++ b/sysutils/node_exporter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1490096188 -SHA256 (prometheus-node_exporter-v0.14.0_GH0.tar.gz) = 312d7e1c07d6a7548f2f116b983da87f7b3a7630f9332eb41c306fd71b2e6ec1 -SIZE (prometheus-node_exporter-v0.14.0_GH0.tar.gz) = 1086402 +TIMESTAMP = 1508926478 +SHA256 (prometheus-node_exporter-v0.15.0_GH0.tar.gz) = 87a057081e2034f85e997f9e1343aaf45e1b6ad9fa51411caf97a03fe1c46ccb +SIZE (prometheus-node_exporter-v0.15.0_GH0.tar.gz) = 1324698 diff --git a/sysutils/node_exporter/files/node_exporter.in b/sysutils/node_exporter/files/node_exporter.in index 098e3d217471..eec93362fed9 100644 --- a/sysutils/node_exporter/files/node_exporter.in +++ b/sysutils/node_exporter/files/node_exporter.in @@ -39,8 +39,8 @@ pidfile=/var/run/node_exporter.pid command="/usr/sbin/daemon" procname="%%PREFIX%%/bin/node_exporter" command_args="-p ${pidfile} /usr/bin/env ${procname} \ - -web.listen-address=${node_exporter_listen_address} \ - -collector.textfile.directory=${node_exporter_textfile_dir} \ + --web.listen-address=${node_exporter_listen_address} \ + --collector.textfile.directory=${node_exporter_textfile_dir} \ ${node_exporter_args}" start_precmd=node_exporter_startprecmd diff --git a/sysutils/node_exporter/pkg-message b/sysutils/node_exporter/pkg-message new file mode 100644 index 000000000000..c8e780f97b2a --- /dev/null +++ b/sysutils/node_exporter/pkg-message @@ -0,0 +1,6 @@ +If upgrading from a version of node_exporter <0.15.0 you'll need to update any +custom command line flags that you may have set as it now requires a +double-dash (--flag) instead of a single dash (-flag). +The collector flags in 0.15.0 have now been replaced with individual boolean +flags and the -collector.procfs` and -collector.sysfs` flags have been renamed +to --path.procfs and --path.sysfs respectively.