diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-11-10 15:15:42 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-11-10 15:15:42 -0800 |
commit | 27d93465a61251ed148e3389c2d40ce68cd5ac6b (patch) | |
tree | 11b0761613e7a6de9129a041645aa3e06df9a7db /app-metrics | |
parent | net-libs/libnetconf2: drop 2.0.1-r1 (diff) | |
download | gentoo-27d93465a61251ed148e3389c2d40ce68cd5ac6b.tar.gz gentoo-27d93465a61251ed148e3389c2d40ce68cd5ac6b.tar.bz2 gentoo-27d93465a61251ed148e3389c2d40ce68cd5ac6b.zip |
app-metrics/redis_exporter: Bump to version 1.31.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/redis_exporter/Manifest | 1 | ||||
-rw-r--r-- | app-metrics/redis_exporter/redis_exporter-1.31.0.ebuild | 215 |
2 files changed, 216 insertions, 0 deletions
diff --git a/app-metrics/redis_exporter/Manifest b/app-metrics/redis_exporter/Manifest index 4d715586ea0d..1a68b818f8db 100644 --- a/app-metrics/redis_exporter/Manifest +++ b/app-metrics/redis_exporter/Manifest @@ -437,5 +437,6 @@ DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2019.2.3.mod 300 BLAKE2B 3e3f5a2be0918 DIST redis_exporter-1.2.1.tar.gz 1415284 BLAKE2B 8218e36fa11d74e1be49f421ce2074388c434e713d1af57930538e4246744f34aecddeabf7a97a796b51ff5df4beef71b905310f8d96906acea120322551d2f6 SHA512 29faed372225cebcc2db35e8e2d08519e160d27070fed7b90afffcd3865e9ccc54e8aeb82dfbb1ca275eedc64542a67c688062428488cd74234de67b3589fda9 DIST redis_exporter-1.20.0.tar.gz 123536 BLAKE2B ce90e26368e905aa45083290d54aa18733d47d10090a22f775607a5bc0133df215649a8cd6ae6460ebad5807520b33f3d8d62f7a690f4ae05699cf1ea7917258 SHA512 fc545e25cb6be33e81157c4c5b8557ebfbc98ccd7cb8ac4a988eb1120ab8ba6f7875727a1cca8401a9f1f36011b02e9dfdb837a31f679b06794dfdd0a7d5ac69 DIST redis_exporter-1.30.0.tar.gz 172010 BLAKE2B 7da9576c47735d650bd22cf1f6cb721a2ea96bcf0901889b41465e704e07ad8e464d50cad2313aca896bfc157511b5ff6faae3540344ebbf7e165e48b2a02f1f SHA512 f518151a1e188c3dbe42496be8e47af97fbbc2d44e26ffeeed68ac57f05165b8f0900c574f846f4294f163a87a3ea3f2aad64fb85462d4120a9c273e7cd41308 +DIST redis_exporter-1.31.0.tar.gz 172022 BLAKE2B f5b1ce022d4e786838fb8b745bbce5d12fe0f1b39382d2e51d9587252496c482b29c8b567e07879a603e60b8b8f580147605af72d764eb2bbaa22dba74325bed SHA512 45df06a5ab5e3a0c287a6babb89f1c270d255eaf0f460aafa10e2538a8ff4d502b1f5256bf968bc307b7ff6f247555aa7c47a7fbd5515de4cefee4208208d384 DIST sigs.k8s.io%2Fyaml%2F@v%2Fv1.1.0.mod 24 BLAKE2B d33080dbc62b185d029eb43f75d66328dbfa7c463a3117b3efd5419ab8e1e52cc6f5d5a288d553421025c785ec6948b3aa68588cae19bd325f6acc0d043bb5fb SHA512 78f6402daccb04510f4ef35ee457ee13e4f447fba8e6aa33b4d32aa666e925861bf3b3f22c5ba9573871ec7e830f99e4caae0969724a54eadf40e6a7ed7931a0 DIST sourcegraph.com%2Fsourcegraph%2Fappdash%2F@v%2Fv0.0.0-20190731080439-ebfcffb1b5c0.mod 43 BLAKE2B 44d562f1cdabdb24ca05eb508183dc158939129a4cf6ec0c58815076367b2902b660ee0ef526aa01e920846fb633d001c499bf63a3cea16494213eec41587408 SHA512 7d863e4af4e480a247bc767d1de96ff8050b12a13a182a9a8fa68c983c2f0b1a16b509d40de3cca552082535f876458034e1510f0f0feef383f16e1f84f81282 diff --git a/app-metrics/redis_exporter/redis_exporter-1.31.0.ebuild b/app-metrics/redis_exporter/redis_exporter-1.31.0.ebuild new file mode 100644 index 000000000000..4f567dd9db63 --- /dev/null +++ b/app-metrics/redis_exporter/redis_exporter-1.31.0.ebuild @@ -0,0 +1,215 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module systemd +EGIT_COMMIT=4dcbeb28ba656dfcef41a2cc86974c06c69a1c5f + +DESCRIPTION="Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x and 4.x" +HOMEPAGE="https://github.com/oliver006/redis_exporter" +EGO_SUM=( +"cloud.google.com/go v0.34.0/go.mod" +"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod" +"github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod" +"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod" +"github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod" +"github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod" +"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod" +"github.com/beorn7/perks v1.0.0/go.mod" +"github.com/beorn7/perks v1.0.1" +"github.com/beorn7/perks v1.0.1/go.mod" +"github.com/cespare/xxhash/v2 v2.1.1" +"github.com/cespare/xxhash/v2 v2.1.1/go.mod" +"github.com/davecgh/go-spew v1.1.0/go.mod" +"github.com/davecgh/go-spew v1.1.1" +"github.com/davecgh/go-spew v1.1.1/go.mod" +"github.com/go-kit/kit v0.8.0/go.mod" +"github.com/go-kit/kit v0.9.0/go.mod" +"github.com/go-kit/log v0.1.0/go.mod" +"github.com/go-logfmt/logfmt v0.3.0/go.mod" +"github.com/go-logfmt/logfmt v0.4.0/go.mod" +"github.com/go-logfmt/logfmt v0.5.0/go.mod" +"github.com/go-stack/stack v1.8.0/go.mod" +"github.com/gogo/protobuf v1.1.1/go.mod" +"github.com/golang/protobuf v1.2.0/go.mod" +"github.com/golang/protobuf v1.3.1/go.mod" +"github.com/golang/protobuf v1.3.2/go.mod" +"github.com/golang/protobuf v1.4.0-rc.1/go.mod" +"github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod" +"github.com/golang/protobuf v1.4.0-rc.2/go.mod" +"github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod" +"github.com/golang/protobuf v1.4.0/go.mod" +"github.com/golang/protobuf v1.4.2/go.mod" +"github.com/golang/protobuf v1.4.3" +"github.com/golang/protobuf v1.4.3/go.mod" +"github.com/gomodule/redigo v1.8.5" +"github.com/gomodule/redigo v1.8.5/go.mod" +"github.com/google/go-cmp v0.3.0/go.mod" +"github.com/google/go-cmp v0.3.1/go.mod" +"github.com/google/go-cmp v0.4.0/go.mod" +"github.com/google/go-cmp v0.5.4/go.mod" +"github.com/google/go-cmp v0.5.5" +"github.com/google/go-cmp v0.5.5/go.mod" +"github.com/google/gofuzz v1.0.0/go.mod" +"github.com/jpillora/backoff v1.0.0/go.mod" +"github.com/json-iterator/go v1.1.6/go.mod" +"github.com/json-iterator/go v1.1.10/go.mod" +"github.com/json-iterator/go v1.1.11/go.mod" +"github.com/julienschmidt/httprouter v1.2.0/go.mod" +"github.com/julienschmidt/httprouter v1.3.0/go.mod" +"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod" +"github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod" +"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod" +"github.com/kr/pretty v0.1.0" +"github.com/kr/pretty v0.1.0/go.mod" +"github.com/kr/pty v1.1.1/go.mod" +"github.com/kr/text v0.1.0" +"github.com/kr/text v0.1.0/go.mod" +"github.com/matttproud/golang_protobuf_extensions v1.0.1" +"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod" +"github.com/mna/redisc v1.1.7" +"github.com/mna/redisc v1.1.7/go.mod" +"github.com/mna/redisc v1.3.2" +"github.com/mna/redisc v1.3.2/go.mod" +"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod" +"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod" +"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod" +"github.com/modern-go/reflect2 v1.0.1/go.mod" +"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod" +"github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod" +"github.com/pkg/errors v0.8.0/go.mod" +"github.com/pkg/errors v0.8.1/go.mod" +"github.com/pkg/errors v0.9.1/go.mod" +"github.com/pmezard/go-difflib v1.0.0" +"github.com/pmezard/go-difflib v1.0.0/go.mod" +"github.com/prometheus/client_golang v0.9.1/go.mod" +"github.com/prometheus/client_golang v1.0.0/go.mod" +"github.com/prometheus/client_golang v1.7.1/go.mod" +"github.com/prometheus/client_golang v1.11.0" +"github.com/prometheus/client_golang v1.11.0/go.mod" +"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod" +"github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod" +"github.com/prometheus/client_model v0.2.0" +"github.com/prometheus/client_model v0.2.0/go.mod" +"github.com/prometheus/common v0.4.1/go.mod" +"github.com/prometheus/common v0.10.0/go.mod" +"github.com/prometheus/common v0.26.0" +"github.com/prometheus/common v0.26.0/go.mod" +"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod" +"github.com/prometheus/procfs v0.0.2/go.mod" +"github.com/prometheus/procfs v0.1.3/go.mod" +"github.com/prometheus/procfs v0.6.0" +"github.com/prometheus/procfs v0.6.0/go.mod" +"github.com/sirupsen/logrus v1.2.0/go.mod" +"github.com/sirupsen/logrus v1.4.2/go.mod" +"github.com/sirupsen/logrus v1.6.0/go.mod" +"github.com/sirupsen/logrus v1.8.1" +"github.com/sirupsen/logrus v1.8.1/go.mod" +"github.com/stretchr/objx v0.1.0/go.mod" +"github.com/stretchr/objx v0.1.1/go.mod" +"github.com/stretchr/testify v1.2.2/go.mod" +"github.com/stretchr/testify v1.3.0/go.mod" +"github.com/stretchr/testify v1.4.0/go.mod" +"github.com/stretchr/testify v1.5.1" +"github.com/stretchr/testify v1.5.1/go.mod" +"github.com/stretchr/testify v1.7.0/go.mod" +"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod" +"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" +"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod" +"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod" +"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod" +"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod" +"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" +"golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod" +"golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod" +"golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod" +"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod" +"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod" +"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod" +"golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod" +"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod" +"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod" +"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" +"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" +"golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod" +"golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod" +"golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod" +"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod" +"golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod" +"golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod" +"golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod" +"golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40" +"golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod" +"golang.org/x/text v0.3.0/go.mod" +"golang.org/x/text v0.3.2/go.mod" +"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" +"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543" +"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod" +"google.golang.org/appengine v1.4.0/go.mod" +"google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod" +"google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod" +"google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod" +"google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod" +"google.golang.org/protobuf v1.21.0/go.mod" +"google.golang.org/protobuf v1.23.0/go.mod" +"google.golang.org/protobuf v1.26.0-rc.1" +"google.golang.org/protobuf v1.26.0-rc.1/go.mod" +"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod" +"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" +"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15" +"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod" +"gopkg.in/yaml.v2 v2.2.1/go.mod" +"gopkg.in/yaml.v2 v2.2.2/go.mod" +"gopkg.in/yaml.v2 v2.2.4/go.mod" +"gopkg.in/yaml.v2 v2.2.5/go.mod" +"gopkg.in/yaml.v2 v2.3.0" +"gopkg.in/yaml.v2 v2.3.0/go.mod" +"gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" +) +go-module_set_globals +SRC_URI="https://github.com/oliver006/redis_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +LICENSE="MIT Apache-2.0 BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND=" + acct-user/redis_exporter + acct-group/redis_exporter" +DEPEND="${RDEPEND}" +RESTRICT+=" test" + +src_prepare() { + default + sed -e "s|\(^[[:space:]]*VERSION[[:space:]]*=[[:space:]]*\).*|\1\"${PV}\"|" \ + -e "s|\(^[[:space:]]*BUILD_DATE[[:space:]]*=[[:space:]]*\).*|\1\"$(LC_ALL=C date -u)\"|" \ + -e "s|\(^[[:space:]]*COMMIT_SHA1[[:space:]]*=[[:space:]]*\).*|\1\"${EGIT_COMMIT}\"|" \ + -i main.go || die +} + +src_compile() { + export GOBIN="${S}/bin" + go install \ + -ldflags="-X main.BuildVersion=${PV} -X main.BuildCommitSha=${EGIT_COMMIT} -X main.BuildDate=$(date +%F-%T)" \ + ./... || die +} + +src_test() { + go test -work ./... || die +} + +src_install() { + dobin "${GOBIN}/redis_exporter" + dodoc README.md + local dir + for dir in /var/{lib,log}/${PN}; do + keepdir "${dir}" + fowners ${PN}:${PN} "${dir}" + done + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" +} |