mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
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
This commit is contained in:
parent
83f5fea171
commit
2261bc1bef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446103
@ -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} \
|
||||
" \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user