Date: Wed, 10 May 2017 21:22:03 +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: r440588 - in head/security/vault: . files Message-ID: <201705102122.v4ALM362051998@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Wed May 10 21:22:03 2017 New Revision: 440588 URL: https://svnweb.freebsd.org/changeset/ports/440588 Log: security/vault: update to 0.7.2 Deleted: head/security/vault/files/patch-version_version.go Modified: head/security/vault/Makefile head/security/vault/distinfo Modified: head/security/vault/Makefile ============================================================================== --- head/security/vault/Makefile Wed May 10 20:14:36 2017 (r440587) +++ head/security/vault/Makefile Wed May 10 21:22:03 2017 (r440588) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= vault -PORTVERSION= 0.7.0 +PORTVERSION= 0.7.2 DISTVERSIONPREFIX= v CATEGORIES= security @@ -15,6 +15,7 @@ BUILD_DEPENDS= go>=1.7.1:lang/go USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} +COMMIT_ID= d28dd5a018294562dbc9a18c95554d52b5d12390 USE_RC_SUBR= vault @@ -25,10 +26,18 @@ PLIST_FILES= bin/${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/version/version.go + @${REINPLACE_CMD} -e 's|%%COMMIT_ID%%|${COMMIT_ID}|g' ${WRKSRC}/version/version.go do-build: @cd ${WRKSRC}; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -o bin/${PORTNAME} + ${SETENV} ${BUILD_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ + go build \ + -ldflags "\ + -X github.com/hashicorp/vault/version.Version=${PORTVERSION} \ + -X github.com/hashicorp/vault/version.VersionPrerelease= \ + -X github.com/hashicorp/vault/version.VersionMetadata= \ + -X github.com/hashicorp/vault/version.GitCommit='${COMMIT_ID}'" \ + -o bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} Modified: head/security/vault/distinfo ============================================================================== --- head/security/vault/distinfo Wed May 10 20:14:36 2017 (r440587) +++ head/security/vault/distinfo Wed May 10 21:22:03 2017 (r440588) @@ -1,3 +1,3 @@ -TIMESTAMP = 1490895339 -SHA256 (hashicorp-vault-v0.7.0_GH0.tar.gz) = 85a15b393f89858b52d09bd884aaf3b5996fd75ec02989b9c9cc932545751368 -SIZE (hashicorp-vault-v0.7.0_GH0.tar.gz) = 5826086 +TIMESTAMP = 1494440954 +SHA256 (hashicorp-vault-v0.7.2_GH0.tar.gz) = 8f0f4e2c8e8877abe5b21d8886a740484e7a921748d4a6092c5d754fbab31030 +SIZE (hashicorp-vault-v0.7.2_GH0.tar.gz) = 6547973
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705102122.v4ALM362051998>