diff options
Diffstat (limited to 'app-metrics')
21 files changed, 314 insertions, 140 deletions
diff --git a/app-metrics/Manifest.gz b/app-metrics/Manifest.gz Binary files differindex b02ca0409361..78bad55d9153 100644 --- a/app-metrics/Manifest.gz +++ b/app-metrics/Manifest.gz diff --git a/app-metrics/blackbox_exporter/Manifest b/app-metrics/blackbox_exporter/Manifest index 36f65b317838..c82ca107c674 100644 --- a/app-metrics/blackbox_exporter/Manifest +++ b/app-metrics/blackbox_exporter/Manifest @@ -1,11 +1,10 @@ AUX blackbox_exporter.confd 110 BLAKE2B c3cb7ed7d314ea8b347b4db9839e7c987c91c78378a6085473d687a5f3460f06ca6825567fbe832c3114906156290d00d505e15e3c2461eb844acb4e56937af0 SHA512 aa8720c03c4bf21ad5f789a4e9c6df6059fb71413cfdc605f8868bcd54eab899aa527afa9d847c7780042a8d4d72468145a97f8d732ef6aad861dcbf96bdf2ed AUX blackbox_exporter.initd 615 BLAKE2B fce98f2c0740db2309d0395cf1e7e3f8b3b305c688cbafbf14a1787d952d49933ddebee1a688b844a66c95d02c38c38e943ff73e4dce68a1069c69c91540cc47 SHA512 f5ecc87e592fe85e4cfed759f06a1d88a4bbd05a474cb7955aae296ee29ae2ddf875a427bfcc7ff8369367eb8892c85bcc5051d273f8c2693395c8851b5f8669 AUX blackbox_exporter.logrotated 107 BLAKE2B 255c64f5f0cee8b0b7a3bf2b3a55725f87f3f8067f840a94e9c70819820d1d42b3c2a7727323edf00d32797aab45060d0033fb5d5762263d502e4f0f1ad3d492 SHA512 2bb4782f925f9f416addf9f0a20ada0f0b61d964667eb8114b5fbdc758f69c07c91bf8e6fd18758d3ec21a7e41c931bd9bf42d16d3dfc45e2718126ffb0f21a6 -DIST blackbox_exporter-0.12.0.tar.gz 2202465 BLAKE2B e3b082f8a491b531b0caf3331ecd391bf8734df0915ccbb7988ac1e67e57436bd45169aa403d5511fbb44eb176f89836ad8c04c491f5194f90f9f8a3b686a656 SHA512 2c98c0f4127bdd04ac54eb182c5468fd38121558f85aa8b4bec860f783f266b144df3153da0b028fdb84a4131a4e374a969bb09ce3a781ddf95f0a008c11bbb6 -DIST blackbox_exporter-0.13.0.tar.gz 668255 BLAKE2B 08c772175fa911ced04576c43b03b8594a1e6d30767742cea6630561045dd0440e1cd26847f2e7e506fb4fefc603a9a3e1b4228e46735f8d559a55462c0d11e4 SHA512 49290860e5e1713cc0e1edd93fd193d6e23aebe55a6f62778da89450f5ba79787d4ac3fd6ca3aae37f4941c16976db4570f2d4888534f2ce2c86e25e250b12f1 DIST blackbox_exporter-0.14.0.tar.gz 670297 BLAKE2B e55186723b7877296a62840c842acb87c95f4e060b059c6a5861a6eb6a8bb8ad14c6082f466427ddf048c49fca8df79668c64b77b1dcf64b1239ed5b62c829e3 SHA512 58f379cdeef671376105532450ffb3a6fef0ea071d493fbef40d761c6cbaec47bb49c9c2e5c070f3d0e598396d7ad9b2c5af100c9a69aee04877442c7bdaf120 -EBUILD blackbox_exporter-0.12.0.ebuild 1440 BLAKE2B cb3900045d4128eb313c1e7c0d314e65c1773f491d314ffe052dbb6390dd4e8eddd4351a1f220fff80d9a88d9ca0676d862716fe83e6a56d84e142daea041854 SHA512 3b9c53156662bc16538f0db00b741ada3b3fd6373f7ef3272c97cd7080dc36b83ef8f40007ca307dcd73e5b82274e3f16a2de67743858c0f39eec99d76f6a3d1 -EBUILD blackbox_exporter-0.13.0-r1.ebuild 1545 BLAKE2B 5494b583640854646256e52ba19b7ebf1a7fa5e43d20afadb3a659e98d122b085e042ea04b4276a2f75b3077a444dee0a7718ebf052c47169fe9ae5df57e52ec SHA512 11a857f3ee5ea18d39af5c67c473fe713f35e56a760b858e960751b1f40cf90c9689e31e52945c6083ea2c68c1a32fdf4299e7f692f663a68ca512e896ef1837 -EBUILD blackbox_exporter-0.13.0.ebuild 1472 BLAKE2B cb3f74b15010c1cb39c3eb8e35a17a25b86c2703a549c8631878fd1f5661068d86691689db499848110ec4a6ffafdad3f558f6ae8c84fb7b475a5af0ce8752c8 SHA512 1660db3d6724b1b04a13b6929447b74b9de87c0437e91472388617a1f69493a78e889722785e3ec359cbc49fb4b7b5d6202ca408591a549c5cb6c9808025086d +DIST blackbox_exporter-0.15.0.tar.gz 2157865 BLAKE2B dee707d8cf568da01e7981a9c2879fb209fac6d640d2cc1905231d56c9e6f8007da8eec09ff89cba82e40ac159529b1a9144aa0b50094a8b798102b19502404b SHA512 dff23d51292ed7b56f403d9a70c02a4d4e1f2a43f0bd6763598b310c07c7564d39fbed29c7b2b03b1848d33c3779b4922396212a3c9252c8149fdd9208d8a3b7 +DIST blackbox_exporter-0.15.1.tar.gz 2120525 BLAKE2B c21a621dce663ccbc184c87b66e894ddc6a94bee9bbd2b9fb432a4d349afb35410f07ad150e946c5f8eb9ec8e6e7f2e6d4cbcafe118e8b2efe34902fbd0bf38a SHA512 2c7d0989bc70982a0fd528c7c6ed5ec6686f5e93db0a90db2b06e4e578503443da0750aaa2d6a01ae4fcd4c722eef522c0e06b019aa59a2eb837f233e317d4e2 EBUILD blackbox_exporter-0.14.0.ebuild 1545 BLAKE2B bc9cf8d12e453d7d5b0408d81d993c1234c5e845333c71b3e28739ba56c0b2eb1be4470e32f504a1efba688d787653cd5ffd3d5f0b7e56bdd44bbf83b12d5be7 SHA512 19e18e033b4c5ef96da1e7b8ff541633b7e631b7623f0ad213d08f7982be7288d100a2d7ee70b48277cd7e50dce3746a8907a98ac1a4b0c00935724cc6267a2a +EBUILD blackbox_exporter-0.15.0.ebuild 1545 BLAKE2B 0e3d230602b5f6d2f6c644457b4f66cbcb753d2c6bed90d39ad741ff9fae76cb686621c4ca5ad9f047607ec5faa3839bd23b8ec3950501f7f122b42c63c3b048 SHA512 8abd474ab3291b6c4fe372ded1470d016ad7d3514939144b431254fa912d41805fa5e340e62b8f977961da1e4d592ccd831dae3effa8135eb16b572ad315fb1c +EBUILD blackbox_exporter-0.15.1.ebuild 1545 BLAKE2B 0c160478d2705c500433e697c63b26b6bcd4057b4807c6b9852d40eaffbee20709dbd18aae02eefc916194d242c3c5f07fde6c79fc9a9e2e383d1f6d94acb992 SHA512 c50e5ab5cc210fa510ba6df00123a0fac68695e837ea1992af6dbd267ea9ffebd2748a47edc29c3965f75326c1bff016140741f875871822cf7a7499d038b380 MISC metadata.xml 338 BLAKE2B 117f205ecdd4c05aba1ce92846f59dc7790c9fdae79db5cc1eb912d34a9e1d83eaaea26feb24245a0c5fc4394552705aa7b23171920d9023ca8e4333b3c09650 SHA512 e431b2ef89e797b9cbb290a70683a4392f07559851550dd22f5410f09c979730c8dd35c095f855565df8d72adb42c6e4b9d03882adf37240b0da28cc508ee2ad diff --git a/app-metrics/blackbox_exporter/blackbox_exporter-0.12.0.ebuild b/app-metrics/blackbox_exporter/blackbox_exporter-0.12.0.ebuild deleted file mode 100644 index 24aa268f15a2..000000000000 --- a/app-metrics/blackbox_exporter/blackbox_exporter-0.12.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit fcaps user golang-build golang-vcs-snapshot - -EGO_PN="github.com/prometheus/blackbox_exporter" -EGIT_COMMIT="v${PV/_rc/-rc.}" -BLACKBOX_EXPORTER_COMMIT="4a22506" -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, TCP and ICMP" -HOMEPAGE="https://github.com/prometheus/blackbox_exporter" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND="dev-util/promu" - -FILECAPS=( - cap_net_raw usr/bin/blackbox_exporter -) - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${BLACKBOX_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - mkdir -p bin || die - GOPATH="${S}" promu build -v --prefix blackbox_exporter || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin blackbox_exporter/blackbox_exporter - dodoc {README,CONFIGURATION}.md blackbox.yml - insinto /etc/blackbox_exporter - newins example.yml blackbox.yml.example - popd || die - keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter - fowners ${PN}:${PN} /var/lib/blackbox_exporter /var/log/blackbox_exporter - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} diff --git a/app-metrics/blackbox_exporter/blackbox_exporter-0.13.0-r1.ebuild b/app-metrics/blackbox_exporter/blackbox_exporter-0.15.0.ebuild index b2b61cadacfa..7c9fdd3a2736 100644 --- a/app-metrics/blackbox_exporter/blackbox_exporter-0.13.0-r1.ebuild +++ b/app-metrics/blackbox_exporter/blackbox_exporter-0.15.0.ebuild @@ -6,7 +6,7 @@ inherit fcaps user golang-build golang-vcs-snapshot EGO_PN="github.com/prometheus/blackbox_exporter" EGIT_COMMIT="v${PV/_rc/-rc.}" -BLACKBOX_EXPORTER_COMMIT="1cfb751" +BLACKBOX_EXPORTER_COMMIT="3f726a8" ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" @@ -17,7 +17,7 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="" -DEPEND=">=dev-lang/go-1.11 +DEPEND=">=dev-lang/go-1.12 dev-util/promu" FILECAPS=( diff --git a/app-metrics/blackbox_exporter/blackbox_exporter-0.13.0.ebuild b/app-metrics/blackbox_exporter/blackbox_exporter-0.15.1.ebuild index 52be350e039e..c39fbc922b0f 100644 --- a/app-metrics/blackbox_exporter/blackbox_exporter-0.13.0.ebuild +++ b/app-metrics/blackbox_exporter/blackbox_exporter-0.15.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ inherit fcaps user golang-build golang-vcs-snapshot EGO_PN="github.com/prometheus/blackbox_exporter" EGIT_COMMIT="v${PV/_rc/-rc.}" -BLACKBOX_EXPORTER_COMMIT="1cfb751" +BLACKBOX_EXPORTER_COMMIT="7dd86a5" ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" @@ -17,7 +17,7 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="" -DEPEND=">=dev-lang/go-1.11 +DEPEND=">=dev-lang/go-1.12 dev-util/promu" FILECAPS=( @@ -52,4 +52,6 @@ src_install() { fowners ${PN}:${PN} /var/lib/blackbox_exporter /var/log/blackbox_exporter newinitd "${FILESDIR}"/${PN}.initd ${PN} newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" } diff --git a/app-metrics/burrow_exporter/Manifest b/app-metrics/burrow_exporter/Manifest index 6f0e81ff0e72..536cd729525f 100644 --- a/app-metrics/burrow_exporter/Manifest +++ b/app-metrics/burrow_exporter/Manifest @@ -15,4 +15,4 @@ DIST github.com-prometheus-procfs-65c1f6f8f0fc1e2185eb9863a3bc751496404259.tar.g DIST github.com-urfave-cli-ab403a54a148f2d857920810291539e1f817ee7b.tar.gz 56233 BLAKE2B e65241a10240c98eae5909a29ea63036583a073c290f613cac1d081534760bb4f0e15c2e02bd5693bae036901f9b029099ebea7679655da14b415332b0a3a93b SHA512 c4af60825c3209850b6a5ce38a86ac0b8cd9bfdbe6ef83dc4a52cb2842465fb12f96a81631646135c0571f404d891867bd401a2182ab3f3586e8b86090648bcc EBUILD burrow_exporter-0.0.6-r1.ebuild 1918 BLAKE2B 198811c126a7f406a9cd584ed75509346b9a6a042a03393382ab74bf767cb42bee316392572f64f32137a27577c048ae583f63c392095b65510cac5cc36d4517 SHA512 632460fbefa377fb5d471100d7ded4db4e8a47408059782e239c569b2e42293ec216062c4cf874d414c81ca33bb51cbbf0a3fd517645f2057076c2995160f129 EBUILD burrow_exporter-0.0.6.ebuild 1735 BLAKE2B 5f978575201c38acab7f45c8b501880122f847fa7d14024df6c2419ec5f2f4c5911579931a61740e197d4ca77a622e6172fac5e07df417f3155b35bd7aada5c0 SHA512 29f7a14a4ff7e0cc1047e21f198ca538e7b986ba4e6f037c0f5f44014fe5321900fdb68c3f16bc3fa2a25544213ddde217cb49e8d6ed9f7bf78d0bd69b2235f4 -MISC metadata.xml 332 BLAKE2B 6ea248bd017a37262531f051d02125e69d6e948c1e612094a9974b6d7709ee5a558d2f6fa12fcfcb583631eae8dd0f013c7d425fd47561daa6180ec3aed85130 SHA512 8156377de444b33046495fccacc530f09e8b4d45fc6a47d74c3a69a70ee9ce367a192c7e62e0f962e2867d120ff60408366ed00faa60a52373d42face2a2fcf5 +MISC metadata.xml 254 BLAKE2B c40084a1267a2a6b468e8c82280e4d4be02e823f169fd4fcc351516acfb9dbc38f3ce439d04afc7c6bfd57bdb05fb0dae3ba80fccc265c6154305482d3862470 SHA512 f66ca45a248a2a62aadfb09fdcea6e2346a326924f50c6e0551cb0e9f1df319e1f976427ae92d523e629c20cc5292d8469885e7e467b92ad1be7a213035bc167 diff --git a/app-metrics/burrow_exporter/metadata.xml b/app-metrics/burrow_exporter/metadata.xml index 9d38e68ffc15..9a3e876caef5 100644 --- a/app-metrics/burrow_exporter/metadata.xml +++ b/app-metrics/burrow_exporter/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>mrueg@gentoo.org</email> - <name>Manuel Rüger</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <remote-id type="github">jirwin/burrow_exporter</remote-id> </upstream> diff --git a/app-metrics/elasticsearch_exporter/Manifest b/app-metrics/elasticsearch_exporter/Manifest index 36526174c8a2..df0de116f1e5 100644 --- a/app-metrics/elasticsearch_exporter/Manifest +++ b/app-metrics/elasticsearch_exporter/Manifest @@ -8,4 +8,4 @@ EBUILD elasticsearch_exporter-1.0.2.ebuild 1162 BLAKE2B 28d273015563f09be796c6a7 EBUILD elasticsearch_exporter-1.0.4_rc1.ebuild 1181 BLAKE2B af0d914976ad33845d50b3edede77924fab4c8a94d18effd5f50cc981019fa4de473927bb194ae8bf6c5a878a080329d51b4a81d4e84f29e0a849c3c45558e2d SHA512 16cadc60fafe481597533893382eb4c500b2f893b6acc60301029a9c2163c9aa4936c240a842939283cffab0a117d5a1e24482a3dda73fb4eb7e7a7ceb9c1b29 EBUILD elasticsearch_exporter-1.1.0.ebuild 1178 BLAKE2B 6df12b064d5958d9ef6a8c0e77c65f075dda29b986dc596b6921c54be145f3f96a2f2c06e0447b9501db7b6100909ade339fb49b123924fad8f6b7497558e613 SHA512 9b1d9688cc25f6d813162bebab33a1b775e2dbebd2b350b788d347e6f6adb5f735b20ad105207d619027450b9f9d698688c88bc744cec6fc6a64bf2872f0c577 EBUILD elasticsearch_exporter-1.1.0_rc1.ebuild 1178 BLAKE2B b1fef2f456e267178049fe82736c108b3d9f574cd868691224fe8b84f547574ec6c031d56974496fcb5793c40b7cf13f21ae24704c21d1d8775df14c0804d4f9 SHA512 710f9c3ebf3e042b3cbb1dd97deab1c90748d7237f414ddc36b092cc06d389ef6f45293e79676de570ae9244c378d49f05f49ec685a9be8d664c49cc8ed5aabe -MISC metadata.xml 345 BLAKE2B 3398877ce76e92f81d618b919ff45a674e72ba7987bb8bf5275bbcaa170eecb6927ccabe179f67cd36462c28f37d527cfa94eebc941f8858441207d5d8960b75 SHA512 0f625082213dedfd0ced3aa529cf77a73691361eea2d407df7d0eddabc93c7cb25a43ed631da508a31b50065bb945ae7576b1911fbcc4df57475794b76262f68 +MISC metadata.xml 267 BLAKE2B 5512ed7b3219ccf423e6c395dedfc0613f941cb36ed1701ab078368298ca03ba89529037946d8cd37f5acf2fc6ef9e2a7f1771bd59a173e248ae5cdfde8d3558 SHA512 df8345b2a9b50071be48101818f7f5d270b00cc76efd6664a76a789ba24227a94c9e83fb5829e09382f9ddc4373e418b41cc8cf7147a24c2c2c9d0c0656eea1c diff --git a/app-metrics/elasticsearch_exporter/metadata.xml b/app-metrics/elasticsearch_exporter/metadata.xml index 2e5a147e290b..3bba28f75c97 100644 --- a/app-metrics/elasticsearch_exporter/metadata.xml +++ b/app-metrics/elasticsearch_exporter/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>mrueg@gentoo.org</email> - <name>Manuel Rüger</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <remote-id type="github">justwatchcom/elasticsearch_exporter</remote-id> </upstream> diff --git a/app-metrics/pushgateway/Manifest b/app-metrics/pushgateway/Manifest index d6740d014a73..f714753aa725 100644 --- a/app-metrics/pushgateway/Manifest +++ b/app-metrics/pushgateway/Manifest @@ -2,10 +2,8 @@ AUX pushgateway-1.confd 827 BLAKE2B b1a089d29ef99f692c4b38a8fb8c2d48ac018e5141fd AUX pushgateway-1.initd 664 BLAKE2B f24a389eb6f968d63a21ab0e8740604bcae440d3797ff1640c4e5cd09c9bba398db10c385321a6a50da78518ed341ba654baffb2671106e8ae04eb303bedb3a1 SHA512 515a49e4b1aa6934611f86f85e2132004d234d312c13be23887709fbcaad86280034942967b25d7e355ab491ac4c09e7c88221a95279f2f751cbd2387eba9ad5 AUX pushgateway-1.service 477 BLAKE2B 123c630e40ca47626cf1d6bc93e8556ab1fccb1dd799cd72c245e5a937aff1a5c1b5ad9280d8680a8643d055376960012e36691f9e4f6a8d64bbdc91a749b876 SHA512 0985e8e45b1557adefe5f36ed163440c81f432b95198819d3e46c3f946f255954e5cbe41cf378b33cd3dcb75c457970877f2f6a7585bfc90b58ac2df9abb2970 AUX pushgateway.logrotated 95 BLAKE2B 78db6689bbfac484b13a3444ebef47180aa94bfa6fa0c6b4fe273f415713b539116c1c05fc5348d504b9c6de270449a422fa7f49e63854a65d4ef6d25c3bf8c3 SHA512 615a8d105d97412b6819f65b9e34e28cb326457765ec9426f33d71cc4794aa1cbfff0abbcee14dbf94b6ae3f622c95d087ad485250c48b3e3efa8edcfe997069 -DIST pushgateway-0.7.0.tar.gz 1867703 BLAKE2B 588be72ba8f7b8421e36e7cb33ecc27e8f94c242e03d7a97b2f1f54c167373162a9e9e7dba63897e583331370b96723169359ebd78839a0bd1306f850dc24cc1 SHA512 2057c028e2427a9d63ad2fc47a0f367a9b075c259186659c7d20038d79aaa4f5a014a4304d36eee2e78c08af69e27f7f65e6aed2453c4fa630203fd4bf944c41 -DIST pushgateway-0.8.0.tar.gz 1869626 BLAKE2B 43c288c481160807324f4d247a9d03b1696be934e97dc852f0ee6732d56715a2c78b451247f62f5cd0d93d9ceff64b54ccb20a91d78496a915271b9080d5832c SHA512 fdb8b3e1cd11b7faa329e1b625c7d2d98635624f32623ae99a7bb1cf2222ed682cb9c031afec191a5426d6fafade7bb92add7dc607898e4a839252aca5f1d71c DIST pushgateway-0.9.0.tar.gz 4722706 BLAKE2B 6d024819a4729cb4e728a0d1b654be94881e4a439c734655a33f5dc7c978d09205bf97e51668c2da68319df14bf802a142342483c679f4add3bf2d0992f8bef2 SHA512 0dd98f3e35e2d13e4e5e30ee398121b663ebfde240654c49f44bb0b765065f35ecefd9ddaad706f7b9a5365ea2ef1afdebe57441fa2c18c211a8670d795719b0 -EBUILD pushgateway-0.7.0.ebuild 1323 BLAKE2B a27919dcf4d086567e6c64dc760b2102b21b062a859d15d4f0c9e5cf00442bb2ddb988ef380db7feaef7a26ce6735ae4ed9049dff39034bcb0639cec9ba17966 SHA512 20ee0ea96335bad0060a3eaed11b0ea18c18d64330e5acd66488f5e971363cc3e1711f600838eb4c5df000a4f4c32a71486f8e3d8fdf4e51cf332cfaf8cd4083 -EBUILD pushgateway-0.8.0.ebuild 1331 BLAKE2B 90883388cc67b375a836e1c9c1957d1f91a51b76c33da6a8374b9ccad589641c1bc49a818febc13fef6f94ee725e2c73811ec572773c768ef005b7e6032bd8be SHA512 c34814100b7c3b758d84c3ab9409689b4d9aeaff8f91a4789d53e35dfea203c614340de2fd0a27db162a44a3a8d6b9cf46bf15e10b0d78aa7d33ecdbb62f047b -EBUILD pushgateway-0.9.0.ebuild 1331 BLAKE2B 1adeebfd5d8aec3d4709a07756d30ef5d0bebe127a993264d8442f4d4667e92d83d16d9bb3111fe2897309d8cec62ab808470c53c00ffa602b6a2d76c2a2e2a2 SHA512 c3ce00955a5074a4100fa27a02a303b51e7ed2a8b6624972dca4793ab597f6c47bdd6017f502ab1538d28f5feef8d7a77e7b306ab73d889356a008a57fddc195 +DIST pushgateway-0.9.1.tar.gz 4743766 BLAKE2B d0c605d562b64782c6a90e82efcfbb3866e017a61f8165632e3ee87ca1ae677d2d59192262b0086e2dd4c4210236c40666f5aff3203a1fcc208cf300b82599f1 SHA512 a3f10ab2b3fcc5c9c14b761b6bd12b9e885e5b948c540b9bd6cc0c825ef7cb6e787fcc94b204bd15fd8b2690242b43a77e5b0b85e69ddf832d0dc3ee668c7fcf +EBUILD pushgateway-0.9.0.ebuild 1345 BLAKE2B e1391ce368a5a866deb7db68b6775cf9ea70af844a01cc04ec98009bc566f9387cec4c2c7a8979d3f59e258596449c99dee1ba3c6ff634ae7ffcc398da507718 SHA512 c813fa5596e1ae5b7fdf2e19e65955f6d3235929b79cac35508a8c6aa83335bdfe875c6938bb5aaa4846961de316d9b7054a7ea69f13bd72ce75a4685dc9803a +EBUILD pushgateway-0.9.1.ebuild 1345 BLAKE2B 7d02e607f7b44a8f586efd4998c3b6657f7a4d4f90dbf2e47f5c7f055440ee576128d7119f2aa46f3300e8c4c06be7c4a50591755ec9912afbd8b9acd15979d3 SHA512 0874eebcdb063c7e8f3bb632d71b67363a8c093f85ffa8834b0248079bc1471ee3372e996daf83f7bb7a7e4073c93cbaf547f224e03261bcde25ed1cc9ae9e20 MISC metadata.xml 437 BLAKE2B 904f35ea9287d25e5708e450715f8719004a5349ea871e9730fe36a98257cd0ba2417ec572f0d26a8d5d2de5629bca2d1b81f3e344bb8e4a52653175e8df2f3e SHA512 09284843912bc08aef77485911289fe1050f7d42e726e555650ad73b3ca51bcb62af90ccd69c3529bbdb7373b9ec317e0afd74687b84b123ac4fbbf2a3de9d7f diff --git a/app-metrics/pushgateway/pushgateway-0.7.0.ebuild b/app-metrics/pushgateway/pushgateway-0.7.0.ebuild deleted file mode 100644 index af0d7bd02d48..000000000000 --- a/app-metrics/pushgateway/pushgateway-0.7.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user golang-build golang-vcs-snapshot systemd - -EGO_PN="github.com/prometheus/pushgateway" -EGIT_COMMIT="v${PV/_rc/-rc.}" -GIT_COMMIT="d5a56ba" -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Prometheus push acceptor for ephemeral and batch jobs" -HOMEPAGE="https://github.com/prometheus/pushgateway" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND=">=dev-lang/go-1.11 - dev-util/promu" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${GIT_COMMIT}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - mkdir -p bin || die - GO111MODULE=on GOPATH="${S}" promu build -v --prefix bin || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin bin/pushgateway - dodoc {README,CHANGELOG,CONTRIBUTING}.md - popd || die - keepdir /var/lib/${PN} /var/log/${PN} - fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN} - newinitd "${FILESDIR}"/${PN}-1.initd ${PN} - newconfd "${FILESDIR}"/${PN}-1.confd ${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotated" "${PN}" - systemd_dounit "${FILESDIR}/${PN}-1.service" -} diff --git a/app-metrics/pushgateway/pushgateway-0.9.0.ebuild b/app-metrics/pushgateway/pushgateway-0.9.0.ebuild index ba7d4f8d54e6..cd3b9589fb94 100644 --- a/app-metrics/pushgateway/pushgateway-0.9.0.ebuild +++ b/app-metrics/pushgateway/pushgateway-0.9.0.ebuild @@ -13,7 +13,7 @@ KEYWORDS="~amd64" DESCRIPTION="Prometheus push acceptor for ephemeral and batch jobs" HOMEPAGE="https://github.com/prometheus/pushgateway" SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" +LICENSE="Apache-2.0 BSD BSD-2 MIT" SLOT="0" IUSE="" diff --git a/app-metrics/pushgateway/pushgateway-0.8.0.ebuild b/app-metrics/pushgateway/pushgateway-0.9.1.ebuild index 3d1f5eba9122..0ec409e6c76b 100644 --- a/app-metrics/pushgateway/pushgateway-0.8.0.ebuild +++ b/app-metrics/pushgateway/pushgateway-0.9.1.ebuild @@ -1,19 +1,19 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit user golang-build golang-vcs-snapshot systemd EGO_PN="github.com/prometheus/pushgateway" EGIT_COMMIT="v${PV/_rc/-rc.}" -GIT_COMMIT="d90bf32" +GIT_COMMIT="b4410a3" ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" DESCRIPTION="Prometheus push acceptor for ephemeral and batch jobs" HOMEPAGE="https://github.com/prometheus/pushgateway" SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" +LICENSE="Apache-2.0 BSD BSD-2 MIT" SLOT="0" IUSE="" diff --git a/app-metrics/redis_exporter/Manifest b/app-metrics/redis_exporter/Manifest index 8ea936f32ef3..8eb94cb6a607 100644 --- a/app-metrics/redis_exporter/Manifest +++ b/app-metrics/redis_exporter/Manifest @@ -3,5 +3,11 @@ AUX redis_exporter.initd 618 BLAKE2B 15e68da38f7644013ffafc94de4740912918fcfb5c0 AUX redis_exporter.logrotated 101 BLAKE2B 323e088953e483d4138836bd67db896f1b9aa9df37e0b56267a40c9543138668c92a9fde38856f2a3ed5f28156badc3a287c8be85a81acef9c5c36d178d14826 SHA512 6070dcf0f588f20a3225471db56737e96660820e9f18de6bae1921caa7fd6ee7408c03a969139f55f594fcfdcaa0f96d9ff4e597e68bd58154929f434c3f1082 AUX redis_exporter.service 445 BLAKE2B 40b006933b7c221171872c7f5f50eb07db0a551169eddd6aca5848e06bac78a6db6683b177e04caff91e3c52bf7e8bdbbd96ff98b6489b6b1abe2a8973b75a2f SHA512 aee1651eeaa61a9a46fcd041c8616e3db85e160f270da69272a18ec5e2e664baf8bc6dc321c04e87e527a6fef63d54f36bb6903e58e376b76c104c3e1ce3818b DIST redis_exporter-0.20.2.tar.gz 970030 BLAKE2B 55bee727f196fad642944a444220d9f71958d812f5f5f4d79a0c741cada25f29690ff4f185ec4028cf5216139e5351022a134fb1b0f2b5b45b384a831dbf1802 SHA512 eee4cc9de79ea256571c9650abae6b044fc78b7683abef544d5313dad5d46d3516c55e939c33f87849cc52ed2465797d20b606e386aa4fe187dd16d30354173e -EBUILD redis_exporter-0.20.2.ebuild 1495 BLAKE2B dd5b64f9d5ed44758e7b3b2a62fc79b9bf2b86f4e66a329140537bbd22127f5c5a55032129bebf6d991a2be5bd3ebe590345aee62e3c7c48dc3e3aac45dc8115 SHA512 29a8621ce29e01ca94f5a45f672996ce675f5c96830ce9bf1c0e5867a8e3599083760874a7d960e3ed5650287b9765f553fa4b6baf199c64bb4a320fe3f02c88 +DIST redis_exporter-1.1.1.tar.gz 1415085 BLAKE2B 0a687d68864ae00e52c46839c15b24f3ec394e2865ee9ca6fe158f9405da8e7641c8b1e7328e80074aa919c4b28c9cf6bd296bf213de5ff6d1c9c5c62f8c1ce9 SHA512 13d5cbb20b4b52e0d8eb71437f81c2aae10599e1bd2f3e6cd0a907197078298e8d2d8b9d068c0872894a581c1feb0656875f88338acace9c61842033c2d20e35 +DIST redis_exporter-1.2.0.tar.gz 1415085 BLAKE2B 6f5f7ebca89da96d4d6fb26cb64598d18b854557e7b4eaf4ce9e311d3e0308172b2f892f09645e534f9739e8d333243b20d4436daf0f5ef4edb478ee36177f91 SHA512 163d48f0728c5c1ab9cb14b69b6073ab1bd2a2ff8293838f528eefff0b6ae8fb8b9e6579d91d0cf195ad03361ca3bbccc39f893d08e6fd2b8e4b697a6e0cdb65 +DIST redis_exporter-1.2.1.tar.gz 1415284 BLAKE2B 8218e36fa11d74e1be49f421ce2074388c434e713d1af57930538e4246744f34aecddeabf7a97a796b51ff5df4beef71b905310f8d96906acea120322551d2f6 SHA512 29faed372225cebcc2db35e8e2d08519e160d27070fed7b90afffcd3865e9ccc54e8aeb82dfbb1ca275eedc64542a67c688062428488cd74234de67b3589fda9 +EBUILD redis_exporter-0.20.2.ebuild 1510 BLAKE2B 89f479d55e2bdd18985eea79542729789d06bfec5cea93f01052e0641462a9c5e1841e317d70ef7a80a1f6124170bdc72a929ae3fc22af36410a66166642f51c SHA512 ab1900cd437afbab9ee06ea6e825600338597d61178ea29be1c4d82d409ac34762de205a8fd7697c1298a2565ab2abdda75cad211fed7f582eda783f49380504 +EBUILD redis_exporter-1.1.1.ebuild 2277 BLAKE2B ad0b34321ff701bfd36e95e22aa4f8fb79fe84bc184443c9a7e289a1f42a6e6c92d42188180457f0b2ac3fee878f00d70865f98e0b7f0c6c316fbf8f0487105e SHA512 aa9a8b9e9e37c542c1ee1d261bcf63a4bf00c74fdc3b803ff6a0aaa086efd4234ff8ba817310b8597c3858a61ef4d404422b9a07d310ef114392311c4b23d5a0 +EBUILD redis_exporter-1.2.0.ebuild 2277 BLAKE2B 48b8ead8ea58cdbe5dc94136da44e26a28fcf81fe16d5236051493f943ac01072a1d14a9782eff39d1bb4e1d2accdd76bca592cf79a85ce629437b29c8b1ebe4 SHA512 bd57ff84adaa8b2acf60aea813545055038d5ee74e4b9040f618452d1d5cfa973218c8438afd1b26d385ea2f95ac936884bf7005313074a36de93ecb9cfb898d +EBUILD redis_exporter-1.2.1.ebuild 2277 BLAKE2B a719655b7cf459b1e8d762a468d3288c32d14cd7350afd776e327e845ae18dc8f62474139cd55cb1ace206a9d37ac3745397e8362ac64e43fc0980ac5b7b0401 SHA512 49653575a306e4662d54bf3502ac8c78fa9a641795d483dcee1f513e3a47a7426cb1543ddeab0295be7dd23a6953ef74e195d277789a5def5198675430547cf4 MISC metadata.xml 333 BLAKE2B 8eb8199bafb906f2b58072cf9765c7c44a4daeb54216db95f25a6c1545bf30720d73314fafe5d129dbbc200990e7a553e0ddc1486c22aa5d24c8616d21d4af80 SHA512 b1a040dc4cc2762aea081dc99209191da6f0d3d77c343148e3eb539bbc6527586e46de1b97e7cbec9f5098adb2f655059aa8609542353ddd88d19febb43c6fec diff --git a/app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild b/app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild index e6d81a4c74df..09e357fdf37f 100644 --- a/app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild +++ b/app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild @@ -12,7 +12,7 @@ KEYWORDS="~amd64" DESCRIPTION="Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x and 4.x" HOMEPAGE="https://github.com/oliver006/redis_exporter" SRC_URI="${ARCHIVE_URI}" -LICENSE="MIT" +LICENSE="MIT Apache-2.0 BSD" SLOT="0" IUSE="" diff --git a/app-metrics/redis_exporter/redis_exporter-1.1.1.ebuild b/app-metrics/redis_exporter/redis_exporter-1.1.1.ebuild new file mode 100644 index 000000000000..38a876474077 --- /dev/null +++ b/app-metrics/redis_exporter/redis_exporter-1.1.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit user golang-build golang-vcs-snapshot systemd + +EGO_PN="github.com/oliver006/redis_exporter" +EGIT_COMMIT="1687c56fd0b53a6b36e2140b6c246a5fabe634c2" +ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x and 4.x" +HOMEPAGE="https://github.com/oliver006/redis_exporter" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT Apache-2.0 BSD" +SLOT="0" +IUSE="" +S=${WORKDIR}/${P}/src/${EGO_PN} + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +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 + + sed -e 's:TestCommandStats(:_\0:' \ + -e 's:TestExportClientList(:_\0:' \ + -e 's:TestGetKeyInfo(:_\0:' \ + -e 's:TestGetKeysFromPatterns(:_\0:' \ + -e 's:TestHTTPEndpoints(:_\0:' \ + -e 's:TestHostVariations(:_\0:' \ + -e 's:TestIncludeSystemMemoryMetric(:_\0:' \ + -e 's:TestKeySizeList(:_\0:' \ + -e 's:TestKeysReset(:_\0:' \ + -e 's:TestKeyValuesAndSizes(:_\0:' \ + -e 's:TestLatencySpike(:_\0:' \ + -e 's:TestLuaScript(:_\0:' \ + -e 's:TestScanForKeys(:_\0:' \ + -e 's:TestSimultaneousRequests(:_\0:' \ + -e 's:TestSlowLog(:_\0:' \ + -i exporter_test.go || die +} + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME #684052 + export GO111MODULE=on GOFLAGS="-mod=vendor -v -x" GOBIN="${WORKDIR}/${P}/bin" + go install -work ${EGO_BUILD_FLAGS} \ + -ldflags="-X main.BuildVersion=${PV} -X main.BuildCommitSha=${EGIT_COMMIT} -X main.BuildDate=$(date +%F-%T)" \ + "${EGO_PN}" || die +} + +src_test() { + go test -work "${EGO_PN}" || 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" +} diff --git a/app-metrics/redis_exporter/redis_exporter-1.2.0.ebuild b/app-metrics/redis_exporter/redis_exporter-1.2.0.ebuild new file mode 100644 index 000000000000..cb331c1f4734 --- /dev/null +++ b/app-metrics/redis_exporter/redis_exporter-1.2.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit user golang-build golang-vcs-snapshot systemd + +EGO_PN="github.com/oliver006/redis_exporter" +EGIT_COMMIT="2436f66e35c2ea6876ac857e25ae13ce909e8c3a" +ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x and 4.x" +HOMEPAGE="https://github.com/oliver006/redis_exporter" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT Apache-2.0 BSD" +SLOT="0" +IUSE="" +S=${WORKDIR}/${P}/src/${EGO_PN} + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +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 + + sed -e 's:TestCommandStats(:_\0:' \ + -e 's:TestExportClientList(:_\0:' \ + -e 's:TestGetKeyInfo(:_\0:' \ + -e 's:TestGetKeysFromPatterns(:_\0:' \ + -e 's:TestHTTPEndpoints(:_\0:' \ + -e 's:TestHostVariations(:_\0:' \ + -e 's:TestIncludeSystemMemoryMetric(:_\0:' \ + -e 's:TestKeySizeList(:_\0:' \ + -e 's:TestKeysReset(:_\0:' \ + -e 's:TestKeyValuesAndSizes(:_\0:' \ + -e 's:TestLatencySpike(:_\0:' \ + -e 's:TestLuaScript(:_\0:' \ + -e 's:TestScanForKeys(:_\0:' \ + -e 's:TestSimultaneousRequests(:_\0:' \ + -e 's:TestSlowLog(:_\0:' \ + -i exporter_test.go || die +} + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME #684052 + export GO111MODULE=on GOFLAGS="-mod=vendor -v -x" GOBIN="${WORKDIR}/${P}/bin" + go install -work ${EGO_BUILD_FLAGS} \ + -ldflags="-X main.BuildVersion=${PV} -X main.BuildCommitSha=${EGIT_COMMIT} -X main.BuildDate=$(date +%F-%T)" \ + "${EGO_PN}" || die +} + +src_test() { + go test -work "${EGO_PN}" || 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" +} diff --git a/app-metrics/redis_exporter/redis_exporter-1.2.1.ebuild b/app-metrics/redis_exporter/redis_exporter-1.2.1.ebuild new file mode 100644 index 000000000000..266c339cba74 --- /dev/null +++ b/app-metrics/redis_exporter/redis_exporter-1.2.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit user golang-build golang-vcs-snapshot systemd + +EGO_PN="github.com/oliver006/redis_exporter" +EGIT_COMMIT="55b9cfabb601b5a71822fa396f914a07a31dcbe4" +ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x and 4.x" +HOMEPAGE="https://github.com/oliver006/redis_exporter" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT Apache-2.0 BSD" +SLOT="0" +IUSE="" +S=${WORKDIR}/${P}/src/${EGO_PN} + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +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 + + sed -e 's:TestCommandStats(:_\0:' \ + -e 's:TestExportClientList(:_\0:' \ + -e 's:TestGetKeyInfo(:_\0:' \ + -e 's:TestGetKeysFromPatterns(:_\0:' \ + -e 's:TestHTTPEndpoints(:_\0:' \ + -e 's:TestHostVariations(:_\0:' \ + -e 's:TestIncludeSystemMemoryMetric(:_\0:' \ + -e 's:TestKeySizeList(:_\0:' \ + -e 's:TestKeysReset(:_\0:' \ + -e 's:TestKeyValuesAndSizes(:_\0:' \ + -e 's:TestLatencySpike(:_\0:' \ + -e 's:TestLuaScript(:_\0:' \ + -e 's:TestScanForKeys(:_\0:' \ + -e 's:TestSimultaneousRequests(:_\0:' \ + -e 's:TestSlowLog(:_\0:' \ + -i exporter_test.go || die +} + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME #684052 + export GO111MODULE=on GOFLAGS="-mod=vendor -v -x" GOBIN="${WORKDIR}/${P}/bin" + go install -work ${EGO_BUILD_FLAGS} \ + -ldflags="-X main.BuildVersion=${PV} -X main.BuildCommitSha=${EGIT_COMMIT} -X main.BuildDate=$(date +%F-%T)" \ + "${EGO_PN}" || die +} + +src_test() { + go test -work "${EGO_PN}" || 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" +} diff --git a/app-metrics/uwsgi_exporter/Manifest b/app-metrics/uwsgi_exporter/Manifest index 3e3cc6fa9523..85bb4b644924 100644 --- a/app-metrics/uwsgi_exporter/Manifest +++ b/app-metrics/uwsgi_exporter/Manifest @@ -3,5 +3,7 @@ AUX uwsgi_exporter.initd 627 BLAKE2B 37b6a417bbf2073dd30c7233266edd683e571217eb0 AUX uwsgi_exporter.logrotated 101 BLAKE2B f375e39ad267147f98945120479e6c43ea2a0987e882880942f1b8e977f9263fd63cefc433897a1091eea1a1da54b1dfdbb50ff7e4753aebcd23602ef2232630 SHA512 8dc8c9ee998c26d128c26de1c75011d6200c78098bfc9f97bd1d40946b0923f5a7c56eccf8fbfe59fb9df0b6b1430ae321b7f9da817dee1112d8a407d735af71 AUX uwsgi_exporter.service 454 BLAKE2B 129a09d27a097a1e8a5ee230082d56a6a3e85387e84d8758a5d05589f5a24817146f9198106029e3b413ae4fbff01b05627ff865c6edefb2eb1ffd2e442dcc3f SHA512 b57a18f882285f2c91408697cd144ea4907f17428032f58e91abfdfe18fb76ba6ae5e31092f64e49bfcb5aef43f01ff162f9f15cb9a7b62cdc3bfa68f920b233 DIST uwsgi_exporter-0.7.0.tar.gz 3039893 BLAKE2B a6efdae7f9a19ad21a283b586b5667bd99456274ed419d1b64aaf4cdb4df1e1c4fb2a08edf6df2b15813d21311fe54c2f2394f0bf25ac11c49db8a924596da05 SHA512 380ef4515eaa81d4dee853682efa7a5e82af2ec00c096e7471028c9932d46e0a7406b75cb40f0f8efec15cd77b06c5477a07919d0b44720e3e194b5bb023b593 -EBUILD uwsgi_exporter-0.7.0.ebuild 1290 BLAKE2B a5f602cbac0af581b267c431593e99485f6bc38d6b2ac2397a473776b79b47d5efa44159733294dc474c198449370761e5044bdcbec4d60e697260a6cd3bbc30 SHA512 da92f32a2557bfce8206d2904306c5f2afcd539f3a81221e5d4f7255f3d8f150fe782d5640a6547ff78cebcd872b90beedbd7ccfcd1092f4e6587663a73e0bc4 +DIST uwsgi_exporter-0.8.0.tar.gz 3040547 BLAKE2B 5b6769487b3a08752cdff9dccc727096bc6b9d49e12e8aa35d04bbd0c3534503c19a4dda882c7efd7409549f3cae750021fa7ce87d12b798a2998efcdfc9f1cf SHA512 a5a1439f554749c7db4857651a11cbbf0ad0a0a8da0ffd421e374fe08194ba289a6bb04a95e4169ba6a75d0358c7a96e5b9f3cc5813cc39004f81dce42edb3ed +EBUILD uwsgi_exporter-0.7.0.ebuild 1299 BLAKE2B 2b616ae2f1b8823de2ffc693e6e60ca92adfeb2db8c75126688aafb6e7df1c1b405d5192470da7a458b681372f8c230be886997b2a65183891b87029c6f43fc1 SHA512 69d2e60751d68c771478e5fcb4dde3cedda119a3c1097e05b0bf5c41633d9d24ad16f45cdab1f7af5a176cdd60f0dea84d1698d69bd8f42caf75dbfe5cea6c89 +EBUILD uwsgi_exporter-0.8.0.ebuild 1299 BLAKE2B be312e35f8cd472b26864b5c3e01e3e180864d32a1cd60fcc4ab19ab8ae6875fb51bc6bd406c54dcb0659e7299b5646058ecc54adce3ff37ab90fcd8e0f5b127 SHA512 93f78ed203899649d420d3a8254913e72f5476e2ce059fcee59da24645430ba7d109683509d1585c5eed3bc01a08ee19eeaed82731160e103f191a07e4cd2dfe MISC metadata.xml 333 BLAKE2B 95f858b4f8e6c056cdc531b5a8e5dcd4f1a3ef72937d8e9d25276fec38ac13d5da50c3a97c221735bb93cc1bc431e6408c5ef4a68a694a94f077270bb4acac62 SHA512 95be3084c4d196026c2447fbdba6c4c8ca982f04757e613a2b097c0481ca49b5eb0a10e0814fd7bbf1dbcc5862e5704a5ae6cc0b7192e0f4fe87e0ba9ea14e0d diff --git a/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild index 7c5dd6280d85..b705627040f0 100644 --- a/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild +++ b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ KEYWORDS="~amd64" DESCRIPTION="uWSGI metrics exporter for prometheus.io" HOMEPAGE="https://github.com/timonwong/uwsgi_exporter" SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" +LICENSE="Apache-2.0 BSD ISC MIT" SLOT="0" IUSE="" diff --git a/app-metrics/uwsgi_exporter/uwsgi_exporter-0.8.0.ebuild b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.8.0.ebuild new file mode 100644 index 000000000000..05b3d84ad98b --- /dev/null +++ b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.8.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit user golang-build golang-vcs-snapshot systemd + +EGO_PN="github.com/timonwong/uwsgi_exporter" +EGIT_COMMIT="v${PV/_rc/-rc.}" +UWSGI_EXPORTER_COMMIT="ddbc18f" +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="uWSGI metrics exporter for prometheus.io" +HOMEPAGE="https://github.com/timonwong/uwsgi_exporter" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0 BSD ISC MIT" +SLOT="0" +IUSE="" + +DEPEND="dev-util/promu" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +src_prepare() { + default + sed -i -e "s/{{.Revision}}/${UWSGI_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die +} + +src_compile() { + pushd src/${EGO_PN} || die + mkdir -p bin || die + GOPATH="${S}" promu build -v --prefix bin || die + popd || die +} + +src_install() { + pushd src/${EGO_PN} || die + dobin bin/uwsgi_exporter + dodoc README.md + popd || die + 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" +} |