Index: head/sysutils/consul/Makefile =================================================================== --- head/sysutils/consul/Makefile (revision 440697) +++ head/sysutils/consul/Makefile (revision 440698) @@ -1,52 +1,55 @@ # $FreeBSD$ PORTNAME= consul -PORTVERSION= 0.8.1 +PORTVERSION= 0.8.3 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= swills@FreeBSD.org COMMENT= Service discovery and configuration made easy LICENSE= MPL BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USES= compiler USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} USE_RC_SUBR= consul PLIST_FILES= bin/consul USERS= consul 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} ${BUILD_ENV} GOPATH=${WRKSRC} go build \ - -ldflags "-X github.com/hashicorp/consul/version.GitDescribe=v${PORTVERSION}" \ + @cd ${WRKSRC}/src/github.com/hashicorp/consul; ${SETENV} CGO_ENABLED=0 ${BUILD_ENV} GOPATH=${WRKSRC} go build \ + -ldflags "\ + -X github.com/hashicorp/consul/version.VersionPrerelease= \ + -X github.com/hashicorp/consul/version.GitDescribe=v${PORTVERSION} \ + " \ -o bin/consul do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/consul/bin/consul ${STAGEDIR}${PREFIX}/bin/consul .include # golang assumes that if clang is in use, it is called "clang" and not "cc". If # it's called "cc", go fails. .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/sysutils/consul/distinfo =================================================================== --- head/sysutils/consul/distinfo (revision 440697) +++ head/sysutils/consul/distinfo (revision 440698) @@ -1,3 +1,3 @@ -TIMESTAMP = 1492544138 -SHA256 (hashicorp-consul-v0.8.1_GH0.tar.gz) = 202ac732d076f43eb4cf0cccd21c6d8ccae4c4dcf4ef8223fbf08dd0e7d7cec6 -SIZE (hashicorp-consul-v0.8.1_GH0.tar.gz) = 5103830 +TIMESTAMP = 1494608318 +SHA256 (hashicorp-consul-v0.8.3_GH0.tar.gz) = 8088ae2f4259a736400211eed63f6df3b5264f3a18d31b31845c4a4481b349ac +SIZE (hashicorp-consul-v0.8.3_GH0.tar.gz) = 6513579 Index: head/sysutils/consul/files/patch-version_version.go =================================================================== --- head/sysutils/consul/files/patch-version_version.go (revision 440697) +++ head/sysutils/consul/files/patch-version_version.go (nonexistent) @@ -1,13 +0,0 @@ ---- version/version.go.orig 2016-11-10 20:33:01 UTC -+++ version/version.go -@@ -13,8 +13,8 @@ var ( - - // Release versions of the build. These will be filled in by one of the - // build tag-specific files. -- Version = "unknown" -- VersionPrerelease = "unknown" -+ Version = "%%VERSION%%" -+ VersionPrerelease = "" - ) - - // GetHumanVersion composes the parts of the version in a way that's suitable Property changes on: head/sysutils/consul/files/patch-version_version.go ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property