Index: head/sysutils/node_exporter/Makefile =================================================================== --- head/sysutils/node_exporter/Makefile (revision 452864) +++ head/sysutils/node_exporter/Makefile (revision 452865) @@ -1,29 +1,29 @@ # Created by: Jev Björsell # $FreeBSD$ PORTNAME= node_exporter -PORTVERSION= 0.14.0 +PORTVERSION= 0.15.0 DISTVERSIONPREFIX=v CATEGORIES= sysutils MAINTAINER= ports@ecadlabs.com COMMENT= Prometheus exporter for machine metrics LICENSE= APACHE20 USES= go USE_GITHUB= yes GH_ACCOUNT= prometheus GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= bin/node_exporter USE_RC_SUBR= node_exporter do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/node_exporter ${STAGEDIR}${PREFIX}/bin .include Index: head/sysutils/node_exporter/distinfo =================================================================== --- head/sysutils/node_exporter/distinfo (revision 452864) +++ head/sysutils/node_exporter/distinfo (revision 452865) @@ -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 Index: head/sysutils/node_exporter/files/node_exporter.in =================================================================== --- head/sysutils/node_exporter/files/node_exporter.in (revision 452864) +++ head/sysutils/node_exporter/files/node_exporter.in (revision 452865) @@ -1,59 +1,59 @@ #!/bin/sh # PROVIDE: node_exporter # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # node_exporter_enable (bool): Set to NO by default. # Set it to YES to enable node_exporter. # node_exporter_user (string): Set user that node_exporter will run under # Default is "nobody". # node_exporter_group (string): Set group that node_exporter will run under # Default is "nobody". # node_exporter_args (string): Set extra arguments to pass to node_exporter # Default is "". # node_exporter_listen_address (string):Set ip:port that node_exporter will listen on # Default is ":9100". # node_exporter_textfile_dir (string): Set directory that node_exporter will watch # Default is "/var/tmp/node_exporter". . /etc/rc.subr name=node_exporter rcvar=node_exporter_enable load_rc_config $name : ${node_exporter_enable:="NO"} : ${node_exporter_user:="nobody"} : ${node_exporter_group:="nobody"} : ${node_exporter_args:=""} : ${node_exporter_listen_address:=":9100"} : ${node_exporter_textfile_dir:="/var/tmp/node_exporter"} 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 node_exporter_startprecmd() { if [ ! -e ${pidfile} ]; then install -o ${node_exporter_user} -g ${node_exporter_group} /dev/null ${pidfile}; fi if [ ! -d ${node_exporter_textfile_dir} ]; then install -d -o ${node_exporter_user} -g ${node_exporter_group} -m 1755 ${node_exporter_textfile_dir} fi } load_rc_config $name run_rc_command "$1" Property changes on: head/sysutils/node_exporter/files/node_exporter.in ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -ON \ No newline at end of property +yes \ No newline at end of property Index: head/sysutils/node_exporter/pkg-message =================================================================== --- head/sysutils/node_exporter/pkg-message (nonexistent) +++ head/sysutils/node_exporter/pkg-message (revision 452865) @@ -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. Property changes on: head/sysutils/node_exporter/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property