From eb17cef883968037fcc6177549d44a030f08b69c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Oct 2022 07:56:02 +0100 Subject: gentoo auto-resync : 18:10:2022 - 07:56:02 --- app-admin/consul-template/Manifest | 2 + .../consul-template/consul-template-0.29.5.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 app-admin/consul-template/consul-template-0.29.5.ebuild (limited to 'app-admin/consul-template') diff --git a/app-admin/consul-template/Manifest b/app-admin/consul-template/Manifest index f553cd5f38a0..65e5531cec19 100644 --- a/app-admin/consul-template/Manifest +++ b/app-admin/consul-template/Manifest @@ -8,7 +8,9 @@ DIST consul-template-0.29.1-deps.tar.xz 59041120 BLAKE2B dd822c41cf9fdfe773ed48e DIST consul-template-0.29.1.tar.gz 254592 BLAKE2B 4ad5e7c1bf2edc06d72ec1ed48f9546c698d22f8562c4c9924106891c44511b912abecc94517ed2359592b709f1f8fd05fcb00cea52893de29c62b34b61fd71e SHA512 edcfe45a3d98b9affda8b5d07fb375a647a78473c7041a87f1f5a2aa2faef2bfdef26a7037d228f6a86d0c446397e7452e7005ce16beff2bc68edabf2268a6f9 DIST consul-template-0.29.4-deps.tar.xz 59446648 BLAKE2B 9ccd689f38eff50ad448a4226de918920c7acca9eb1e23d4e30f9999afc124224bb8f123b3dff4a1d433ea683ed523cd604a41472f50cb1919483040fc18c848 SHA512 3c60d88fdb82744f250cf02be3b3423f74360f18a43f4c4204ee97f73c370b878ecdbd5a300f96b74ffd9c7cde66f6c8b974392f7acc07a113b85ab6f1b6d8e9 DIST consul-template-0.29.4.tar.gz 262539 BLAKE2B 487902c2a05561db325e6d2638a70d2733a27dd31f678b65883d0b4925b4efa38fe4fbe6c7128c9473af4d4a21f467288a2c1945da399f6feab39216b67dd5aa SHA512 3bc5fcd1877fe125398d6bf0bd4938af88cacf726441af3e82142e651ab458185593eec3cb7c5916669a0e39dff8059c049556509ec279bf572f03b4c915d757 +DIST consul-template-0.29.5.tar.gz 262722 BLAKE2B 1e3ddf259d76cf487872cebbe8c8b5bb313b89d073b26496340d39cc55c4e56ec531cbefec4bc1c0dd5c8bb3bd707c9bebfd15011e421badf12ea59a5bbbdbe3 SHA512 f753c2ec7f6c97ac73b34820b40568b5b16a3b8d4bebc7390905614a96744e8d4afd4a63b8b911989ba084ea91d85a21e3283d67a36bf65a685aa63154361a14 EBUILD consul-template-0.29.0.ebuild 1263 BLAKE2B fbb76644ed420faeba6dfbf34315d6494bb2b2bc1390596d0afa1da5b10ba258841ea3e9726e9ce6a5e647e3ccabcbd6e01b45cbc4342d586fb36b9b08a5f0b4 SHA512 0197e8fc343e63bd8142b6a26cd560507d3860cb96c90f317721244f2153ba5e0f9d0660ee34b29ffb1802ab02337ebf2ad309415443981d5598263d1cb191a0 EBUILD consul-template-0.29.1.ebuild 1263 BLAKE2B fbb76644ed420faeba6dfbf34315d6494bb2b2bc1390596d0afa1da5b10ba258841ea3e9726e9ce6a5e647e3ccabcbd6e01b45cbc4342d586fb36b9b08a5f0b4 SHA512 0197e8fc343e63bd8142b6a26cd560507d3860cb96c90f317721244f2153ba5e0f9d0660ee34b29ffb1802ab02337ebf2ad309415443981d5598263d1cb191a0 EBUILD consul-template-0.29.4.ebuild 1263 BLAKE2B fbb76644ed420faeba6dfbf34315d6494bb2b2bc1390596d0afa1da5b10ba258841ea3e9726e9ce6a5e647e3ccabcbd6e01b45cbc4342d586fb36b9b08a5f0b4 SHA512 0197e8fc343e63bd8142b6a26cd560507d3860cb96c90f317721244f2153ba5e0f9d0660ee34b29ffb1802ab02337ebf2ad309415443981d5598263d1cb191a0 +EBUILD consul-template-0.29.5.ebuild 1281 BLAKE2B 23ccbe86f4a595439f4a8631f02113a7ea1efa4809ae8dea8387553ada6a134cd3a3ab699f3e05ed605df7a130f7379ac8931fe26a5f0efaec7c518c40a8c03f SHA512 1bec1d319fe99c05e751654f41cac807e54eb3797d6a776256d0c91c354b3c66124ad70a11532b228184a41f17579f4e8fea3c7235947060cc6b69fea33de6e2 MISC metadata.xml 317 BLAKE2B d2427e36d0eec88eb97a7db510b4b45659b3d07b24228903eb5ed80807167c66cde6a3f1e63b1f55117974242ea9c06a78d58cca62359c775750ee34fe328ca0 SHA512 1e6e09983a77466e8671cfd7c848df28c2f35830a28a11c6c78369234fd35f35cb1dce8cbedfc97d2e5b1c4258db730e94c4d452d88b9841dc37e306d68d65b2 diff --git a/app-admin/consul-template/consul-template-0.29.5.ebuild b/app-admin/consul-template/consul-template-0.29.5.ebuild new file mode 100644 index 000000000000..6727d40a8f93 --- /dev/null +++ b/app-admin/consul-template/consul-template-0.29.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module systemd + +DESCRIPTION="Generic template rendering and notifications with Consul" +HOMEPAGE="https://github.com/hashicorp/consul-template" +SRC_URI="https://github.com/hashicorp/consul-template/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~zmedico/dist/consul-template-0.29.4-deps.tar.xz" + +LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 ISC MIT WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +COMMON_DEPEND=" + acct-group/consul-template + acct-user/consul-template" + +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +# TODO: debug test failures +RESTRICT+=" test" + +src_prepare() { + default + # remove -s and -w from the linker flags + sed \ + -e '/-s \\/d' \ + -e '/-w \\/d' \ + -i Makefile || die +} + +src_compile() { + emake GOBIN="${S}"/bin dev +} + +src_test() { + emake GOBIN="${S}"/bin test +} + +src_install() { + dobin bin/${PN} + dodoc CHANGELOG.md README.md + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + + keepdir /etc/${PN}.d + + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} -- cgit v1.2.3