summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2019-09-20 15:54:37 -0500
committerWilliam Hubbs <williamh@gentoo.org>2019-09-20 15:55:27 -0500
commit7a575fa23942d228576b02421641ef778f28a1d7 (patch)
treed3f9db01d1406585ae5f0c745de5f6f8360b306b /net-analyzer
parentdev-ada/gnatcoll-db: bump to 2019 version (diff)
downloadgentoo-7a575fa23942d228576b02421641ef778f28a1d7.tar.gz
gentoo-7a575fa23942d228576b02421641ef778f28a1d7.tar.bz2
gentoo-7a575fa23942d228576b02421641ef778f28a1d7.zip
net-analyzer/telegraf: 1.11.5 and 1.12.1 version bump
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/telegraf/Manifest4
-rw-r--r--net-analyzer/telegraf/telegraf-1.11.5.ebuild60
-rw-r--r--net-analyzer/telegraf/telegraf-1.12.1.ebuild60
3 files changed, 124 insertions, 0 deletions
diff --git a/net-analyzer/telegraf/Manifest b/net-analyzer/telegraf/Manifest
index b8b7c7edc366..d659104fc0e4 100644
--- a/net-analyzer/telegraf/Manifest
+++ b/net-analyzer/telegraf/Manifest
@@ -202,5 +202,9 @@ DIST github.com-yuin-gopher-lua-66c871e454fcf10251c61bf8eff02d0978cae75a.tar.gz
DIST github.com-zensqlmonitor-go-mssqldb-ffe5510c6fa5e15e6d983210ab501c815b56b363.tar.gz 450131 BLAKE2B 6d9ced571d0db14cbd3223449734757e4b5c797cbdfdf10725f2d3cb7867093608a7fd3ca1a2c5398848c92090269b8d35f504de439ce2ca6b482ac8180697c9 SHA512 52ed5b9e8399f00a83c0a50f8fdd0ab5419005159aa5ef80c5d8ab76c37f319e1c4d3e0bd5e0ba25006fa790d3756d2788baf30b2ef79b1f86b001d64a702820
DIST telegraf-1.10.4-vendor.tar.gz 69744868 BLAKE2B 97123bb14b89d28519c73426491189a9245450c72bd59e6745a76c61730a730cd5b2c59c7f205c0dfd058b3d5fce4d331a3e39ecc1a5da1ac439c8946e634fab SHA512 53f5bc9fc60ccae3a9549ab38cb4b558a331524351b70b83deb483090a45edf8868856c1311893d9d8e091e649769ccb580bb32cc46a16da1deb8390704a6c84
DIST telegraf-1.10.4.tar.gz 1372505 BLAKE2B f3064cd71b1b6f9a8aae8e5425813386bd6d4e4f06c2e95f35c09d055aef6b811867bb1fe1724e88311f82e8214a1c7ae23a0b5ab8461cfa6b0adebe3b86cb28 SHA512 7e6c27bb5b94382f00f48ce98906f7e505abe734b47e29c2c07f245c2c5c12c522eb3f59be2773bfea78316b7b808d0d425d07fa7c247af7cd280a041759cc34
+DIST telegraf-1.11.5-vendor.tar.gz 70214304 BLAKE2B 64cfaa9f207835e043f5df002d140d572a95dc58b9310c860fc682f8cc3a02c77f8d2035576d296d89c3da30ebca2e6e3ce27b514419a60d6a82f3b9645bae3a SHA512 00e143110126c18bbe45ad0b14e6e688030c3f15366ae0e59ac157b49090644cbf96a4b95fa46eaa3fbbd1eb68c09c3747172585a42f65876e0d78a505b07363
+DIST telegraf-1.11.5.tar.gz 1471311 BLAKE2B 7c5b7c2b835ee8c943baf01bb3515fb724b10b04682254e0fd501c7f066fe67a4ef18c0d3442b676448ccb8cd0430099e56ad0cc3970eee3f9d80d540271f4df SHA512 1e6001981693e4612ba34a680f1c3349c2f203d8ba2983f3841fad08b68251a942beef6cc462cb64b95eba1412ea6a35a863ff9426270896c50c83e6f177ca5d
+DIST telegraf-1.12.1-vendor.tar.gz 128021524 BLAKE2B f4db3e4d2998959c850a82ea77c1c02c5195e6bd5eef4d55521bbaa0e3355b21554e1a179585d57d8fce1fd061d8f157fddb2dde5091c15062811902c014b835 SHA512 2a501d9456a3a130a4202e87e2c0b44c9b2d5fefca12601f0a3fea6073c97fb7b40dd86546fe291b740b38ecf57843fff18a6f4280482af915b3be9e7270b597
+DIST telegraf-1.12.1.tar.gz 1561005 BLAKE2B 997e3deddc13acb6c0af41d5f622353facfd1c09e76640965c8ebe447e06a7cf5bb25753b8c67b2c7c1af7c3d50f787acc23e5b5a45253db943031a130c33d39 SHA512 8018d48482ec1cdada9d57bb6b8068a0758d58908a4c88deb089645282fde662191bd356e0081178b0e7bc1be6bb19cb2c29bba0039398b7d64f53de9fbf87d6
DIST telegraf-1.5.3.tar.gz 911976 BLAKE2B 3e67a037eb22be88de700131f15120faa13b7a9bd8404f76c29376e3e4da630d84767fd8cbff45b3e14e6ce836dcc68a2a87b462eb91d398d57370c1112879c0 SHA512 48e80a4f3f00b5c18f584e28836c36abd7b7f9bacb33dd90ff569dbdc0a5bf69e29d38ae2d74a9c14ee6dc3400dda91e586dd31bc11522257c2206efb3e93348
DIST telegraf-1.8.3.tar.gz 1205303 BLAKE2B 60579cca57863362cb4003f8da4326cef0d1bc4986d07d38f4b594556736ad79e0363098df41c13a2d10bbeeccce20fabcd0b07c7e187cbeecb5c561008d587e SHA512 367069b3578529307d5fa6eb14eabf78a44743d75e5df7c3860b35de212b5809c54cd1a7c791076137f60096d227774b4d5206606cd3fad08594721b4b49de4e
diff --git a/net-analyzer/telegraf/telegraf-1.11.5.ebuild b/net-analyzer/telegraf/telegraf-1.11.5.ebuild
new file mode 100644
index 000000000000..b7f0834d1562
--- /dev/null
+++ b/net-analyzer/telegraf/telegraf-1.11.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN=github.com/influxdata/telegraf
+
+inherit systemd user
+
+MY_PV="${PV/_rc/-rc.}"
+COMMIT=0ea49ea9
+DESCRIPTION="The plugin-driven server agent for collecting & reporting metrics."
+HOMEPAGE="https://github.com/influxdata/telegraf"
+SRC_URI="https://github.com/influxdata/telegraf/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="strip"
+
+DEPEND="dev-lang/go"
+
+pkg_setup() {
+ enewgroup telegraf
+ enewuser telegraf -1 -1 -1 telegraf
+}
+
+src_prepare() {
+ default
+ mv ../vendor .
+}
+
+src_compile() {
+ echo module ${EGO_PN} > go.mod
+ set -- env GO111MODULE=on go build -mod vendor -v -x -o telegraf \
+ -ldflags="-X main.commit=${COMMIT} -X main.version=${PV}" \
+ cmd/telegraf/telegraf.go
+ echo "$@"
+ "$@" || die
+}
+
+src_install() {
+ dobin telegraf
+ insinto /etc/telegraf
+ doins etc/telegraf.conf
+ keepdir /etc/telegraf/telegraf.d
+
+ insinto /etc/logrotate.d
+ doins etc/logrotate.d/telegraf
+
+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
+}
diff --git a/net-analyzer/telegraf/telegraf-1.12.1.ebuild b/net-analyzer/telegraf/telegraf-1.12.1.ebuild
new file mode 100644
index 000000000000..2a16e0960f79
--- /dev/null
+++ b/net-analyzer/telegraf/telegraf-1.12.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN=github.com/influxdata/telegraf
+
+inherit systemd user
+
+MY_PV="${PV/_rc/-rc.}"
+COMMIT=8de41160
+DESCRIPTION="The plugin-driven server agent for collecting & reporting metrics."
+HOMEPAGE="https://github.com/influxdata/telegraf"
+SRC_URI="https://github.com/influxdata/telegraf/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="strip"
+
+DEPEND="dev-lang/go"
+
+pkg_setup() {
+ enewgroup telegraf
+ enewuser telegraf -1 -1 -1 telegraf
+}
+
+src_prepare() {
+ default
+ mv ../vendor .
+}
+
+src_compile() {
+ echo module ${EGO_PN} > go.mod
+ set -- env GO111MODULE=on go build -mod vendor -v -x -o telegraf \
+ -ldflags="-X main.commit=${COMMIT} -X main.version=${PV}" \
+ cmd/telegraf/telegraf.go
+ echo "$@"
+ "$@" || die
+}
+
+src_install() {
+ dobin telegraf
+ insinto /etc/telegraf
+ doins etc/telegraf.conf
+ keepdir /etc/telegraf/telegraf.d
+
+ insinto /etc/logrotate.d
+ doins etc/logrotate.d/telegraf
+
+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
+}