Index: head/net-mgmt/mysqld_exporter/Makefile =================================================================== --- head/net-mgmt/mysqld_exporter/Makefile (revision 487012) +++ head/net-mgmt/mysqld_exporter/Makefile (revision 487013) @@ -1,30 +1,29 @@ # Created by: Alexey Bobkov # $FreeBSD$ PORTNAME= mysqld_exporter -PORTVERSION= 0.10.0 -PORTREVISION= 1 +PORTVERSION= 0.11.0 DISTVERSIONPREFIX=v CATEGORIES= net-mgmt MAINTAINER= mr.deadlystorm@gmail.com COMMENT= Prometheus exporter for MySQL server 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/mysqld_exporter USE_RC_SUBR= mysqld_exporter do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/mysqld_exporter ${STAGEDIR}${PREFIX}/bin .include Index: head/net-mgmt/mysqld_exporter/distinfo =================================================================== --- head/net-mgmt/mysqld_exporter/distinfo (revision 487012) +++ head/net-mgmt/mysqld_exporter/distinfo (revision 487013) @@ -1,3 +1,3 @@ -TIMESTAMP = 1495846408 -SHA256 (prometheus-mysqld_exporter-v0.10.0_GH0.tar.gz) = e32779c8dc0880784599d855310496f1a53641f008efb3be4332c46b12810f53 -SIZE (prometheus-mysqld_exporter-v0.10.0_GH0.tar.gz) = 971604 +TIMESTAMP = 1544123103 +SHA256 (prometheus-mysqld_exporter-v0.11.0_GH0.tar.gz) = d4cbe1b67b4eb5154c7e3e1c1d03250b2d1a8eca825bff547e3b69eb8555e617 +SIZE (prometheus-mysqld_exporter-v0.11.0_GH0.tar.gz) = 1393809 Property changes on: head/net-mgmt/mysqld_exporter/distinfo ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +yes \ No newline at end of property Index: head/net-mgmt/mysqld_exporter/files/mysqld_exporter.in =================================================================== --- head/net-mgmt/mysqld_exporter/files/mysqld_exporter.in (revision 487012) +++ head/net-mgmt/mysqld_exporter/files/mysqld_exporter.in (revision 487013) @@ -1,65 +1,65 @@ #!/bin/sh # PROVIDE: mysqld_exporter # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # mysqld_exporter_enable (bool): Set to NO by default. # Set it to YES to enable mysqld_exporter. # mysqld_exporter_user (string): Set user that mysqld_exporter will run under # Default is "nobody". # mysqld_exporter_group (string): Set group that mysqld_exporter will run under # Default is "nobody". # mysqld_exporter_args (string): Set extra arguments to pass to mysqld_exporter # Default is "". # mysqld_exporter_listen_address (string):Set ip:port that mysqld_exporter will listen on # Default is ":9100". # mysqld_exporter_conffile (string): Set configuration file path for mysqld_exporter # Default is "". . /etc/rc.subr name=mysqld_exporter rcvar=mysqld_exporter_enable load_rc_config $name : ${mysqld_exporter_enable:="NO"} : ${mysqld_exporter_user:="nobody"} : ${mysqld_exporter_group:="nobody"} : ${mysqld_exporter_args:=""} : ${mysqld_exporter_listen_address:=":9104"} if [ -f "%%ETCDIR%%/my.cnf" ]; then : ${mysqld_exporter_conffile:="%%ETCDIR%%/my.cnf"} else : ${mysqld_exporter_conffile:=""} fi if [ -z ${mysqld_exporter_conffile} ]; then conf_arg="" else -conf_arg="-config.my-cnf=${mysqld_exporter_conffile}" +conf_arg="--config.my-cnf=${mysqld_exporter_conffile}" fi pidfile=/var/run/mysqld_exporter.pid command="/usr/sbin/daemon" procname="%%PREFIX%%/bin/mysqld_exporter" command_args="-p ${pidfile} /usr/bin/env ${procname} \ - -web.listen-address=${mysqld_exporter_listen_address} \ + --web.listen-address=${mysqld_exporter_listen_address} \ ${conf_arg} \ ${mysqld_exporter_args}" start_precmd=mysqld_exporter_startprecmd mysqld_exporter_startprecmd() { if [ ! -e ${pidfile} ]; then install -o ${mysqld_exporter_user} -g ${mysqld_exporter_group} /dev/null ${pidfile}; fi } load_rc_config $name run_rc_command "$1"