From 896d6a8a88861c42b5d531a2f147c8a29a149bd8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 1 Dec 2022 20:53:45 +0000 Subject: gentoo auto-resync : 01:12:2022 - 20:53:45 --- app-admin/Manifest.gz | Bin 32544 -> 32551 bytes app-admin/awscli/Manifest | 2 + app-admin/awscli/awscli-1.27.20.ebuild | 80 +++++++++++++++++++++++++++ app-admin/consul/Manifest | 2 + app-admin/consul/consul-1.14.2.ebuild | 57 +++++++++++++++++++ app-admin/keepassxc/Manifest | 2 +- app-admin/keepassxc/keepassxc-2.7.4.ebuild | 2 +- app-admin/vault/Manifest | 3 + app-admin/vault/vault-1.12.2.ebuild | 86 +++++++++++++++++++++++++++++ 9 files changed, 232 insertions(+), 2 deletions(-) create mode 100644 app-admin/awscli/awscli-1.27.20.ebuild create mode 100644 app-admin/consul/consul-1.14.2.ebuild create mode 100644 app-admin/vault/vault-1.12.2.ebuild (limited to 'app-admin') diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz index 9a74151c4dc0..226d478dfac0 100644 Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index eae8ba98d958..145f552f18f9 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,9 +1,11 @@ DIST aws-cli-1.27.11.gh.tar.gz 2303984 BLAKE2B f773a631bd2f172697a013e11765307edfac0957f7bff7d05e74c326239491c03629859b5d7b4ec85a831e28acd47cbbf4a2393c8ae512fbf393142cfb7ca13d SHA512 ad9eee70eb95d2c9c71978425e96b80a42569efca6e20c5caeb6af7b27aa893b3bfe68fed8e13b18e20626c4cd9599e8efe93dacde5bcc5c347b815376819ea5 DIST aws-cli-1.27.16.gh.tar.gz 2309698 BLAKE2B b81d5b1dcc8219a977bfc3cfa41053c12ff8cc363bcb8e3afd9b206d69240a7b4f5ef742d2e74cf21f46bc3a36271a516bf15e1ca34272ad64b4b1dc0c67e4e2 SHA512 1570b82cb2e6cbfb14754b539840b12a606c7a81490bb45239c851757b8e3ac694b41c5842a0b0df825d355d6d6182c6fd6b3c3f26e1c7070150814959c52260 DIST aws-cli-1.27.18.gh.tar.gz 2313270 BLAKE2B 2f5dc87a2e306d024c03b6cc175736798a28fe5b125aba7e6af9fe1297e44e37fae6990df216cf58c6cdf47ac7b5fc583bed9d5125df063f328544286f4f0f82 SHA512 6f5b0b333af0f842d940cc80f0c18c55feb06c7a4cc609c2db8332126f7e868ccff6f84bfd031bf8d590ca38be9aa258527433e6fab9d63de6a96c64ae740ca2 +DIST aws-cli-1.27.20.gh.tar.gz 2315771 BLAKE2B 6729a6709e2ae3d493700b49dbcb7020391f7ce9e2d023e942271a27502309c8f699e90063aa6a13256981123d22772653888fcaae7bebe3cde471caa21bf4a1 SHA512 b520136e0c41e1b40ce48f90024461ace2d0967f3897dcdf68c90cc89ca637e3ba1dee117d5c1f7c6cd9d0d598e819c5faf5ebbf8a35818dc5e8c85933122af6 DIST aws-cli-1.27.8.gh.tar.gz 2301766 BLAKE2B 1873d92b8d2f6d3f29a65b4177927a1a14034da71dbc95ff6abf3f49df6cf3ee192412eeea15be14c8cf9fca0a5603f2c76b80b280f4feb95e661055abcd8b60 SHA512 e53828cac1b3e10e2ddd45312d71cdb748216dbc37c3e9833e7a1320b236c3bef6a13204a38b946d9182430f169fca1ddc77d3d06c1c2c6e05978dc61f675168 EBUILD awscli-1.27.11.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a EBUILD awscli-1.27.16.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a EBUILD awscli-1.27.18.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a +EBUILD awscli-1.27.20.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a EBUILD awscli-1.27.8.ebuild 2259 BLAKE2B 64d00480a8171f321e7feb58458293b942f7eb6d97b2bdc63f0ed7327d04e56ae15a274df4ce5a49199db2451f336e2ae2e49d20d5b9f57c26a347bc42ba9639 SHA512 cc067d10df0d454b0f7f184d336d98f39ee65dfc847289984f1158c679869852e4820736afc856cbbba1ffa128627778b3c1248897bdde9b799631b5cd24a6d8 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.27.20.ebuild b/app-admin/awscli/awscli-1.27.20.ebuild new file mode 100644 index 000000000000..9bcb01ac11e2 --- /dev/null +++ b/app-admin/awscli/awscli-1.27.20.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +MY_P=aws-cli-${PV} +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE=" + https://github.com/aws/aws-cli/ + https://pypi.org/project/awscli/ +" +SRC_URI=" + https://github.com/aws/aws-cli/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +# botocore is x.(y+2).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)" +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + # strip overzealous upper bounds on requirements + sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple + tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only + tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing + tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid + ) + + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + + insinto /usr/share/zsh/site-functions + newins bin/aws_zsh_completer.sh _aws + + distutils-r1_python_install_all + + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die +} diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest index 53216e448201..39e948ad593c 100644 --- a/app-admin/consul/Manifest +++ b/app-admin/consul/Manifest @@ -12,9 +12,11 @@ DIST consul-1.13.3-deps.tar.xz 251812624 BLAKE2B 0ce8fe76298defc83c174d1d02ee25b DIST consul-1.13.3.tar.gz 25380333 BLAKE2B 6dbb8f3e9e3dd6b7e5192a6f050000cfb48a7730e63e474f2d24787608f21781b5f3810400b42f38ad93995d048fe41cc9643ffa3923c297699cc1a8e975a44d SHA512 a978e25f89b7fb9ebc56fd2857493559756981b6e63e57d74b2749af9cce44897b7b5dc136a38d5861296105bedcc591adef972e18edb02efec1952c2f67add9 DIST consul-1.14.0-vendor.tar.gz 39530717 BLAKE2B 62672e0383353bcccdfcaa25ffd7409b31d8ba650080f315d8a8b68d0be4afa60a12b45ec548be0ecd5a9a703c1888c781a985f1b67fe6128fd82f69a984c42a SHA512 a2ada95b7e890c3f466009a78fdd1dfb0aa46494583811531653230adf0ead98016d22cfdeba45d68e03a6aa7fe711660c17c438c6c9038cbc732021ec011e7a DIST consul-1.14.1-vendor.tar.gz 39669654 BLAKE2B bb4fbe3df71354ee46d5a08e532226f2a0cfd8f5eb46b20a9ba5a324e1166a64a9b6cd3e44c5eebbd16c3bd4ff6a72b3afbfe117b7cd1b7fc5b9bf68cf58aa73 SHA512 9bfef09a7df0a0d4230d7e25ba113b985a29532240f235592af480867fb2c803671e2ed6563bbb7f07c64c15a8b1a5b00a9a05151387a01049067a75ffade169 +DIST consul-1.14.2-vendor.tar.gz 40549325 BLAKE2B af0135de2b781d69707246a8f7f48fb677d3b9cfff59ee95ae6c37cdbe634bc04c2e853ce3dd2f70bd9a7a1d72438cdcd382939a5e361e152180c7ae1905bf85 SHA512 8e4d160993272a99901b83821b2e29686a53c2700a3e9e2355080eaa15d74f0a0d8f0d8ff86f08a131549cb3e70f77f59da302bb3f6f6b7a367c2ccd6f3ccfd2 EBUILD consul-1.12.5.ebuild 1348 BLAKE2B 2e307d128275fe16ba00c9f59e4343173a33adb67cf5e0efabe39551916d26799051582e5bb28f6d2e028854e0f10b876e0d7faa4232aab86b5b4988a94a7726 SHA512 537e5dff9baa5b2654c8a8bb3c2b28401859706ea33c7c90fc4fc81e77f1d0410bfc95d8eee59ff4174e89f7c9516994e2fbd854af5c5c2fc8691f08dc91b832 EBUILD consul-1.12.6.ebuild 1358 BLAKE2B 8b8f7f3ec8c7b1e4513b792f7ae3cb433cb85f3f3ded471cafd9f1ea85f766ee1fdf8170e829c219793d49b31433e2655028c7d717ecc377b6a5c41dd620ac83 SHA512 2cd161dee702f2aa0472efb785203bc69fc204ebe43825ba7ef2bee927a2217f78578471ad14d8898754e8cbccdb05b06ee8b9d998f298b8ef8ac1764100eb7e EBUILD consul-1.13.3.ebuild 1450 BLAKE2B dcac7443f99d0b59e59405c544ab6b2acaff9f1a88739a5a2582092a45cbeedb872fe5069f1622995190f320b926ed95494b8f8ec1ec28f7d5c891c1a58177be SHA512 072e60f28c53da8db659487889c2aa75ddc220d083d990f90009824cefcf55fa21856db4cb69319cfb0b40de18148ffe6e6fca2930521dec1b5809b500c9b81e EBUILD consul-1.14.0.ebuild 1433 BLAKE2B fb73ae8584816a78ac7799fdb7ebeef637bdaf2558180fa8436a0d1d5a689b334e0ef82b3499281c872c29ff7e8bb3900616fe76dc64fa22205ab096a2c9ead0 SHA512 601e0662b494f1421ec6256a1e1abf626ec7b512ac5f9f705669d8d9ebadfa67977355f9ed44f41272749dcd49e46f6d867cbbb64d8302d81db0226e3efdc237 EBUILD consul-1.14.1.ebuild 1433 BLAKE2B 0eebbb105211742812aa91b1b0a01370a6fdd2ddca6aa4e0acd1d8ad8b93749e0366bfb1f77dfb21cd34896da76bbb7b4b943d7239df546bc1d9a20a9cd7b238 SHA512 73062dbba9f5bad0638991baf8f43115b407f59511476f38b81e85b5bb53aabe74138bf952bb63a7eab8515494aea61f9b3a986246520bd1f2b0045d0ed8cf56 +EBUILD consul-1.14.2.ebuild 1433 BLAKE2B 081e7ce46d6b56a31f203945ad9d84f5c3e37ff5d8e1d5a715e2dcdecf40433050766835b32e802dcdd2c29168a6f0ca66fe174395a480d1cf2a83bfcf1a24d3 SHA512 3856eeeab74a17d987c14d417bdea791ae69c31723053abb6d7cceda32f341802b3b542671fe444b15bcfbcb830d9b3f330f12a758cc4ee21ae989a4d24a6e3e MISC metadata.xml 392 BLAKE2B 4995d973307987bb70802d4328dbb1d5e052683a2e1900912b40be5e345969740b1df9e8e1b3bcbf76fb90066ed43ac5ce91e8e11a0ad19c9d587c7204f45419 SHA512 92d4589b5294df0ddcee6fbafa5db5288b3e892dbec6d84bf0e53beb2b0a30e385f9166c536462e51aeaa9ee8799dd1ae3634b7b13e452e3059ba2853c5b77f1 diff --git a/app-admin/consul/consul-1.14.2.ebuild b/app-admin/consul/consul-1.14.2.ebuild new file mode 100644 index 000000000000..6033d7f63dfa --- /dev/null +++ b/app-admin/consul/consul-1.14.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module systemd + +DESCRIPTION="A tool for service discovery, monitoring and configuration" +HOMEPAGE="https://www.consul.io" +GIT_COMMIT="cac392a17d3f71048a949599a0f977bf9645df62" + +SRC_URI="https://github.com/zmedico/consul/archive/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz" + +LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT" +RESTRICT+=" test" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND="dev-go/gox" +COMMON_DEPEND=" + acct-group/consul + acct-user/consul" + DEPEND="${COMMON_DEPEND}" + RDEPEND="${COMMON_DEPEND}" + +S=${WORKDIR}/${P}-vendor + +src_prepare() { + default + sed -e 's|^GIT_DATE=.*|GIT_DATE=2022-11-30T19:54:31Z|' -i GNUmakefile || die +} + +src_compile() { + # The dev target sets causes build.sh to set appropriate XC_OS + # and XC_ARCH, and skips generation of an unused zip file, + # avoiding a dependency on app-arch/zip. + GIT_DESCRIBE="v${PV}" \ + GIT_DIRTY="" \ + GIT_COMMIT="${GIT_COMMIT}" \ + emake dev-build +} + +src_install() { + dobin bin/consul + + keepdir /etc/consul.d + insinto /etc/consul.d + doins "${FILESDIR}/"*.json.example + + keepdir /var/log/consul + fowners consul:consul /var/log/consul + + newinitd "${FILESDIR}/consul.initd" "${PN}" + newconfd "${FILESDIR}/consul.confd" "${PN}" + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + systemd_dounit "${FILESDIR}/consul.service" +} diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest index 667d75d92e46..5c05bc7482a9 100644 --- a/app-admin/keepassxc/Manifest +++ b/app-admin/keepassxc/Manifest @@ -5,6 +5,6 @@ DIST keepassxc-2.7.3-src.tar.xz 8963496 BLAKE2B 7f467960eb618d771e24980caa41ee15 DIST keepassxc-2.7.4-src.tar.xz 8957372 BLAKE2B 5b8ea105c35956f85779187df624f373f9e6937e1edc454b2a5cbc851ddd2ef0dd556ec74242e3a67c314c1e4b0750987a498d245c3463a5e92254ad0c394ab4 SHA512 76b6ba0891d9ba92a5794ba6f25dc8a28f7c1c0f010c31dd49d52ac4c5f186d9c4b51e6f054102b6dfe2d8e766607455829c1994c7ea238efc8f172bbe29b8eb EBUILD keepassxc-2.7.1-r1.ebuild 2368 BLAKE2B e1d3f23456beb2057c29f4040e9244ca2f2452a2dbd75ee8bb807b4921b2a0aa1519aecd31a21a6caa8c4c7b6295cd87bf66f9c01d50c4c98425728429287aeb SHA512 e90e777e8c8ea57551af72b11d82fa5e4fa6bcbe4bb424e0de39b99dddbd8d21b80e5cd1c49c12485da414e3670145144f31a6aa77b0ff163bcccbdb08e23207 EBUILD keepassxc-2.7.3.ebuild 2527 BLAKE2B 719bdba36c5228cc45fc691a114a1b246d8ad6f9577ebfaba25e2b9f79c24892b948ee445a778eaf705b5cd2f1fdd7eca9d27c242196af36ace971cbbbfb5130 SHA512 119753498d14adc8e654dc53bc30aab27677b7587f6f776173a69cf14603f8781465798ae78405f9deff6762c99896c05ef69673caea22d4597efe635bc3a64e -EBUILD keepassxc-2.7.4.ebuild 2528 BLAKE2B 36e886583566784815abf90873c09c1e5698d67b6f68945df44aac762e95b3d9866926a2e7592bbe2ad52074d048bdf725daa15674c7caace351a28e70e0ef7f SHA512 fb853fd1a83b2d83bc33b145535f703282e4a726da1f81df6e60186e45ed6d6b26bba0086922fa71ef9cc6f1308c75a5ea3d1c6620a82b7a9646bf3b3277abca +EBUILD keepassxc-2.7.4.ebuild 2526 BLAKE2B b7d6f5bdf53e95c2b94b8f3f705c3524aaae6c03962df6203066988e6eea5c2c011c6943d2e494e6781cc2544a25e0a081eec09ee3f6a16eca730cbe5ccf94c0 SHA512 7cc34e7e6644053ed718ae658b66efe982a3984f3b776f98f41b35a9f1f301f7aab47f99acf7be278812e24d9dee82007e192dc795e15e2f95a0fad097822a94 EBUILD keepassxc-9999.ebuild 2484 BLAKE2B e01ba45106ef10b452c746cb31b82359aebc7e0149574c39202ac34ceeb28a0f5dfcdaec363f07af580e89bafb6fd2000d20a37f835050538c26bc84eb3b774b SHA512 bca31898fdf2b92c2728f2c4023702268d797993acee7ed7517b051b43f22a3c6e46d1775b2fa5ff2835f4906a16868cfb7977eaa3247ddbaa27263df592793e MISC metadata.xml 1077 BLAKE2B 410793b2f278ccbddceb10a72e4a010f4b2d6fc81bd8a472b867e1230d43a0e6f461ff6459095d334536d462e2297c4978dbb247e3a5ccb82c36fd70c6f44b51 SHA512 d338787a7ea319d752c19314ee53ee1306293ae2dddeedd22bd010e990a1680fdd1b96c5173c653b4dbbe336d713a07f9fc1a771951fca8636b3973361787f20 diff --git a/app-admin/keepassxc/keepassxc-2.7.4.ebuild b/app-admin/keepassxc/keepassxc-2.7.4.ebuild index eced3151172f..7608f162fbff 100644 --- a/app-admin/keepassxc/keepassxc-2.7.4.ebuild +++ b/app-admin/keepassxc/keepassxc-2.7.4.ebuild @@ -16,7 +16,7 @@ if [[ "${PV}" != *9999 ]] ; then else #SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" fi else inherit git-r3 diff --git a/app-admin/vault/Manifest b/app-admin/vault/Manifest index a7b1baf6c25c..ecd55e6f1519 100644 --- a/app-admin/vault/Manifest +++ b/app-admin/vault/Manifest @@ -15,10 +15,13 @@ DIST vault-1.12.0-vendor.tar.gz 53774794 BLAKE2B 2aa91274bcd3efe2c34c9acdc3000af DIST vault-1.12.0-webui.tar.xz 1413084 BLAKE2B 5f681ac61b14694e64be0a55445d0849b9b7481dc2456c923297f496b60d843ffae2d7f27b029ed33b4e7efd3029d99c1cb30110da3ad3162ee4135f3856d60e SHA512 4399f2e4c85712cd83b8265315186d6f7161fa545e0708a56ff7c56fbde335eb2ab9a357720850c0007e55679b94edbaadd3c2318671676e658f270f4d04de34 DIST vault-1.12.1-vendor.tar.gz 53818036 BLAKE2B 58bf72efa345d737dd74a58bd56be3740d19fa5849d11f4aa4bc3ccb46ca42e84b1aa85bcf9f76e4ae5a72c3b954519a1ac989ff0f779c5fd25a42fe17b573c6 SHA512 55ccb2c61e6baf69627e1443ce6f524c2d6f8bf1ff59103173acd74e1a3a0a79a90a5dab95790f002ca7261e80c38dc2c8c27f95553bac65e2d0fa7f48254b23 DIST vault-1.12.1-webui.tar.xz 1413308 BLAKE2B 1a6008bc67f08037a0dbd966d004c424b249597cd9f1002e30a23262bd1df6ddc388e7d863ff3f62350d8a4b3807de40a1d33da08ade1fe5ec84d4cecc64ade8 SHA512 87d30c77772fa982a110cfe4fa0d118b302796e7dcdfa71b94e6bd1cca0369cb0555169ef48acc68e16d11a1ab47ef096cc91e204be3189f4779125449cd9cd1 +DIST vault-1.12.2-vendor.tar.gz 53842063 BLAKE2B 42917c6310ca53254be9d6339a786902327074635297ad84fcacd2a73b9b2d974830f91f527116f6764ea8f848809944fd52e623c3ecc2ac88dae698aa6f4636 SHA512 8c6fd33c363099bda13a2992200356d4a877ff4c52ca4613f1cb2c8d2cbabaf0f9f760dcd6bcd3d4e4453324edce3efe07d27700f30bced85da0f56ef9321697 +DIST vault-1.12.2-webui.tar.xz 1413036 BLAKE2B 7d773274c27d93ca8f492d792390896b6b7ab0e52b3636428f182a62161049d1593aef5280826dd83535e9ad86e925edba234ca982f2c9d1d06d2012c9757779 SHA512 0076e7b75fc0d3c400022a95cc6abc4a9224fd76d3d9716f7d4a80e4856c9deb1890ba13e7e5adf86ee81486c2f530f2eb48e49d8bdb7fde6eab5bb83f815293 EBUILD vault-1.10.7.ebuild 2024 BLAKE2B a9c4d0a36f3dc15e96fdf85c26228e6bc33eab38da1ab0119396cbbab0722162f9c079cd804c8d4ddf5b953f1424fa3c77fb2d9909ed0a18171270166b1acd1c SHA512 e404fce90bb878d834ad156356a7c4b4b6585465ce1e242b580b99ec1da0a22510a975d410ce8c465635423916572670c4ec4c089908da0505905b853de44866 EBUILD vault-1.10.8.ebuild 2024 BLAKE2B a9c4d0a36f3dc15e96fdf85c26228e6bc33eab38da1ab0119396cbbab0722162f9c079cd804c8d4ddf5b953f1424fa3c77fb2d9909ed0a18171270166b1acd1c SHA512 e404fce90bb878d834ad156356a7c4b4b6585465ce1e242b580b99ec1da0a22510a975d410ce8c465635423916572670c4ec4c089908da0505905b853de44866 EBUILD vault-1.11.4.ebuild 2091 BLAKE2B d0803a4206e29127e35b3c2c5b0d6c41d57f643bf89ab7a0b97e13225b6e5103676712204bbddf4603a1dc94de34d8b5751710cf1004a9b97f381e2f3d62a9c0 SHA512 060ae598f2372b2217659fca84a40bc83b2c16ad2b10230e5dc535d4dcf06547afe938e371166bfdb13c8be34dc2f77e9775a6629c82cc2e1ea707cd938a910d EBUILD vault-1.11.5.ebuild 2091 BLAKE2B d0803a4206e29127e35b3c2c5b0d6c41d57f643bf89ab7a0b97e13225b6e5103676712204bbddf4603a1dc94de34d8b5751710cf1004a9b97f381e2f3d62a9c0 SHA512 060ae598f2372b2217659fca84a40bc83b2c16ad2b10230e5dc535d4dcf06547afe938e371166bfdb13c8be34dc2f77e9775a6629c82cc2e1ea707cd938a910d EBUILD vault-1.12.0.ebuild 2098 BLAKE2B 9826f0c812e207ab734f9077524f651b2dcd98e1f588bfa64760e773c713cce4cf6f3e3d6a5916db66f2d3baed938ac57852959ad889e719b1176047b045fd3e SHA512 e447ba38ef5ed2ba21b55b4a8ee63eae0a9f0db77a9b9362e934e17fdab77ba49bf944eeba992aebf636ec8cf734e4b93626ccd4f172270738b026b8be9ba4e0 EBUILD vault-1.12.1.ebuild 2098 BLAKE2B 9826f0c812e207ab734f9077524f651b2dcd98e1f588bfa64760e773c713cce4cf6f3e3d6a5916db66f2d3baed938ac57852959ad889e719b1176047b045fd3e SHA512 e447ba38ef5ed2ba21b55b4a8ee63eae0a9f0db77a9b9362e934e17fdab77ba49bf944eeba992aebf636ec8cf734e4b93626ccd4f172270738b026b8be9ba4e0 +EBUILD vault-1.12.2.ebuild 2098 BLAKE2B 9826f0c812e207ab734f9077524f651b2dcd98e1f588bfa64760e773c713cce4cf6f3e3d6a5916db66f2d3baed938ac57852959ad889e719b1176047b045fd3e SHA512 e447ba38ef5ed2ba21b55b4a8ee63eae0a9f0db77a9b9362e934e17fdab77ba49bf944eeba992aebf636ec8cf734e4b93626ccd4f172270738b026b8be9ba4e0 MISC metadata.xml 372 BLAKE2B 8e18e03d14e17a6a5d8c6b7bdb0d87ef6aec8530e203edc579a66b0c6ba0809bbddf4d68943281483ed841daa18a87ee13bed427162e40cd6c2fe3c45b0ec4fb SHA512 07bd140cd5152ccf7e9c39a0ad45a9361b56306b773176155fceaee3dbfa4645d74dba5a21a131f0221419aed5a9aeed4a5aef7c4eec2750c803e11c96621b02 diff --git a/app-admin/vault/vault-1.12.2.ebuild b/app-admin/vault/vault-1.12.2.ebuild new file mode 100644 index 000000000000..aaad01680cec --- /dev/null +++ b/app-admin/vault/vault-1.12.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2022 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/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.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 ~arm64 ~riscv" +IUSE="+webui" + +BDEPEND=" + app-arch/zip + 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" +S=${WORKDIR}/${P}-vendor + +src_unpack() { + default +} + +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}\':: \ + -e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \ + -i scripts/build.sh || die + sed -e "/hooks/d" \ + -e 's|^\([[:space:]]*\)goimports .*)|\1true|' \ + -e "s/gofumpt/gofmt/g" \ + -i Makefile || die + if [[ -d "${WORKDIR}/http/web_ui" ]]; then + rm -rf "${S}/http/web_ui" || die + mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" || + die "mv failed" + else + mkdir -p "${S}/http/web_ui" || die + touch "${S}/http/web_ui/no_web_ui" || die + fi +} + +src_compile() { + mkdir "${T}"/bin || die + BUILD_TAGS="$(usex webui ui '')" \ + GOPATH="${T}" \ + XC_ARCH=$(go env GOARCH) \ + XC_OS=$(go env GOOS) \ + XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \ + emake bin +} + +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} +} -- cgit v1.2.3