diff options
author | William Hubbs <williamh@gentoo.org> | 2023-06-10 18:06:53 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-06-10 18:15:05 -0500 |
commit | 763de51cbdedb9acf19b10566f6205736b1b5578 (patch) | |
tree | c84630f0e56fa524b77ba7399deaa2c8364000a3 /net-analyzer/telegraf | |
parent | gnome-extra/cinnamon-settings-daemon: drop 5.6.0 (diff) | |
download | gentoo-763de51cbdedb9acf19b10566f6205736b1b5578.tar.gz gentoo-763de51cbdedb9acf19b10566f6205736b1b5578.tar.bz2 gentoo-763de51cbdedb9acf19b10566f6205736b1b5578.zip |
net-analyzer/telegraf: add 1.26.3
Closes: https://bugs.gentoo.org/888201
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-analyzer/telegraf')
-rw-r--r-- | net-analyzer/telegraf/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/telegraf/telegraf-1.26.3.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-analyzer/telegraf/Manifest b/net-analyzer/telegraf/Manifest index f9c3e1ffe1ab..a6c34e66b3be 100644 --- a/net-analyzer/telegraf/Manifest +++ b/net-analyzer/telegraf/Manifest @@ -1,2 +1,4 @@ DIST telegraf-1.18.3-deps.tar.xz 430779112 BLAKE2B c9e7f815e6e4070632b0edb2a53a65b9402828a39ee680c43a40dac0145423b45d1319f34faa8e9c1412f0cfb60ea90008b8bc98f9c3213de054897547a8e53c SHA512 2e9ad5110931a38195bf9b3e2f51684904ba86aa59f3e5acb87763c2260368f0456a122024607a58445df6ba26406206df0cbdcf1d297638e3b66f976830f3c8 DIST telegraf-1.18.3.tar.gz 2647798 BLAKE2B 82556544d6a3e1f349c711a4964d842fbe245bef6f1801eefa4e52071410a77bd6ae9da33682966eaac2fda2d5ac3afb100de03ac5a0fa9ec4185524d15e68fc SHA512 e9e7aaf408aed62bebf2812db1f2ea6e0d744c30d53e03a5c203e79673871971121024ee4c57d3a919d31dbc83bbad3ffdece55ca2d94c62976329a0195d3b03 +DIST telegraf-1.26.3-deps.tar.xz 598542112 BLAKE2B 654e2543b79927409a7f51a3b13ca5d917ef35559351ee48a581b0699ec4fe1eece9f8a3278243b02c79e17b08557d6f3d23584050cdaf461077c61f3435743c SHA512 8afdec12df3105678fad3272d80ab86438546a7de5190b01cbb0bffc3443deb6f4fd9540432c3b6e06dbfbc0739167daf15934248dea73bd59b5b2376fe4b5d2 +DIST telegraf-1.26.3.tar.gz 3893039 BLAKE2B 4285416c2e2a6e63dfbb3261cb5ef90c5fc0d2752e78913a2d8cd59a45b990e9735d65e9c762188325cf5696ac6fb619ff1d88f0b0017445fe3039d56c488b27 SHA512 c153d7eb19319d669328a94eade041ecaa6a30cc180915ca2b51b67c2d1d2e98572573c8970b78f815e74dec814ea9c02f4170aff1021fcb9e97c8974a0d0d6e diff --git a/net-analyzer/telegraf/telegraf-1.26.3.ebuild b/net-analyzer/telegraf/telegraf-1.26.3.ebuild new file mode 100644 index 000000000000..c164d70c7d37 --- /dev/null +++ b/net-analyzer/telegraf/telegraf-1.26.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd +MY_PV="${PV/_rc/-rc.}" +COMMIT=90f4eb29 +BRANCH=HEAD +VERSION=v${MY_PV} + +DESCRIPTION="The plugin-driven server agent for collecting & reporting metrics" +HOMEPAGE="https://github.com/influxdata/telegraf" + +SRC_URI="https://github.com/influxdata/telegraf/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RESTRICT+=" test" + +DEPEND="acct-group/telegraf + acct-user/telegraf" + RDEPEND="${DEPEND}" + +src_compile() { + unset LDFLAGS + emake \ + COMMIT=${COMMIT} \ + BRANCH=${BRANCH} \ + VERSION=v${MY_PV} \ + telegraf +} + +src_install() { + dobin telegraf + insinto /etc/logrotate.d + doins etc/logrotate.d/telegraf + keepdir /etc/telegraf + keepdir /etc/telegraf/telegraf.d + systemd_dounit scripts/telegraf.service + newconfd "${FILESDIR}"/telegraf.confd telegraf + newinitd "${FILESDIR}"/telegraf.rc telegraf + dodoc -r docs/* + keepdir /var/log/telegraf + fowners telegraf:telegraf /var/log/telegraf +} |