29 lines
854 B
Bash
29 lines
854 B
Bash
# Template file for 'vault'
|
|
pkgname=vault
|
|
version=1.11.0
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/hashicorp/vault"
|
|
go_build_tags="release"
|
|
_git_commit=ea296ccf58507b25051bc0597379c467046eb2f1
|
|
go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
|
|
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=fb6147b6a865841a3780c417f42089bc9bb958cf522a5e669dd9722b02c0a593
|
|
system_accounts="_vault"
|
|
make_dirs="/var/lib/vault 0700 _vault _vault
|
|
/etc/vault 0750 root _vault"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) go_ldflags="$go_ldflags -linkmode=external";;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsv vault
|
|
}
|