summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/vault/Manifest4
-rw-r--r--app-admin/vault/vault-0.7.3-r1.ebuild66
-rw-r--r--app-admin/vault/vault-0.8.2.ebuild67
3 files changed, 1 insertions, 136 deletions
diff --git a/app-admin/vault/Manifest b/app-admin/vault/Manifest
index 59313642706d..4e976212c943 100644
--- a/app-admin/vault/Manifest
+++ b/app-admin/vault/Manifest
@@ -1,4 +1,2 @@
-DIST vault-0.7.3.tar.gz 6694636 SHA256 98409ae9c0e081e613a0e2288d2b5653582bb8bf57cb775cbff782d061a25708 SHA512 8632b4b721372cb0f5f684564ebe0749b7c1a9b5d0322b083773b3a2fd1734fb2eedee1aeb4b4c9431ce7f44c711ac0a95960c581165e1bac1a3754f8658e783 WHIRLPOOL d8eae9b3ed5d24a8b30dfec90360d2e5e4c94663b1bb168156b03724d6a2ff5dae1345474a02b67b1cde427419c07cc8a12bcbbe9b3db463a6c4f2a503832041
-DIST vault-0.8.2.tar.gz 7293367 SHA256 0e248c6cbf19ce8fb01fd31541d5a28b8c1c534b02256fb72bdc1d4d6aa462f2 SHA512 279056211aefbab09b6533ce5b0fea355511a84c3f21cbbae0fa08b0affd2254fcd0a9479a317d07e9b99c5a2bd6d8c9caa5c32f14f73b21d8c4be3f24345669 WHIRLPOOL f96be6c75a5fc1cf6db26f12270d00c028b665ea37589dba8087ade3e5bcd987cb9914188d990a9c6628045277226823accc4ffabeaf290e62f4f71cbb72a0d7
DIST vault-0.8.3.tar.gz 8128509 SHA256 f7ba9d620478cbe4f4660f29b627b12244aadb59e87f30d8fed1b20c2fa8688b SHA512 e2b273ebb761246f6d85fc040d911a3f3a7beb0951fed4adcbe5df4106dd0cb013328b5816ef4153b2c4d363f7f2a14ae1c82bae9baaea74ef707ff0934d6c8d WHIRLPOOL 128afef1735add95cc0860fbc6b827d68d135d6a1b8171c176a1e38a96c7c88f8c349563ef46c6022d5937ba9672a0b23e526e57fa7b75c3afec8f6c3f4b54e2
-DIST vault-0.9.0.tar.gz 8457263 SHA256 938ea1458a6be8563f4fea8a80028e3e544de4e07bb813741847bad27be8f524 SHA512 c5755bd8a696764af2375ac51b955759ece36796e6c138e6fc3e8abd487c10ac41c8927501234e0cdfcd448021254b2f09097d8e00a6278b44f971d8b8442da6 WHIRLPOOL b0dbe978a1f6e51d4d02511f40ce2c95ee30cea505f2ab1e1765120a4bcb8e4de69a5f867b185617cd4fc0c21a3a2cb88bab055a356ab53dc1428e0c174d0c14
+DIST vault-0.9.0.tar.gz 8457263 BLAKE2B 021887cd3ab8185b3369f8355fc6cac23553e90277dfa2121fedcf170bbac19997f723c995ed0e00b80b25671ee827aa43a15040a6b57c43634abd5030dd7130 SHA512 c5755bd8a696764af2375ac51b955759ece36796e6c138e6fc3e8abd487c10ac41c8927501234e0cdfcd448021254b2f09097d8e00a6278b44f971d8b8442da6
diff --git a/app-admin/vault/vault-0.7.3-r1.ebuild b/app-admin/vault/vault-0.7.3-r1.ebuild
deleted file mode 100644
index 332d32ddfc85..000000000000
--- a/app-admin/vault/vault-0.7.3-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit fcaps golang-base golang-vcs-snapshot systemd user
-
-EGO_PN="github.com/hashicorp/${PN}"
-DESCRIPTION="A tool for managing secrets"
-HOMEPAGE="https://vaultproject.io/"
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SLOT="0"
-LICENSE="MPL-2.0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RESTRICT="test"
-
-DEPEND="dev-lang/go:=
- dev-go/gox"
-
-FILECAPS=(
- -m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
-)
-
-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 src/${EGO_PN}/scripts/build.sh || die
-}
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_compile() {
- mkdir bin || die
- export GOPATH=${S}
- cd src/${EGO_PN} || die
- XC_ARCH=$(go env GOARCH) \
- XC_OS=$(go env GOOS) \
- XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
- emake
-}
-
-src_install() {
- dodoc src/${EGO_PN}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${PN}.logrotated" "${PN}"
- systemd_dounit "${FILESDIR}/${PN}.service"
-
- keepdir /etc/${PN}.d
- insinto /etc/${PN}.d
- doins "${FILESDIR}/"*.json.example
-
- keepdir /var/log/${PN}
- fowners ${PN}:${PN} /var/log/${PN}
-
- dobin bin/${PN}
-}
diff --git a/app-admin/vault/vault-0.8.2.ebuild b/app-admin/vault/vault-0.8.2.ebuild
deleted file mode 100644
index e41ab098f405..000000000000
--- a/app-admin/vault/vault-0.8.2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit fcaps golang-base golang-vcs-snapshot systemd user
-
-EGO_PN="github.com/hashicorp/${PN}"
-DESCRIPTION="A tool for managing secrets"
-HOMEPAGE="https://vaultproject.io/"
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SLOT="0"
-LICENSE="MPL-2.0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RESTRICT="test"
-
-DEPEND=">=dev-lang/go-1.9:=
- dev-go/gox"
-
-FILECAPS=(
- -m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
-)
-
-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 src/${EGO_PN}/scripts/build.sh || die
- sed -e "/hooks/d" -i src/${EGO_PN}/Makefile || die
-}
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_compile() {
- mkdir bin || die
- export GOPATH=${S}
- cd src/${EGO_PN} || die
- XC_ARCH=$(go env GOARCH) \
- XC_OS=$(go env GOOS) \
- XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
- emake
-}
-
-src_install() {
- dodoc src/${EGO_PN}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${PN}.logrotated" "${PN}"
- systemd_dounit "${FILESDIR}/${PN}.service"
-
- keepdir /etc/${PN}.d
- insinto /etc/${PN}.d
- doins "${FILESDIR}/"*.json.example
-
- keepdir /var/log/${PN}
- fowners ${PN}:${PN} /var/log/${PN}
-
- dobin bin/${PN}
-}