From owner-svn-ports-all@freebsd.org Thu Mar 23 02:32:59 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A86A9D18523; Thu, 23 Mar 2017 02:32:59 +0000 (UTC) (envelope-from araujo@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 mx1.freebsd.org (Postfix) with ESMTPS id 8307D1923; Thu, 23 Mar 2017 02:32:59 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2N2WwhV051361; Thu, 23 Mar 2017 02:32:58 GMT (envelope-from araujo@FreeBSD.org) Received: (from araujo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2N2WwgC051357; Thu, 23 Mar 2017 02:32:58 GMT (envelope-from araujo@FreeBSD.org) Message-Id: <201703230232.v2N2WwgC051357@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: araujo set sender to araujo@FreeBSD.org using -f From: Marcelo Araujo Date: Thu, 23 Mar 2017 02:32:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436752 - in head/sysutils/consul-alerts: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2017 02:32:59 -0000 Author: araujo Date: Thu Mar 23 02:32:58 2017 New Revision: 436752 URL: https://svnweb.freebsd.org/changeset/ports/436752 Log: - Fix an issue with PATH environment, without it, consul-alerts will not watch checks and events. - Update a constant with the proper version of consul-alerts. - Fix pkg-descr replacing URL by WWW keyword. PR: ports/218027 Submitted by: John Hixson (maintainer) Added: head/sysutils/consul-alerts/files/patch-consul-alerts.go (contents, props changed) Modified: head/sysutils/consul-alerts/Makefile head/sysutils/consul-alerts/files/consul-alerts.in (contents, props changed) head/sysutils/consul-alerts/pkg-descr Modified: head/sysutils/consul-alerts/Makefile ============================================================================== --- head/sysutils/consul-alerts/Makefile Thu Mar 23 02:21:12 2017 (r436751) +++ head/sysutils/consul-alerts/Makefile Thu Mar 23 02:32:58 2017 (r436752) @@ -3,6 +3,7 @@ PORTNAME= consul-alerts PORTVERSION= 0.4.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= jhixson@gmail.com @@ -24,7 +25,7 @@ PLIST_FILES= ${PREFIX}/bin/consul-alerts USE_RC_SUBR= consul-alerts -STRIP= +STRIP= #none post-patch: @${MKDIR} ${WRKDIR}/src/github.com/AcalephStorage @@ -40,7 +41,9 @@ do-build: -ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/consul-alerts do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/src/github.com/AcalephStorage/consul-alerts/bin/consul-alerts ${STAGEDIR}${PREFIX}/bin/consul-alerts + ${INSTALL_PROGRAM} \ + ${WRKDIR}/src/github.com/AcalephStorage/consul-alerts/bin/consul-alerts \ + ${STAGEDIR}${PREFIX}/bin/consul-alerts .include Modified: head/sysutils/consul-alerts/files/consul-alerts.in ============================================================================== --- head/sysutils/consul-alerts/files/consul-alerts.in Thu Mar 23 02:21:12 2017 (r436751) +++ head/sysutils/consul-alerts/files/consul-alerts.in Thu Mar 23 02:32:58 2017 (r436752) @@ -16,6 +16,8 @@ . /etc/rc.subr +export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin + name=consul_alerts rcvar=consul_alerts_enable Added: head/sysutils/consul-alerts/files/patch-consul-alerts.go ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/consul-alerts/files/patch-consul-alerts.go Thu Mar 23 02:32:58 2017 (r436752) @@ -0,0 +1,11 @@ +--- consul-alerts.go.orig 2016-11-30 21:41:15.770397000 -0800 ++++ consul-alerts.go 2016-11-30 21:41:25.037217000 -0800 +@@ -20,7 +20,7 @@ + "github.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/github.com/docopt/docopt-go" + ) + +-const version = "Consul Alerts 0.3.3" ++const version = "Consul Alerts 0.4.0" + const usage = `Consul Alerts. + + Usage: Modified: head/sysutils/consul-alerts/pkg-descr ============================================================================== --- head/sysutils/consul-alerts/pkg-descr Thu Mar 23 02:21:12 2017 (r436751) +++ head/sysutils/consul-alerts/pkg-descr Thu Mar 23 02:32:58 2017 (r436752) @@ -4,4 +4,4 @@ check, or host that enables specific han consul-alerts makes use of consul services to provide leader election and automatic failover amongst multiple instances. -URL: https://github.com/AcalephStorage/consul-alerts +WWW: https://github.com/AcalephStorage/consul-alerts