diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-01 20:53:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-01 20:53:45 +0000 |
commit | 896d6a8a88861c42b5d531a2f147c8a29a149bd8 (patch) | |
tree | 081fe10813721a96088dca6b54bc35bcac18afc6 /app-admin/consul | |
parent | 3059f20995d5ac642b7b4a38d538fdf1cc45d90d (diff) |
gentoo auto-resync : 01:12:2022 - 20:53:45
Diffstat (limited to 'app-admin/consul')
-rw-r--r-- | app-admin/consul/Manifest | 2 | ||||
-rw-r--r-- | app-admin/consul/consul-1.14.2.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
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" +} |