upgpkg: 1.9.1-1

This commit is contained in:
Justin Kromlinger 2021-12-10 08:50:03 +00:00
parent 9db8f61f22
commit 1054e2b9db

View File

@ -2,10 +2,11 @@
# Contributor: Tim Meusel <tim@bastelfreak.de> # Contributor: Tim Meusel <tim@bastelfreak.de>
# Contributor: Sebastian Rakel <sebastian@devunit.eu> # Contributor: Sebastian Rakel <sebastian@devunit.eu>
# Contributor: Justin Kromlinger <hashworks@archlinux.org> # Contributor: Justin Kromlinger <hashworks@archlinux.org>
# Contributor: Andrew Tyler <assimilat@gmail.com>
pkgname='vault' pkgname='vault'
pkgdesc='A tool for managing secrets' pkgdesc='A tool for managing secrets'
pkgver=1.9.0 pkgver=1.9.1
pkgrel=1 pkgrel=1
url="https://vaultproject.io/" url="https://vaultproject.io/"
license=('MPL') license=('MPL')
@ -15,7 +16,7 @@ makedepends=('go' 'git' 'yarn' 'bower' 'nodejs-lts-fermium' 'npm' 'zip'
depends=('glibc') depends=('glibc')
install='vault.install' install='vault.install'
backup=('etc/vault.hcl') backup=('etc/vault.hcl')
_vault_commit='6dae166b52e0d65147991d143045ad929eb3d71b' _vault_commit='3d69cbbd35a8e7a51bd036849f39a7fd0eb9c2ca'
source=("git+https://github.com/hashicorp/vault#commit=${_vault_commit}" source=("git+https://github.com/hashicorp/vault#commit=${_vault_commit}"
'vault.service' 'vault.service'
'vault.sysusers' 'vault.sysusers'
@ -49,7 +50,11 @@ build () {
export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}" export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
XC_OSARCH='linux/amd64' make static-dist bin export XC_OSARCH='linux/amd64'
grep "^[a-z].*plugin[:]" Makefile | cut -f1 -d: | while IFS= read -r plugin; do
make "$plugin"
done
make static-dist bin
} }
package() { package() {