diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-20 11:14:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-20 11:14:01 +0000 |
commit | c72af498eade96364bed882cf8ab30fc3da7d772 (patch) | |
tree | b8b14b175740b5539b80495e977af5effd09912d /app-admin/consul | |
parent | 74906c6d417b91db60daabc3ff3dedeeac41e789 (diff) |
gentoo auto-resync : 20:11:2023 - 11:14:01
Diffstat (limited to 'app-admin/consul')
-rw-r--r-- | app-admin/consul/Manifest | 2 | ||||
-rw-r--r-- | app-admin/consul/consul-1.15.7.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest index b5b118da8ac4..bf576e8b1ccc 100644 --- a/app-admin/consul/Manifest +++ b/app-admin/consul/Manifest @@ -6,5 +6,7 @@ AUX consul.service 359 BLAKE2B 04a42a1546d2e4dbf57b9d75b32feddd4d0f4f8b6f750b1b4 AUX data-dir.json.example 36 BLAKE2B dadf9d7350346db73e4db0d98aaa569fe7caa5d695e25606fb97b252be16f2d3f50630092be39be378821f7e17e4914557a55c620156e7d07ced151d1f977689 SHA512 cca94745ddfdcfedcc612da4a14965d4f51f0eaf519d8395e95b8b6cbe7bcb9987b8fdbffd66fb13edda7164a7b0f26e93e5aeab9e631cbf5e0a3a5c05b84b0b AUX ui.json.example 17 BLAKE2B ecb48d228ee02df0a96b46cd87001742924ee907d7fe05b54c900b6e37e14b8bd7278e5adeaadd164b09129275a804f1014b7fdf64068ba9d9ad957325f9d5fd SHA512 9aebf80a0dd2bc5345285b63c894af8c0d5864f352d97fc3ba7cd6bf22b905ace3bd221cf23092080e9f7d60832384632c2f069d580eef789eb3f81011e9869d DIST consul-1.15.3-vendor.tar.gz 43434721 BLAKE2B 7595c98cdecf67e9fb412d8fea1d790dc6b1c29f7bc427e1d0872045a05f8873dc6107f196cea04fe0a2f2553d4fbb1f8d501e5e107b2bea3ae841e5d94eda64 SHA512 b69e3a7c1ebb01c7a64f2c6167e63e8a530b81be9aad8b591d0a71f512f5157ba9a564b46f9effe52a5abd3ae61732e7af10c5ba002110f745eb3d94ebcec256 +DIST consul-1.15.7-vendor.tar.gz 46252048 BLAKE2B c63d69fb206895c535ffd60ada3589d99ec6aec81d7abe6b27169d4638bcc272f5d7c0b37d0bbe6be54f5e2d32f1e40fa1f4088da7fb4931f0c5c10007838197 SHA512 1e52f133f822cf11ee8498b7e92a7460c74d3ed4736c02e0957e3d950608f4aeaec8e8df7e9eb72ae7d4c31c4dcf5d827c9c42bdc7c4b991be53df22c150658a EBUILD consul-1.15.3.ebuild 1435 BLAKE2B ef028aff0020695f890a742ebd27375f51bd83a3509aaa42825de5f589edc174f1d2ca1c4d5780a08b984b81e12507071aaf78919d5541f1c19fbdfa7d08d593 SHA512 f25cd5295ac31c0fd81911506d5687db5c984b455bd82335022f8016eb6772572e29ef51a13f80e62be1ea0c6354045c38bdeff15095d7a88c916f15168ad99d +EBUILD consul-1.15.7.ebuild 1436 BLAKE2B e8fc0276d2cf7d64ac1d669c667ad596169e9f33daa137cf61f0595353347b6add60321838a129dc9810173f23d3cc31f7b2ce8384fd70d82c84843bc89f7d7f SHA512 0ce7f42529c94a0c0fed879fc6d4237db5ac0d4413e826f400f742ff36e68314509faf296b2611ea780ec598363df72fd78bfffa0df94fb700812afa6970decd MISC metadata.xml 392 BLAKE2B 4995d973307987bb70802d4328dbb1d5e052683a2e1900912b40be5e345969740b1df9e8e1b3bcbf76fb90066ed43ac5ce91e8e11a0ad19c9d587c7204f45419 SHA512 92d4589b5294df0ddcee6fbafa5db5288b3e892dbec6d84bf0e53beb2b0a30e385f9166c536462e51aeaa9ee8799dd1ae3634b7b13e452e3059ba2853c5b77f1 diff --git a/app-admin/consul/consul-1.15.7.ebuild b/app-admin/consul/consul-1.15.7.ebuild new file mode 100644 index 000000000000..61b9d17d1af3 --- /dev/null +++ b/app-admin/consul/consul-1.15.7.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd + +DESCRIPTION="A tool for service discovery, monitoring and configuration" +HOMEPAGE="https://www.consul.io" +GIT_COMMIT="8e803db6b98d10b2d310800f2aef7e20d3add03c" + +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 ~x86" + +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=2023-10-31T14:10:44Z|' -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" +} |