Date: Thu, 23 Mar 2017 02:32:58 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> 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 Message-ID: <201703230232.v2N2WwgC051357@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <jhixson@gmail.com> (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 <bsd.port.pre.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703230232.v2N2WwgC051357>