diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-08-12 10:37:22 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-08-12 10:38:22 -0700 |
commit | 26e8d416bec67abc45b1cdaf5791e74a61a896f5 (patch) | |
tree | 5d6687797d72f790bc136172475b405f9d270130 /app-admin/consul | |
parent | sec-keys/openpgp-keys-sergehallyn: new package, add 20220812 (diff) | |
download | gentoo-26e8d416bec67abc45b1cdaf5791e74a61a896f5.tar.gz gentoo-26e8d416bec67abc45b1cdaf5791e74a61a896f5.tar.bz2 gentoo-26e8d416bec67abc45b1cdaf5791e74a61a896f5.zip |
app-admin/consul: add 1.12.4
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-admin/consul')
-rw-r--r-- | app-admin/consul/Manifest | 1 | ||||
-rw-r--r-- | app-admin/consul/consul-1.12.4.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest index 0ebe3bf65f34..43d014f2ca58 100644 --- a/app-admin/consul/Manifest +++ b/app-admin/consul/Manifest @@ -4,5 +4,6 @@ DIST consul-1.12.1.tar.gz 24196810 BLAKE2B b82929de9228adaaf1bbf3a4269dd09e17b51 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.12.4.tar.gz 24910442 BLAKE2B cc67dca433d2b96116cb57025b61799fdc6aeeca82bfee002116afe08ce3d30d4b49387927d5a257c44ffa7e30f0242b37f37096a2e271c0ee209c62aae5e918 SHA512 a91279983340d1ca5b349ccaf6b5681516c2be5b0eee7808a0bedb6205020fe3a1b2d1fd9ac29db69bfacb35455200bca62ad5b3e867343fe116f78e89d3b2ac 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 diff --git a/app-admin/consul/consul-1.12.4.ebuild b/app-admin/consul/consul-1.12.4.ebuild new file mode 100644 index 000000000000..09ef685ae064 --- /dev/null +++ b/app-admin/consul/consul-1.12.4.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="94542765739cff9b09469e1fc5e738ae8a334038" + +SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~zmedico/dist/consul-1.12.3-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" +} |