From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 117C915810F for ; Sat, 10 Jun 2023 23:16:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37B1EE086F; Sat, 10 Jun 2023 23:16:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D636E086F for ; Sat, 10 Jun 2023 23:16:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C5AF340D17 for ; Sat, 10 Jun 2023 23:16:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A6518DC for ; Sat, 10 Jun 2023 23:16:09 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1686438905.763de51cbdedb9acf19b10566f6205736b1b5578.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/telegraf/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/telegraf/Manifest net-analyzer/telegraf/telegraf-1.26.3.ebuild X-VCS-Directories: net-analyzer/telegraf/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 763de51cbdedb9acf19b10566f6205736b1b5578 X-VCS-Branch: master Date: Sat, 10 Jun 2023 23:16:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3234cab-8afe-4e44-a75c-11aa45c233a3 X-Archives-Hash: ee3b8bb05101408ee9dd7f4725bb2495 commit: 763de51cbdedb9acf19b10566f6205736b1b5578 Author: William Hubbs gentoo org> AuthorDate: Sat Jun 10 23:06:53 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Jun 10 23:15:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=763de51c net-analyzer/telegraf: add 1.26.3 Closes: https://bugs.gentoo.org/888201 Signed-off-by: William Hubbs gentoo.org> net-analyzer/telegraf/Manifest | 2 ++ net-analyzer/telegraf/telegraf-1.26.3.ebuild | 48 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) 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 +}