diff options
author | William Hubbs <williamh@gentoo.org> | 2022-07-17 17:32:29 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-07-17 17:35:55 -0500 |
commit | bf918a8aa7bd9ea64e1e520c8b144239ac90b7d7 (patch) | |
tree | c828e9d61c02c4726e98761b692f938f1acf1504 /app-metrics | |
parent | sys-kernel/git-sources: add 5.19_rc7 (diff) | |
download | gentoo-bf918a8aa7bd9ea64e1e520c8b144239ac90b7d7.tar.gz gentoo-bf918a8aa7bd9ea64e1e520c8b144239ac90b7d7.tar.bz2 gentoo-bf918a8aa7bd9ea64e1e520c8b144239ac90b7d7.zip |
app-metrics/memcached_exporter: add 0.10.0
Bug: https://bugs.gentoo.org/844334
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/memcached_exporter/Manifest | 2 | ||||
-rw-r--r-- | app-metrics/memcached_exporter/memcached_exporter-0.10.0.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-metrics/memcached_exporter/Manifest b/app-metrics/memcached_exporter/Manifest index c56c8b8a20ea..9dcbe7e654a6 100644 --- a/app-metrics/memcached_exporter/Manifest +++ b/app-metrics/memcached_exporter/Manifest @@ -428,6 +428,8 @@ DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20180728063816-88497007e858.mod 26 BLA DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190102054323-c2f93a96b099.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190523083050-ea95bdfd59fc.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2019.2.3.mod 300 BLAKE2B 3e3f5a2be0918cbaacd5e43e59fcc6c7c6999645f0c9214cd5a522c31d34b6d3dad61e3ddae8ccdb2f3f0d90b406c047802ee3d9d54dc40fe6eff9cd35620792 SHA512 0c8aa788d0c03d6d049f0dd7468d0f81ce2131ccedd5a5a3a18362b7d30eef7ef325277844eefe4b707b1ad71c6f83a44e110b7af7b98e05406d347237a7bafb +DIST memcached_exporter-0.10.0-deps.tar.xz 24009256 BLAKE2B acdf45e6340e95601ecd5b1a7d5bc6d61ec5f323d01ebd0be54e151643a647dabe4705f70ad6b68c3df254deeb5103406809cf4f7080ca5f6c17765ed4024735 SHA512 e567b0a94d7ccc7b87b51bb08f165b88aae24338a2a28ca8f392057eda508407615d43d5d821ae7fd48ca2d50df2bf2b9d2acce3f7be23d12f79ac4ba09c7ed2 +DIST memcached_exporter-0.10.0.tar.gz 41003 BLAKE2B 497d1643ac7909cda5d82df5cb89dc09a7f961d3a6e7d60d8619f5f0ebce444e565bc00cb98843dd5f81a7618b38bc14dad9af4063bba58e24ae7e7db6a8de00 SHA512 53b913cb7f398dae5de5f3ccf6c468775a30528ff390cbd112dc7a9aba584c36cc7834b74ee1c1130e4ac19d63f01cc10ca5c6853480bdb130248ab7d0f0ba51 DIST memcached_exporter-0.9.0.tar.gz 39390 BLAKE2B 959f48a7e389d1cafcc5faf292fa5dde7cd778264c7d21a937f44625ae7bbd46d3d6fb2ca07dde6609b3423eafb973fa501d9b1ad7491aab7ca47744f076213b SHA512 e9eba15ef5ad29148c78500e5251f6dcfbaf3d5cf17330fbe2a0c8d05dfa87e690d1ffd46716eca98e794613c116c4d992413e60b5a5ea3ec800697faf5d30be 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/memcached_exporter/memcached_exporter-0.10.0.ebuild b/app-metrics/memcached_exporter/memcached_exporter-0.10.0.ebuild new file mode 100644 index 000000000000..360145b9b2d3 --- /dev/null +++ b/app-metrics/memcached_exporter/memcached_exporter-0.10.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +GIT_COMMIT=667bdef45c4e01380867f4be5bb0c7e0ece35dd6 + +DESCRIPTION="Prometheus exporter for memcached" +HOMEPAGE="https://github.com/prometheus/memcached_exporter" +SRC_URI="https://github.com/prometheus/memcached_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="dev-util/promu" +DEPEND="acct-group/memcached_exporter + acct-user/memcached_exporter" +RDEPEND="${DEPEND}" + +# tests require the memcached_exporter daemon to be running locally +RESTRICT+=" test " + +src_prepare() { + default + sed -i \ + -e "s/{{.Branch}}/HEAD/" \ + -e "s/{{.Revision}}/${GIT_COMMIT}/" \ + .promu.yml || die "sed failed" +} + +src_compile() { + promu build -v --prefix bin || die +} + +src_install() { + dobin bin/* + dodoc *.md + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} |