30 lines
873 B
Bash
30 lines
873 B
Bash
# Template file for 'vault'
|
|
pkgname=vault
|
|
version=1.8.4
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/hashicorp/vault"
|
|
go_build_tags="release"
|
|
_git_commit=aca76f63357041a43b49f3e8c11d67358496959f
|
|
go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
|
|
hostmakedepends="git"
|
|
depends="libcap-progs"
|
|
short_desc="Manage Secrets and Protect Sensitive Data"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="MPL-2.0"
|
|
homepage="https://www.vaultproject.io/"
|
|
distfiles="https://github.com/hashicorp/vault/archive/v${version}.tar.gz"
|
|
checksum=ff7fd9a1b33d19e3cb4743acd0139004e360bbffc04fa8e9598129530fc7118f
|
|
system_accounts="_vault"
|
|
make_dirs="/var/lib/vault 0700 _vault _vault
|
|
/etc/vault 0700 root root"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) go_ldflags="$go_ldflags -linkmode=external";;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv vault
|
|
}
|