From 3515abd74b9803e6a67d97ec435f25b022e39ad8 Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Mon, 11 Jan 2021 23:14:16 -0800 Subject: [PATCH 1/2] vault: update to 1.6.1 --- srcpkgs/vault/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template index 5b34538ad0c..9f8fe87fd3a 100644 --- a/srcpkgs/vault/template +++ b/srcpkgs/vault/template @@ -1,11 +1,11 @@ # Template file for 'vault' pkgname=vault -version=1.5.4 +version=1.6.1 revision=1 build_style=go go_import_path="github.com/hashicorp/${pkgname}" go_build_tags="release" -_git_commit=e16495da552c996068e05574cddf69875199f949 +_git_commit=6d2db3f033e02e70202bef9ec896360062b88b03 go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}" hostmakedepends="git" short_desc="Manage Secrets and Protect Sensitive Data" @@ -13,7 +13,7 @@ maintainer="Michael Aldridge " license="MPL-2.0" homepage="https://www.vaultproject.io/" distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz" -checksum=99e3145a9b6f5ee6429b997f3e1f35f648d07c617ff6aef7041f91fcf34e1582 +checksum=fb5d96e682a48bfd421b13cdfffd710da0238dbded1988aab822dd5aae75b4c4 system_accounts="_vault" make_dirs="/var/lib/vault 0700 _vault _vault /etc/vault 0700 root root" From 76f1911e81fc259503719f77ea48b80ce3633857 Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Tue, 12 Jan 2021 23:17:27 -0800 Subject: [PATCH 2/2] Add external linker workaround for arm* --- srcpkgs/vault/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template index 9f8fe87fd3a..edfa5c95a91 100644 --- a/srcpkgs/vault/template +++ b/srcpkgs/vault/template @@ -18,6 +18,10 @@ 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