Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2018 14:21:11 +0000 (UTC)
From:      Kirill Ponomarev <krion@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472549 - in head/sysutils/snmp_exporter: . files
Message-ID:  <201806161421.w5GELBUd089449@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806161421.w5GELBUd089449>