From 2261bc1bef46acfa57b4cf1cc76126e8c7e055fd Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Mon, 17 Jul 2017 18:44:38 +0000 Subject: [PATCH] sysutils/consul: update to 0.8.5 While here, remove unneeded post-patch and also set Version to avoid runtime issue. PR: 220798 Submitted by: luca.pizzamiglio@gmail.com --- sysutils/consul/Makefile | 8 ++------ sysutils/consul/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/sysutils/consul/Makefile b/sysutils/consul/Makefile index 621fb4296060..71bd95174298 100644 --- a/sysutils/consul/Makefile +++ b/sysutils/consul/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= consul -PORTVERSION= 0.8.3 +PORTVERSION= 0.8.5 DISTVERSIONPREFIX= v CATEGORIES= sysutils @@ -28,14 +28,10 @@ GROUPS= consul post-extract: @${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src/ -post-patch: - @${REINPLACE_CMD} \ - -e "s!%%VERSION%%!${PORTVERSION}!g" \ - ${WRKSRC}/version/version.go - do-build: @cd ${WRKSRC}/src/github.com/hashicorp/consul; ${SETENV} CGO_ENABLED=0 ${BUILD_ENV} GOPATH=${WRKSRC} go build \ -ldflags "\ + -X github.com/hashicorp/consul/version.Version=${PORTVERSION} \ -X github.com/hashicorp/consul/version.VersionPrerelease= \ -X github.com/hashicorp/consul/version.GitDescribe=v${PORTVERSION} \ " \ diff --git a/sysutils/consul/distinfo b/sysutils/consul/distinfo index 8e7c62c2276e..f3b95708f0fe 100644 --- a/sysutils/consul/distinfo +++ b/sysutils/consul/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1494608318 -SHA256 (hashicorp-consul-v0.8.3_GH0.tar.gz) = 8088ae2f4259a736400211eed63f6df3b5264f3a18d31b31845c4a4481b349ac -SIZE (hashicorp-consul-v0.8.3_GH0.tar.gz) = 6513579 +TIMESTAMP = 1500310152 +SHA256 (hashicorp-consul-v0.8.5_GH0.tar.gz) = 3049ac26e6226b61af2d631d5705669cadb8bf3b0c7860e169590ce1472c6b64 +SIZE (hashicorp-consul-v0.8.5_GH0.tar.gz) = 6630059