diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-22 01:05:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-22 01:05:27 +0000 |
commit | b7819d03d7312d3d8d12b49738aa417f35f6e18a (patch) | |
tree | ddda281c46717f76e2c0d0ea4ed00da4bd58d9b5 /app-admin/consul | |
parent | 77b9f0d5906f0bd9ddf010abe155218c6629738a (diff) |
gentoo auto-resync : 22:11:2022 - 01:05:27
Diffstat (limited to 'app-admin/consul')
-rw-r--r-- | app-admin/consul/Manifest | 2 | ||||
-rw-r--r-- | app-admin/consul/consul-1.14.1.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest index 0323d9e1ea89..53216e448201 100644 --- a/app-admin/consul/Manifest +++ b/app-admin/consul/Manifest @@ -11,8 +11,10 @@ DIST consul-1.12.6.tar.gz 25112396 BLAKE2B 18b77e909bee012817cd11b784d451929781a DIST consul-1.13.3-deps.tar.xz 251812624 BLAKE2B 0ce8fe76298defc83c174d1d02ee25b28ce9253fdd6abafe810ed0e0b63b8f9c82a1b5650508ad746b46f39261b7e3f41395129780d0feed5b61be50c04469ac SHA512 0b7d662a9c48e2509208045194ca5fff477245977d87ba570a0218d4f34a91c4b19a28871eea7104b3918cd54da01b71f5f533e5d93215a7767038977993d6c5 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 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 MISC metadata.xml 392 BLAKE2B 4995d973307987bb70802d4328dbb1d5e052683a2e1900912b40be5e345969740b1df9e8e1b3bcbf76fb90066ed43ac5ce91e8e11a0ad19c9d587c7204f45419 SHA512 92d4589b5294df0ddcee6fbafa5db5288b3e892dbec6d84bf0e53beb2b0a30e385f9166c536462e51aeaa9ee8799dd1ae3634b7b13e452e3059ba2853c5b77f1 diff --git a/app-admin/consul/consul-1.14.1.ebuild b/app-admin/consul/consul-1.14.1.ebuild new file mode 100644 index 000000000000..1bcbba0d09f4 --- /dev/null +++ b/app-admin/consul/consul-1.14.1.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-21T16:56:07Z|' -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" +} |