Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2017 18:44:38 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r446103 - head/sysutils/consul
Message-ID:  <201707171844.v6HIicRH096185@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Jul 17 18:44:38 2017
New Revision: 446103
URL: https://svnweb.freebsd.org/changeset/ports/446103

Log:
  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

Modified:
  head/sysutils/consul/Makefile
  head/sysutils/consul/distinfo

Modified: head/sysutils/consul/Makefile
==============================================================================
--- head/sysutils/consul/Makefile	Mon Jul 17 18:42:53 2017	(r446102)
+++ head/sysutils/consul/Makefile	Mon Jul 17 18:44:38 2017	(r446103)
@@ -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} \
 		" \

Modified: head/sysutils/consul/distinfo
==============================================================================
--- head/sysutils/consul/distinfo	Mon Jul 17 18:42:53 2017	(r446102)
+++ head/sysutils/consul/distinfo	Mon Jul 17 18:44:38 2017	(r446103)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707171844.v6HIicRH096185>