mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
vault: update to 1.2.2.
Adds support for building the UI. Due the yarn dependency, this may restrict building on some architectures.
This commit is contained in:
parent
869ef3ef2d
commit
58e8cc958b
1 changed files with 12 additions and 2 deletions
|
@ -1,19 +1,29 @@
|
|||
# Template file for 'vault'
|
||||
pkgname=vault
|
||||
version=1.2.0
|
||||
version=1.2.2
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="github.com/hashicorp/${pkgname}"
|
||||
go_build_tags="ui release"
|
||||
_git_commit=e16495da552c996068e05574cddf69875199f949
|
||||
go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
|
||||
conf_files="/etc/vault.hcl"
|
||||
make_dirs="/var/lib/vault 0700 _vault _vault"
|
||||
hostmakedepends="git nodejs-lts python yarn"
|
||||
short_desc="Tool for securely accessing secrets"
|
||||
maintainer="iaroki <iaroki@protonmail.com>"
|
||||
license="MPL-2.0"
|
||||
homepage="https://www.vaultproject.io/"
|
||||
distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=9ec2b23d7f6fd16909dd409a15e0da52235ac4f0c7e1903e6cfb5de9308cab4d
|
||||
checksum=3f9b20dc97813ccc019fadf370f322362890feb65cb3a633783bf039ffc6aabe
|
||||
system_accounts="_vault"
|
||||
|
||||
pre_build() {
|
||||
vsed -i Makefile -e "s@(find \. -name '\*\.go' | grep -v pb\.go | grep -v vendor)@(find . -name '*.go' | grep -v pb.go | grep -v vendor | grep -v ./_build-)@"
|
||||
local depbin="${wrksrc}/_build-depbin"
|
||||
GOOS= GOARCH= CGO_ENABLED=0 PATH="$depbin:$PATH" GOBIN="$depbin" make bootstrap ember-dist static-assets
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/vault.hcl 644 etc/
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue