From owner-svn-ports-head@freebsd.org Sat Jun 16 14:21:12 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BBDE1017E0F; Sat, 16 Jun 2018 14:21:12 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30EB4832FA; Sat, 16 Jun 2018 14:21:12 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EDC062766C; Sat, 16 Jun 2018 14:21:11 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5GELBAN089455; Sat, 16 Jun 2018 14:21:11 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5GELBUd089449; Sat, 16 Jun 2018 14:21:11 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201806161421.w5GELBUd089449@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarev Date: Sat, 16 Jun 2018 14:21:11 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: krion X-SVN-Commit-Paths: in head/sysutils/snmp_exporter: . files X-SVN-Commit-Revision: 472549 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2018 14:21:12 -0000 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 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 }