Index: head/sysutils/consul-alerts/Makefile =================================================================== --- head/sysutils/consul-alerts/Makefile (revision 436751) +++ head/sysutils/consul-alerts/Makefile (revision 436752) @@ -1,51 +1,54 @@ # $FreeBSD$ PORTNAME= consul-alerts PORTVERSION= 0.4.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= jhixson@gmail.com COMMENT= Simple daemon to send notifications based on Consul health checks LICENSE= GPLv2+ BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USES= compiler USE_GITHUB= yes GH_ACCOUNT= AcalephStorage aws:aws_sdk_go GH_PROJECT= aws-sdk-go:aws_sdk_go GH_TAGNAME= v1.5.12:aws_sdk_go GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= ${PREFIX}/bin/consul-alerts USE_RC_SUBR= consul-alerts -STRIP= +STRIP= #none post-patch: @${MKDIR} ${WRKDIR}/src/github.com/AcalephStorage @${MV} ${WRKSRC} \ ${WRKDIR}/src/github.com/AcalephStorage/consul-alerts @${MKDIR} ${WRKDIR}/src/github.com/aws @${MV} ${WRKSRC_aws_sdk_go} \ ${WRKDIR}/src/github.com/aws/aws-sdk-go do-build: @cd ${WRKDIR}/src/github.com/AcalephStorage/consul-alerts; \ ${SETENV} ${BUILD_ENV} GOPATH=${WRKDIR} go build -v -x \ -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 .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/sysutils/consul-alerts/files/consul-alerts.in =================================================================== --- head/sysutils/consul-alerts/files/consul-alerts.in (revision 436751) +++ head/sysutils/consul-alerts/files/consul-alerts.in (revision 436752) @@ -1,32 +1,34 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: consul-alerts # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # consul_alerts_enable (bool): Set to NO by default. # Set it to YES to enable consul-alerts # consul_alerts_env (string): Set environment variables used with consul-alerts # Default is "". . /etc/rc.subr +export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin + name=consul_alerts rcvar=consul_alerts_enable load_rc_config $name : ${consul_alerts_enable:="NO"} : ${consul_alerts_env:=""} pidfile=/var/run/consul-alerts.pid procname="%%PREFIX%%/bin/consul-alerts" command="/usr/sbin/daemon" command_args="-f -p ${pidfile} /usr/bin/env ${consul_alerts_env} ${procname} start ${consul_alerts_args}" run_rc_command "$1" Property changes on: head/sysutils/consul-alerts/files/consul-alerts.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/sysutils/consul-alerts/files/patch-consul-alerts.go =================================================================== --- head/sysutils/consul-alerts/files/patch-consul-alerts.go (nonexistent) +++ head/sysutils/consul-alerts/files/patch-consul-alerts.go (revision 436752) @@ -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: Property changes on: head/sysutils/consul-alerts/files/patch-consul-alerts.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/consul-alerts/pkg-descr =================================================================== --- head/sysutils/consul-alerts/pkg-descr (revision 436751) +++ head/sysutils/consul-alerts/pkg-descr (revision 436752) @@ -1,7 +1,7 @@ A highly available daemon to send notifications and reminders based on Consul health checks. Including profile selection based on service, check, or host that enables specific handlers and reminder intervals. 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