svn commit: r472549 - in head/sysutils/snmp_exporter: . files
Kirill Ponomarev
krion at FreeBSD.org
Sat Jun 16 14:21:12 UTC 2018
Author: krion
Date: Sat Jun 16 14:21:11 2018
New Revision: 472549
URL: https://svnweb.freebsd.org/changeset/ports/472549
Log:
Update to 0.11.0 and log to syslog
PR: 226435
Submitted by: David O'Rourke <dor.bsd at xm0.uk>
Approved by: maintainer
Modified:
head/sysutils/snmp_exporter/Makefile
head/sysutils/snmp_exporter/distinfo
head/sysutils/snmp_exporter/files/snmp_exporter.in
Modified: head/sysutils/snmp_exporter/Makefile
==============================================================================
--- head/sysutils/snmp_exporter/Makefile Sat Jun 16 14:07:57 2018 (r472548)
+++ head/sysutils/snmp_exporter/Makefile Sat Jun 16 14:21:11 2018 (r472549)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= snmp_exporter
-PORTVERSION= 0.9.0
+PORTVERSION= 0.11.0
DISTVERSIONPREFIX=v
CATEGORIES= sysutils
Modified: head/sysutils/snmp_exporter/distinfo
==============================================================================
--- head/sysutils/snmp_exporter/distinfo Sat Jun 16 14:07:57 2018 (r472548)
+++ head/sysutils/snmp_exporter/distinfo Sat Jun 16 14:21:11 2018 (r472549)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1519669975
-SHA256 (prometheus-snmp_exporter-v0.9.0_GH0.tar.gz) = ac508e8cda680cc46638c68fe71a91df012e3274fb99460fd2866637b51591fd
-SIZE (prometheus-snmp_exporter-v0.9.0_GH0.tar.gz) = 3257207
+TIMESTAMP = 1529088276
+SHA256 (prometheus-snmp_exporter-v0.11.0_GH0.tar.gz) = 2cf17de907fef1cf8b352b3adf61dfdc575102b9adae1de5186b2fc88e62faee
+SIZE (prometheus-snmp_exporter-v0.11.0_GH0.tar.gz) = 3631252
Modified: head/sysutils/snmp_exporter/files/snmp_exporter.in
==============================================================================
--- head/sysutils/snmp_exporter/files/snmp_exporter.in Sat Jun 16 14:07:57 2018 (r472548)
+++ head/sysutils/snmp_exporter/files/snmp_exporter.in Sat Jun 16 14:21:11 2018 (r472549)
@@ -40,7 +40,8 @@ load_rc_config $name
pidfile=/var/run/snmp_exporter.pid
command="/usr/sbin/daemon"
procname="%%PREFIX%%/bin/snmp_exporter"
-command_args="-p ${pidfile} /usr/bin/env ${procname} \
+command_args="-p ${pidfile} -T ${name} \
+ /usr/bin/env ${procname} \
--web.listen-address=${snmp_exporter_listen_address} \
--config.file=${snmp_exporter_config_file} \
${snmp_exporter_args}"
@@ -51,9 +52,6 @@ snmp_exporter_startprecmd()
{
if [ ! -e ${pidfile} ]; then
install -o ${snmp_exporter_user} -g ${snmp_exporter_group} /dev/null ${pidfile};
- fi
- if [ ! -d ${snmp_exporter_textfile_dir} ]; then
- install -d -o ${snmp_exporter_user} -g ${snmp_exporter_group} -m 1755 ${snmp_exporter_textfile_dir}
fi
}
More information about the svn-ports-all
mailing list