From d8616435f08981d5bc3df9f348190309a7bdbbc0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Jul 2022 01:44:25 +0100 Subject: gentoo auto-resync : 16:07:2022 - 01:44:25 --- app-admin/consul/Manifest | 3 +++ app-admin/consul/consul-1.12.3.ebuild | 51 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 app-admin/consul/consul-1.12.3.ebuild (limited to 'app-admin/consul') diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest index e64015e12252..a9463ac9fb6b 100644 --- a/app-admin/consul/Manifest +++ b/app-admin/consul/Manifest @@ -9,10 +9,13 @@ DIST consul-1.12.0-deps.tar.xz 252403904 BLAKE2B 742eaeaf4c24276de9b66d8d6b8f3b5 DIST consul-1.12.0.tar.gz 23969785 BLAKE2B 57a13905917bac77793be26fb5ac7e668233400e1f9c8eceace3463018cd8fee06b6f5a3753c8eeb250c276f8c95afd63b3b6ae1a7d847dc5adaa11880e52f53 SHA512 c83a5b9e68f46e5f458fb607f60d80fa7bc2dd46000c60bd9838fb03ea925ec5f0c0a4336f9052f70f805b41b4dd8fc872f5f6e883de5da29a87f5273507f31e DIST consul-1.12.1.tar.gz 24196810 BLAKE2B b82929de9228adaaf1bbf3a4269dd09e17b51f769d0bf040b86949dd8648e1f0b813e5cc5d5e9704b964ef5185074f58ac7347e049be6bc493cc96e4b977e22b SHA512 33925b20a81c7ab9873e5dfc24c26d14c86494c03de0a4030304bf4ac0169b59843337ef05f0564fa69de9dba08e350774e7ae62c6914769d8f0d4cb625e4910 DIST consul-1.12.2.tar.gz 24195804 BLAKE2B 550b5bc4977c9181a097f699ad5da88a81571327707b448bc659d7c8f2d92a8c82f6c1b0f13448fee25c89d08cc3771dd4fb78a4cf58d640442df38e86639cfa SHA512 91da8b1fecbd5db4c0deae1cec4b5265a26c11739633be74f6e2dd2027ab9ba5da10ba33b1b844531a59b63e4117ec57af87d55512d1098033e99f88e2e3aabc +DIST consul-1.12.3-deps.tar.xz 289711856 BLAKE2B 471b51dfc95ec8185a5d15bd94998f8d115ecbede7df6bc792704a4d63d222bda5e1a7aa260c7a93dcbe602a62df8aefd2d907602f3ca36a57dee8698205c19e SHA512 68b8bc91e03f922e31e68980350b58020ce734b808348bffff5c4b03436e50270cf6337bc9b48b95f28cb085316670ae5bc937d5620b79504e8fac766518621b +DIST consul-1.12.3.tar.gz 24365779 BLAKE2B 39b110f271fa38e03a39ee05cf0e06e9aa13a84b2cb5c1150a43cfd1c28481044e36e2e11145b4b3411662b7b969aef9b7a4fa06dd7554e6018dfd772547b7bf SHA512 33903c2ba15cde3d2d17b8942ea7a0c7aab54c60872bc80662098ee7f415f5e1651a0e5949f42c8c8b06d3f99d25899a141459a99f04c90a162baa38d33f56b9 DIST consul-1.9.17-deps.tar.xz 214799320 BLAKE2B c9fe5511156d50d4155ed6050186af894b7efc29e2f311ff542f79d298769b2dc55ee1bba12ca5ba5b81eddb6959a1d7a5e55aeb533827d5e924d3a72853a418 SHA512 be9f417e721372b8eaffe8b908f1ca1d1299c897f032cfb8b7ea8b62f7c2689011c5079a450fb5eed2e4e5454f0ad6a5e3859c91bd67166193334d100968f093 DIST consul-1.9.17.tar.gz 29480703 BLAKE2B c233eab63ea515f886234395100e47910c1acdefa0b29af5bbc96d6c078dae41e0cd4150e1f6f17daac972b3e66d3abe43b594a0c37bff790e43f0f3c0a20da2 SHA512 c859fbede7294884befd0c70469febed5a4269b21cb351f8619d13e3b29f9b8bdd8d18e9611ef34908fc54bd38f2fd0bbc6e96d4e08ab23da952c3db537fb92c EBUILD consul-1.12.0.ebuild 1337 BLAKE2B c0512a3b9915f4c71dd369ad2abe77dd26260945cd6fc151be222cf4e8d27ecffb2c0587bb12fbac2cb1ed174687f751fb84bcbaeab796276ea77f020a639ca2 SHA512 bb99a0217082b36ce03965061cb91e4d544ddf5a9e5fe819ca8d39b299c24f8b5b4ff3307e37ffeaa3d4fcc4879b936eda03c592a51cf2b433b7d2c73f646526 EBUILD consul-1.12.1.ebuild 1346 BLAKE2B fdd4010edfd86bfa9506a02e875e4646cbc85bea4aa46b62131f97b8a6ea08190c5a60c5e7f66f3106cca90c39032ed0a17cc44e23d4408ab0d93326fc606917 SHA512 717c0baa47fdcef0cbec887d3eb610387eb7f7b19dba4997cea0ed9764c33316796b1bacd5dbefb66d422a49c8edb558f809ad94b479a74c4135d4bcfd2406d4 EBUILD consul-1.12.2.ebuild 1353 BLAKE2B aa0b342491f97c82e07fa2238783a43a5eaaeef8eb62f567e9bc2f7ce88a2aebb2b5eff085fb8f40616495f80d500f131916fad80466846f8e85a15bc7a5dd50 SHA512 94484c9bae036c5c4571d0c5953393577a5b65ae23973bca6401536d0cff27cb6d8e4a6c038d9faa6bf775e5759f5c57769b67b9b85d5e407d8a52e5c58659bd +EBUILD consul-1.12.3.ebuild 1344 BLAKE2B 7c2aec831068a5e91d0c9483675420d1cc11f946b27e64470a6ff6063c142102cc5c31a93c56a465b2cb608ddb56aac0b197d2bae240667fb0e562622be2f68d SHA512 072a0a82538099b3669086f292da8c8f7d5ef945bcc7ae5acce249e8ce2131b08b253baa5067a2b9ca1a3ae8502744d080d226cdce8eea7e76020e3652800faf EBUILD consul-1.9.17.ebuild 1521 BLAKE2B 4b452b57b8d672d18f3c41b545814b20d0437d190a0439b08579acc5d01f437f1af8411ea4372cc2d4ad3db13f4387c373dae06b6e465ac0becf006f104cb546 SHA512 8edc438a09e02e87b67f1e686fc3ec24921deffc8b577d3239e03dbd78a7f92f9a2da04f65234f2563c55eff3fabc8e844e7f165dc36f5bfc4f66cbfbc68576f MISC metadata.xml 392 BLAKE2B 4995d973307987bb70802d4328dbb1d5e052683a2e1900912b40be5e345969740b1df9e8e1b3bcbf76fb90066ed43ac5ce91e8e11a0ad19c9d587c7204f45419 SHA512 92d4589b5294df0ddcee6fbafa5db5288b3e892dbec6d84bf0e53beb2b0a30e385f9166c536462e51aeaa9ee8799dd1ae3634b7b13e452e3059ba2853c5b77f1 diff --git a/app-admin/consul/consul-1.12.3.ebuild b/app-admin/consul/consul-1.12.3.ebuild new file mode 100644 index 000000000000..de3e94a7dcd9 --- /dev/null +++ b/app-admin/consul/consul-1.12.3.ebuild @@ -0,0 +1,51 @@ +# 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="2308c75e7018c3f123b5e7bd10f25ed649ce17a4" + +SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" + +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}" + +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" +} -- cgit v1.2.3