diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-12-27 13:01:40 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-12-27 13:47:54 -0800 |
commit | bfebed24ab184d1c1da540e3a8f3ab01f149de61 (patch) | |
tree | 2773236bf97383e9ed36431496c793ca7219db76 /app-admin | |
parent | media-libs/openexr: restore ~arm (diff) | |
download | gentoo-bfebed24ab184d1c1da540e3a8f3ab01f149de61.tar.gz gentoo-bfebed24ab184d1c1da540e3a8f3ab01f149de61.tar.bz2 gentoo-bfebed24ab184d1c1da540e3a8f3ab01f149de61.zip |
app-admin/vault: Bump to version 1.5.6
Bug: https://bugs.gentoo.org/761963
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/vault/Manifest | 2 | ||||
-rw-r--r-- | app-admin/vault/vault-1.5.6.ebuild | 78 |
2 files changed, 80 insertions, 0 deletions
diff --git a/app-admin/vault/Manifest b/app-admin/vault/Manifest index 8dd0b6330e72..eb90f0f8783b 100644 --- a/app-admin/vault/Manifest +++ b/app-admin/vault/Manifest @@ -2,5 +2,7 @@ DIST vault-1.4.7-webui.tar.xz 1236924 BLAKE2B 83ab6f4494708f0738aed4f7226d5e634d DIST vault-1.4.7.tar.gz 33265037 BLAKE2B 11cd3d1bd2321a6240a31f326666e0725b1bd3104a4cb050ecc78c9fc6bac1db1a79799e3a4b212468556a54e1f431e61f18115d2c86ddd0b229ae0f5ad06726 SHA512 a7af7780756df02a465a60989e3aba382116e0846cc48ab81d7b272133c31b7c47f60eed4ec5ad47ad0a80247baee7087a1554fcaf189a60a1edb807a268c3a4 DIST vault-1.5.5-webui.tar.xz 1239480 BLAKE2B d1f9d98c2a6ece03f994c08c1e842343f713bdcde981c55ea75049f3cc51f4989a9187786190ff138a9c8ef264a7a9a26428f8a7d916b4b2c0554da85e48ae4d SHA512 a9516605ec262ad44cb8ae61308a70a5cfa0458b8bb2e80d49c4e28711db5a7ad18ef2bcf0e9756b9da6534f1d47ed8bcfc6c7c734042aa8d9b0e9851059fa9d DIST vault-1.5.5.tar.gz 35123385 BLAKE2B 428d509378cd912d2ef13630a0fd4ff4df89a7144b30291cecd3c62e91b10a67210c7ae79e5459d7da5d9c635ae2634d3edd99614c40cce744d93713804c407b SHA512 de19be6b9fdaf06ce2debc7784ef1a6dff00ced7811a110b58348d61b304ed2c850d957605a47abfa0cc7568488b3b0920437ace7891a69d470e98b44c0f9fae +DIST vault-1.5.6-webui.tar.xz 1237168 BLAKE2B 997a3ef1e297e288d2abf14647667fd07ebd2e9c6389aad90e3c8fe4d66b5e77004ad07575c6a48d38eb1a4e4040af6cf341edc17bbe87a575a31e06f91449aa SHA512 afed06fe9866dd24ea925e49e2ebdb477ef40dd8ea0137fec1f8a86e17cbe5679ef23a9d9a248ce4de8a21392c96d50f47487c5a866f45ad7317c6cbfc1a5fda +DIST vault-1.5.6.tar.gz 35110596 BLAKE2B 6e2581b82dfc98f0fd4c807dd24c9e17b4e4c3252ab5744388e17a076d8ed613ea2360f8bf5b975ee5b15d6c7f96100f2b814e290ab47e33c565525ffe1eeda3 SHA512 1da2a6f1307583f03298a4199d301536783787ae1d9b16a8b0a4cce55d29a1fd8a1631366a55aa4671d5b7f6fb9108ffe55d9ec9575e887e495a512b00cf9cb3 DIST vault-1.6.0-webui.tar.xz 1272792 BLAKE2B cef45043b7ca26de774e17a994f35a3c52b796c94b75b9377300f8755bb4c0d8814147d740e07be8d5dd5f909051adf7fb05be29b1ca1e1db349a0c3977ec034 SHA512 3b13687f7f0f475513152544ae423914520d0bcd9c0ea4295277f326002048707adfdf5ac405561ddb415affb842952409d6586ef19c7faca37d87aee973337a DIST vault-1.6.0.tar.gz 38888893 BLAKE2B e6da6ba813625a2a00553181e5d16bb52510856d9ad4e1538b824b5f87b2beb6c8d19f60b274e68d9521210c72dbd93cb63ba73175d079b43b03b48fefd1e1be SHA512 f9a99c29de585031c00b7f0a2125f61df1cb0a15ab0aa04e3cca950bdd23a4055dd3764561594730e62a1b3ae4d13e66df30032bf2b1000063edc4f772a8146d diff --git a/app-admin/vault/vault-1.5.6.ebuild b/app-admin/vault/vault-1.5.6.ebuild new file mode 100644 index 000000000000..03db71b29ae1 --- /dev/null +++ b/app-admin/vault/vault-1.5.6.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fcaps go-module systemd + +DESCRIPTION="A tool for managing secrets" +HOMEPAGE="https://vaultproject.io/" +VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz" +SRC_URI="https://github.com/hashicorp/vault/archive/v${PV}.tar.gz -> ${P}.tar.gz + webui? ( + https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE} + )" + +LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+webui" + +BDEPEND="dev-go/gox + >=dev-lang/go-1.14.7" +COMMON_DEPEND="acct-group/vault + acct-user/vault" + DEPEND="${COMMON_DEPEND}" + RDEPEND="${COMMON_DEPEND}" + +FILECAPS=( + -m 755 'cap_ipc_lock=+ep' usr/bin/${PN} +) + +RESTRICT+=" test" + +src_prepare() { + default + # Avoid the need to have a git checkout + sed -e 's:^\(GIT_COMMIT=\).*:\1:' \ + -e 's:^\(GIT_DIRTY=\).*:\1:' \ + -e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \ + -i scripts/build.sh || die + sed -e "/hooks/d" \ + -e 's|^\([[:space:]]*\)goimports .*)|\1true|' \ + -i Makefile || die + if [[ -f "${WORKDIR}/http/bindata_assetfs.go" ]]; then + mv "${WORKDIR}/http/bindata_assetfs.go" "${S}/http" || + die "mv failed" + fi +} + +src_compile() { + mkdir "${T}"/bin || die + BUILD_TAGS="$(usex webui ui '')" \ + GOFLAGS="-mod=vendor" \ + GOPATH="${T}" \ + XC_ARCH=$(go env GOARCH) \ + XC_OS=$(go env GOOS) \ + XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \ + emake +} + +src_install() { + dobin bin/${PN} + dodoc CHANGELOG.md CONTRIBUTING.md README.md + insinto /etc/${PN}.d + doins "${FILESDIR}/"*.json.example + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} + +pkg_postinst() { + fcaps_pkg_postinst + go-module_pkg_postinst +} |