diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-12-05 11:00:28 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-12-05 11:00:28 -0800 |
commit | 5b690716953bb51b72e89724f7a705de4b6523a5 (patch) | |
tree | d13eca413d1c15b8e4113f50cffa53c7bd8776a9 /app-metrics | |
parent | app-text/calibre: Bump to version 5.33.2 (diff) | |
download | gentoo-5b690716953bb51b72e89724f7a705de4b6523a5.tar.gz gentoo-5b690716953bb51b72e89724f7a705de4b6523a5.tar.bz2 gentoo-5b690716953bb51b72e89724f7a705de4b6523a5.zip |
app-metrics/redis_exporter: Bump to version 1.32.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 | 3 | ||||
-rw-r--r-- | app-metrics/redis_exporter/redis_exporter-1.32.0.ebuild | 217 |
2 files changed, 220 insertions, 0 deletions
diff --git a/app-metrics/redis_exporter/Manifest b/app-metrics/redis_exporter/Manifest index 55cb660761f0..9b2cb9f68741 100644 --- a/app-metrics/redis_exporter/Manifest +++ b/app-metrics/redis_exporter/Manifest @@ -89,6 +89,8 @@ DIST github.com%2Fgomodule%2Fredigo%2F@v%2Fv1.8.4.mod 87 BLAKE2B 0773fdd526eb902 DIST github.com%2Fgomodule%2Fredigo%2F@v%2Fv1.8.4.zip 72424 BLAKE2B 91a0bcfc831d18a7bad50f0c93a7501d4425da035906423c1bdbf70760047db479b56313f19564b1b0c55c40f71a2d3d2559b6a784a048110eaed37bd32a3b35 SHA512 c71d830da3023b5d10d909541392d0ab9e1bfb007d1b3ac15f7da460f471c35219858badce838dda4959832a90e6a3c68b1cb7e678281bbc0b8293b7b7c8e523 DIST github.com%2Fgomodule%2Fredigo%2F@v%2Fv1.8.5.mod 87 BLAKE2B 0773fdd526eb902a32d34118dc076c69c3f139d460cf560de1e19c3e87c789e1bbc8817cdff589c3b80c2a6261cf12dddfff9dfa45c2b18115e8f58760772d5a SHA512 646e75a75a215257409eacab4870939be8858bb44279b446bfe11a3364272e9f9e463b6b0fa00dc739f6def2601aa1bf892c2c61b63135d597cd10249a672940 DIST github.com%2Fgomodule%2Fredigo%2F@v%2Fv1.8.5.zip 72666 BLAKE2B 9fe1273c5c4e5014512831308c06f4c914dc381fd1bc92d4d960df160f28ca82b4d6d2f7adee682ae9c39b267022dbe2db6af06a395f8acffcf2797aa535c8ca SHA512 9db6bb9cd6f9a3578b1ba9ab15412029b4851d5734c6123ede4f4f2ef772604c7e16b880c355e73b5fe6773d7bd1cd1f06ba8ad6d2dab0d4dde0bc46c0ab2152 +DIST github.com%2Fgomodule%2Fredigo%2F@v%2Fv1.8.6.mod 87 BLAKE2B 0773fdd526eb902a32d34118dc076c69c3f139d460cf560de1e19c3e87c789e1bbc8817cdff589c3b80c2a6261cf12dddfff9dfa45c2b18115e8f58760772d5a SHA512 646e75a75a215257409eacab4870939be8858bb44279b446bfe11a3364272e9f9e463b6b0fa00dc739f6def2601aa1bf892c2c61b63135d597cd10249a672940 +DIST github.com%2Fgomodule%2Fredigo%2F@v%2Fv1.8.6.zip 73646 BLAKE2B d85a892ca57f6f54ec56041071a5ddbaba89adbc50ca55bb59047a5bd2271e60600782ce41f4bae4feaeaf296bab33bbc2a7b7e433bca0e973ab387bc19d5a68 SHA512 f9ade8aa45dc18612a9b27232c6fbd428ee0f7b73f2199a16db36bc716b083a7f46c7de3a3f49a3a5fffae587a2f69f8ccff45b5904025947b4e36896c755352 DIST github.com%2Fgoogle%2Fbtree%2F@v%2Fv0.0.0-20180813153112-4030bb1f1f0c.mod 31 BLAKE2B 910f367210db741c9f31a77f8eaaea348d3accbf0f219efbed95a780b93e2416fe64dd420ae45ff13da94a8f2a0c7b19850b13e1d9fc6cc1249d327bf04b5fd9 SHA512 f2ff873ecf0144b7f434810af1b49f66f09b4bcadc91d99201465a6ce36c7e7f05996f52800be287dcb3b62e14b75fcebb7c32be0eeda6bb0a15a23058c2d410 DIST github.com%2Fgoogle%2Fbtree%2F@v%2Fv1.0.0.mod 31 BLAKE2B 910f367210db741c9f31a77f8eaaea348d3accbf0f219efbed95a780b93e2416fe64dd420ae45ff13da94a8f2a0c7b19850b13e1d9fc6cc1249d327bf04b5fd9 SHA512 f2ff873ecf0144b7f434810af1b49f66f09b4bcadc91d99201465a6ce36c7e7f05996f52800be287dcb3b62e14b75fcebb7c32be0eeda6bb0a15a23058c2d410 DIST github.com%2Fgoogle%2Fgo-cmp%2F@v%2Fv0.2.0.mod 32 BLAKE2B 7c7baa1e29b9806fb97e0d557200e8722f2d373e149127307efa285cdfedb36dd57355168554d1a1bada62144e6a6a00c4d3246aa9afc7d0ffae0f087459c552 SHA512 7229d917bb0c788b07297e1b09b8f7952f951998a56f17ea1f69ff7c2f565a5686b212f42f45c6b8351905d6740a2ec5a235e493daa531ae00cb709faf67ae45 @@ -438,5 +440,6 @@ DIST redis_exporter-1.2.1.tar.gz 1415284 BLAKE2B 8218e36fa11d74e1be49f421ce20743 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.3.tar.gz 172115 BLAKE2B f576deff171a9769644a2085f0c5905e5053edf6b92242603ae82aea79fad486541d35b7ebb5d081ac9901caf7ecaeda5914bdbb41a6cfac9fed16f9ecde4659 SHA512 54aad6ed2ee136120af2246a924b1bd8891f75813791490c72cf3b68d7c2ab2f4675eafefd95cbba05080c012ffa05195296034e676e8bcf6f1bf3275abdc39a +DIST redis_exporter-1.32.0.tar.gz 172639 BLAKE2B d6cf9e8c6d11fd9053d557577917e03c1681551f03bca0623f4d02f9a693990ea1396084213e8093a324acf7566a8914283209d2ccb960ff1fedfd6f7dc66d0e SHA512 e6cfdd0af6b39beebdd7af6ceb4006fbbc2133ff474bc8674a04903aefa62aadc745bb8df7115899d47da695dc62318c044070c68dd34f34602228f592b440e0 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.32.0.ebuild b/app-metrics/redis_exporter/redis_exporter-1.32.0.ebuild new file mode 100644 index 000000000000..a7689a033ae2 --- /dev/null +++ b/app-metrics/redis_exporter/redis_exporter-1.32.0.ebuild @@ -0,0 +1,217 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module systemd +EGIT_COMMIT=224802c8d728c488e41db890f64cd33543724b5b + +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/gomodule/redigo v1.8.6" +"github.com/gomodule/redigo v1.8.6/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" +} |