diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /app-admin/vault | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'app-admin/vault')
-rw-r--r-- | app-admin/vault/Manifest | 6 | ||||
-rw-r--r-- | app-admin/vault/vault-1.5.7.ebuild | 78 | ||||
-rw-r--r-- | app-admin/vault/vault-1.6.3.ebuild | 78 |
3 files changed, 162 insertions, 0 deletions
diff --git a/app-admin/vault/Manifest b/app-admin/vault/Manifest index 6e508eafa9fb..acfdc8e6f69a 100644 --- a/app-admin/vault/Manifest +++ b/app-admin/vault/Manifest @@ -5,8 +5,14 @@ AUX vault.logrotated 83 BLAKE2B 63b106e949f8a2da0ca97f1d07732fdea4dafbe44cb97ea8 AUX vault.service 677 BLAKE2B 0d9c6636c841ff33fa38afca10f10c62d273dc1c6419e35e2fa844472de0c963e177c80a6db3e95230db6f641ab50148843085cb4f141fa2dd2765aecf8457d3 SHA512 15951d095181fb1b1a5f79e0f385bdb96812a517ea59e05017141a29ed880d0e6f29d377e7c4bc53d5b70175122785a39923297b8e3304fc46a63835d2d2ec50 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.5.7-webui.tar.xz 1233708 BLAKE2B f270871593b0c205d336efd886f7019c36099ab2e3e3a1a85bff6143a22a71b15c0350ffcd26f602ffc391f266bc5484a3948f9621c50b7aacfcd268436da752 SHA512 1047de18678215cceef8da5b07e5625a85f343ef23ef77b159624a1a12b2ae08552f59dbe43941177b3734a534e7cd44755ce42009d35cbdccca52fb2ec7e861 +DIST vault-1.5.7.tar.gz 35115545 BLAKE2B 659388d1d923dc7c36a2d88b0f061f8b8a94a9944efd159f63f870ff6935cab1fd5230ed9e05043dbf649f7d1c0b999bcd3741d59f3b2a1576713d86d6e5d639 SHA512 06e8fc86e2930d032b44764f6b7e4540d466513e4f99411a1a1b70b8906bad26454619622778d369b8b7325d797566d07591eafbe839523151e96e05689c158c DIST vault-1.6.1-webui.tar.xz 1277456 BLAKE2B 7a63f676e4138c9ac0a9e550f5c195a68169c9214c4f232368356ed31e6a873242f069291fa6f56770bd84598333b9d9933da8544651836b04cf91b9c0d6e818 SHA512 0ce4fc98c8134d9ce39ce0bf7634b76cad8508d3f19480f32052dd6040a299b80406586d5c7c6d9571a4cced303dbab010b0761599c0fc4fe0d0556365564dc4 DIST vault-1.6.1.tar.gz 39080880 BLAKE2B a66f48c0e7a4edbe9765f7f3e9349ee318415d42ebac9763d48fed4060a3a81613246528339e5cce091dc3ba3ad70062dc5e3b13fce29611a37729a81cf31bc7 SHA512 3dd272b5ca6b2858ab9c65a1abcf25bfd01d554c8f8c380ab1384c216bf14f9719ae0947f764cd7a08688899b7e5805e3ce2a96086772035abe54012b5f4ea72 +DIST vault-1.6.3-webui.tar.xz 1273812 BLAKE2B e86d36c98919c5a33b3a9a58bd6a5c042c62c1e12a62762e22928b516b200b7e2e3f4a394cf80d65b1c6a847f70b5b80ff042d6a55a3753df9e0471183a80e3a SHA512 f113bbab76799791b0c64bf8cf169a9da4841377ea38589044ad022e564c2e2a3b5a0233b9ab14c06b8a92747ac36d1f91f77b484e49b953519760d743ab6482 +DIST vault-1.6.3.tar.gz 39092957 BLAKE2B 8b421f5d8f81d00ed7bf3380ec6192984ad7a3cd8f3f98bfcd76729874b2a2121785cfd2b27497e54414ebe1481cef35f1cf2be8472bc50aa0a3278a2f7747ff SHA512 ff8e1aa43ea0703327ab0a175460304c95a172512763cf63d8f1fe584d31e90650ff254e572a6a6b8e230ff181d85a2f042f4f7e1881ba9e1d5897c6de8e8dee EBUILD vault-1.5.6.ebuild 1879 BLAKE2B 5bddff9571265a85ae83006d0c5443ec74127d486db55e96a1121cec364ff280c8c5c34645794769d7a5997774ccfb6bac37b60b50e343f6959b1671214dfe59 SHA512 e637af281634f65377b14168fd037c24380f696830c5b520847991b5c66ef98e6011b37a073a8f1c24abe91b06b206ac140618b151e2f3ef30a9cf3f48e51481 +EBUILD vault-1.5.7.ebuild 1880 BLAKE2B 7df42f193de56d3affdb68ce2bd067367baef69d5572af56e3f48521d1057089ad3e0bbc21a370b8a5f58f7f74bb5400d8b80ca94dcf50a1d1f583f73d00efef SHA512 fdb48177c021d987454ce89a686f7e8914df17b39f3bc2ab37a4d1d1f94a0b6ed26e914d0c72202cffb3ad659ae3d3de2d3ad884f5a080408356b20c46a36bcc EBUILD vault-1.6.1.ebuild 1880 BLAKE2B 5d28f6333392f64f9ca59e3208f48e535164608cf3af0b46472a94f986989e9461b784e21506f7c14c9ec7563eb08e9fca4b7933e0e9886b5d6f74a2a6e99317 SHA512 238539a783c20b69f3c3b8f160ca9e9f48c69ff3bad4b175784544b505125d25f8947f28825eddbd30722b8a732f970b4c10d353373f061c4da1c80184e06bcd +EBUILD vault-1.6.3.ebuild 1880 BLAKE2B 9f7e8579490d1cd24afc040ac6af21d435e5199084ddb392000292f529c355a16d6fb9451c348003d2e71679b2a5c9062be6fd38cf1b5ee81900f45538014190 SHA512 e1956379e8f151dd471e03bbdb4bb816d7d92519a38b79355b99a6f3391556c01e40f268af59d5875bed878000fe0ea30f35e05455c9114b6db4080c364a4143 MISC metadata.xml 371 BLAKE2B bdee8ae91cf8ccf66bfceb7ee5e1a46494d3e1b36cf5159ce9e6ad36eb251ea0ea03b1a9aab034936021d1a0f17c8577dafb30dc76a912ec04d8cfc3ae8c37cc SHA512 2517b0ec49190a14a2261c3544e4115435abcc0824a0fd255f6eb585d2de9e97f6feddeff8bb15c505d0f9e3086839e00e2abbd18bc639b45a25f6a7f384be6a diff --git a/app-admin/vault/vault-1.5.7.ebuild b/app-admin/vault/vault-1.5.7.ebuild new file mode 100644 index 000000000000..f66aa7089ee8 --- /dev/null +++ b/app-admin/vault/vault-1.5.7.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 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 +} diff --git a/app-admin/vault/vault-1.6.3.ebuild b/app-admin/vault/vault-1.6.3.ebuild new file mode 100644 index 000000000000..64280d983e90 --- /dev/null +++ b/app-admin/vault/vault-1.6.3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 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.15.3" +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 +} |