Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2018 02:45:40 +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: r487647 - head/security/vault
Message-ID:  <201812170245.wBH2jeQh004620@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Dec 17 02:45:39 2018
New Revision: 487647
URL: https://svnweb.freebsd.org/changeset/ports/487647

Log:
  security/vault: update to 1.0.1
  
  While here, fix UI

Modified:
  head/security/vault/Makefile   (contents, props changed)
  head/security/vault/distinfo   (contents, props changed)

Modified: head/security/vault/Makefile
==============================================================================
--- head/security/vault/Makefile	Mon Dec 17 02:21:35 2018	(r487646)
+++ head/security/vault/Makefile	Mon Dec 17 02:45:39 2018	(r487647)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	vault
-PORTVERSION=	1.0.0
+PORTVERSION=	1.0.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 
@@ -14,10 +14,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	go>=1.9:lang/go
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	hashicorp
-GH_SUBDIR=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
-COMMIT_ID=	c19cef14891751a23eaa9b41fd456d1f99e7e856
+GH_TUPLE=	hashicorp:${PORTNAME}:${VAULTTAG}:DEFAULT/src/github.com/hashicorp/${PORTNAME} \
+		swills:vaultui:${VAULTUITAG}:vaultui
 
+VAULTTAG=	${DISTVERSIONPREFIX}${PORTVERSION}
+VAULTUITAG=	${DISTVERSIONPREFIX}${PORTVERSION}
+
 USE_RC_SUBR=	vault
 
 USERS=		vault
@@ -25,10 +27,14 @@ GROUPS=		vault
 
 PLIST_FILES=	bin/${PORTNAME}
 
+post-patch:
+	@${CP} ${WRKDIR}/vaultui-${PORTVERSION}/http/bindata_assetfs.go ${WRKDIR}/vault-${PORTVERSION}/http/bindata_assetfs.go
+
 do-build:
 	@cd ${WRKSRC}; \
 		${SETENV} ${MAKE_ENV} ${BUILD_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \
 		go build \
+		-tags=ui \
 		-ldflags "\
 		-X github.com/hashicorp/vault/version.Version=${PORTVERSION} \
 		-X github.com/hashicorp/vault/version.VersionPrerelease= \

Modified: head/security/vault/distinfo
==============================================================================
--- head/security/vault/distinfo	Mon Dec 17 02:21:35 2018	(r487646)
+++ head/security/vault/distinfo	Mon Dec 17 02:45:39 2018	(r487647)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1543927584
-SHA256 (hashicorp-vault-v1.0.0_GH0.tar.gz) = 5f7edef332b622d6b9897bf252e27251178e7f0f4745cfb27e2179e72d5a769b
-SIZE (hashicorp-vault-v1.0.0_GH0.tar.gz) = 25805722
+TIMESTAMP = 1545014012
+SHA256 (hashicorp-vault-v1.0.1_GH0.tar.gz) = 1c231d2b0dd277a5e7ff68133ad11b43e6a5820a5b2a7c2da61c03bd275780ca
+SIZE (hashicorp-vault-v1.0.1_GH0.tar.gz) = 25817507
+SHA256 (swills-vaultui-v1.0.1_GH0.tar.gz) = 236b52acd6c66b1f779d11054dd0b90eb26b287ab26deae3a9331ac611ce0347
+SIZE (swills-vaultui-v1.0.1_GH0.tar.gz) = 949688



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