summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-01-07 02:35:26 -0800
committerZac Medico <zmedico@gentoo.org>2021-01-07 02:36:15 -0800
commitd45a14aeebe8a0e7e53e6107c2a71c4f83b0238f (patch)
tree5a808794736b79bbf84523b5f811507a3bdd432d /app-admin
parentapp-shells/fish: Stabilize 3.1.2 arm64, #762910 (diff)
downloadgentoo-d45a14aeebe8a0e7e53e6107c2a71c4f83b0238f.tar.gz
gentoo-d45a14aeebe8a0e7e53e6107c2a71c4f83b0238f.tar.bz2
gentoo-d45a14aeebe8a0e7e53e6107c2a71c4f83b0238f.zip
app-admin/vault: Remove vulnerable version 1.4.7
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/Manifest2
-rw-r--r--app-admin/vault/vault-1.4.7.ebuild77
2 files changed, 0 insertions, 79 deletions
diff --git a/app-admin/vault/Manifest b/app-admin/vault/Manifest
index c7fa3341d2b8..00f8efdf73f8 100644
--- a/app-admin/vault/Manifest
+++ b/app-admin/vault/Manifest
@@ -1,5 +1,3 @@
-DIST vault-1.4.7-webui.tar.xz 1236924 BLAKE2B 83ab6f4494708f0738aed4f7226d5e634d01268da6b672c6ef1340559eccfdbb2a74baaa9a67cb3287290bd1ef332e325ba365280999f7db86e1694ec1731788 SHA512 634128a0a46c01d671c3c766eb4f84a58802f0cf0ade297f34e9d84eedb8d8dfbbbd4ad0eae6a28e33acb0b161f123a692b8b98a25918da8337cbce380c5f94b
-DIST vault-1.4.7.tar.gz 33265037 BLAKE2B 11cd3d1bd2321a6240a31f326666e0725b1bd3104a4cb050ecc78c9fc6bac1db1a79799e3a4b212468556a54e1f431e61f18115d2c86ddd0b229ae0f5ad06726 SHA512 a7af7780756df02a465a60989e3aba382116e0846cc48ab81d7b272133c31b7c47f60eed4ec5ad47ad0a80247baee7087a1554fcaf189a60a1edb807a268c3a4
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.1-webui.tar.xz 1277456 BLAKE2B 7a63f676e4138c9ac0a9e550f5c195a68169c9214c4f232368356ed31e6a873242f069291fa6f56770bd84598333b9d9933da8544651836b04cf91b9c0d6e818 SHA512 0ce4fc98c8134d9ce39ce0bf7634b76cad8508d3f19480f32052dd6040a299b80406586d5c7c6d9571a4cced303dbab010b0761599c0fc4fe0d0556365564dc4
diff --git a/app-admin/vault/vault-1.4.7.ebuild b/app-admin/vault/vault-1.4.7.ebuild
deleted file mode 100644
index 671178b25133..000000000000
--- a/app-admin/vault/vault-1.4.7.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# 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"
-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
-}