From owner-svn-ports-head@freebsd.org Wed May 10 21:22:04 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFEC4D67302; Wed, 10 May 2017 21:22:04 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7631816B1; Wed, 10 May 2017 21:22:04 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4ALM3D6052000; Wed, 10 May 2017 21:22:03 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4ALM362051998; Wed, 10 May 2017 21:22:03 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201705102122.v4ALM362051998@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 10 May 2017 21:22:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440588 - in head/security/vault: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 21:22:04 -0000 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