diff options
-rw-r--r-- | testing/vault/APKBUILD | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/testing/vault/APKBUILD b/testing/vault/APKBUILD index 2852270065..bce99a184d 100644 --- a/testing/vault/APKBUILD +++ b/testing/vault/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Gennady Feldman <gena01@gmail.com> # Maintainer: pkgname=vault -pkgver=0.6.5 +pkgver=0.7.2 pkgrel=0 pkgdesc="Vault is a tool for securely accessing secrets" url="https://www.vaultproject.io/" @@ -13,7 +13,7 @@ makedepends="go" install="$pkgname.pre-install" pkgusers="vault" pkggroups="vault" -options="!strip" +options="!check" source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/$pkgname/archive/v$pkgver.tar.gz vault.confd vault.hcl @@ -25,40 +25,32 @@ build() { mkdir -p "$builddir/src/github.com/hashicorp" ln -s "$builddir" "$builddir/src/github.com/hashicorp/vault" - GOPATH="$builddir" go build -v -o bin/$pkgname --tags vault || return 1 + GOPATH="$builddir" go build -v -o bin/$pkgname --tags vault } package() { cd "$builddir" install -m755 -D "$srcdir/$pkgname.initd" \ - "$pkgdir/etc/init.d/$pkgname" || return 1 + "$pkgdir/etc/init.d/$pkgname" install -m644 -D "$srcdir/$pkgname.confd" \ - "$pkgdir/etc/conf.d/$pkgname" || return 1 + "$pkgdir/etc/conf.d/$pkgname" install -m750 -o root -g vault -D bin/$pkgname \ - "$pkgdir/usr/sbin/$pkgname" || return 1 + "$pkgdir/usr/sbin/$pkgname" # Allow vault to use mlock as "vault" user. setcap cap_ipc_lock=+ep \ - "$pkgdir/usr/sbin/$pkgname" || return 1 + "$pkgdir/usr/sbin/$pkgname" install -m750 -o root -g vault -D "$srcdir/$pkgname.hcl" \ - "$pkgdir/etc/$pkgname.hcl" || return 1 + "$pkgdir/etc/$pkgname.hcl" - install -m750 -o vault -g vault -d "$pkgdir/var/lib/$pkgname" || return 1 + install -m750 -o vault -g vault -d "$pkgdir/var/lib/$pkgname" } -md5sums="d20a4ead1f1157f631ec87b157c143fd vault-0.6.5.tar.gz -2148a788620484be07e1e24feb1cbd34 vault.confd -1f7802f479024809856e3be2e44a1b19 vault.hcl -29f9404e7f3f51639a7a03016e2650f2 vault.initd" -sha256sums="ef4c2fffbc80e126e027e76b30e37351fcaf0baf1178e1fba0e8912276441c00 vault-0.6.5.tar.gz -f197536bc5bf4531072c0a5cb17627bf01abd188b0cc2005e0ff1768e6143d32 vault.confd -cacbd75cbaccf1034cd21d3015797cf0c1c1ce9c7e7ef7c1e4db4b54b92fe696 vault.hcl -fdc9044f7f830e4684edd813d4b06fa1c491dcbc49448ebb776c9f0d39c54a25 vault.initd" -sha512sums="3a135281a2135aae45e9a659b0492d37069b080f42956f8a1fdbf842a8a1e54b474b7c5b48c0e6170b206fdb52da7a718a9702d5a14d3aa99f8e560839268374 vault-0.6.5.tar.gz +sha512sums="3a811f1a3f7c318bf645bf93c66c15c6a9d06718806ca5dd7a5ff95eeafef6dc6e58bcb829373716172cf2fe863240d1f4fdd34f8dcc1d31a2e36f6917e533ba vault-0.7.2.tar.gz 6f3f30e5c9d9dd5117f18fce0e669f0cd752a6be4910405d6b394f15273372731ee887a5ba4c700293e5b8bc2bf40fd69d4337156f77b03549d2dc2c0a666bec vault.confd 8c064aa5dcca84822c1fa85e9d0ff520df46f794b2e9c689a9b4f81f74279387b3aebc08b3ca26cf786c2fcf1a330e765bf5a511074c24f87e5346672346ba1c vault.hcl 1e436932647b191e691f5c60bec4ad926588cee5119c7cbe61345249a6768472387b6dd8b19b954c8ac80fb97f6e68f93749229b216300b0438dbeb0bdb57957 vault.initd" |