diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-metrics/pushgateway | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-metrics/pushgateway')
-rw-r--r-- | app-metrics/pushgateway/Manifest | 14 | ||||
-rw-r--r-- | app-metrics/pushgateway/files/pushgateway-1.confd | 14 | ||||
-rw-r--r-- | app-metrics/pushgateway/files/pushgateway-1.initd | 19 | ||||
-rw-r--r-- | app-metrics/pushgateway/files/pushgateway-1.service | 16 | ||||
-rw-r--r-- | app-metrics/pushgateway/files/pushgateway.confd | 14 | ||||
-rw-r--r-- | app-metrics/pushgateway/files/pushgateway.initd | 19 | ||||
-rw-r--r-- | app-metrics/pushgateway/files/pushgateway.logrotated | 7 | ||||
-rw-r--r-- | app-metrics/pushgateway/files/pushgateway.service | 16 | ||||
-rw-r--r-- | app-metrics/pushgateway/metadata.xml | 15 | ||||
-rw-r--r-- | app-metrics/pushgateway/pushgateway-0.4.0.ebuild | 51 | ||||
-rw-r--r-- | app-metrics/pushgateway/pushgateway-0.5.0.ebuild | 51 | ||||
-rw-r--r-- | app-metrics/pushgateway/pushgateway-0.5.2.ebuild | 51 |
12 files changed, 0 insertions, 287 deletions
diff --git a/app-metrics/pushgateway/Manifest b/app-metrics/pushgateway/Manifest deleted file mode 100644 index 515aab948781..000000000000 --- a/app-metrics/pushgateway/Manifest +++ /dev/null @@ -1,14 +0,0 @@ -AUX pushgateway-1.confd 827 BLAKE2B b1a089d29ef99f692c4b38a8fb8c2d48ac018e5141fd700d160b944287670eba674035c3929e175bf131a71f2edbd594d2cbdae43a1f6be30dc455784286ce85 SHA512 c83cce3088b426f30b90a50ee507e93f1c8ff3ea4f54ddf4d5da90d4f895e8aa02550952243d044d9e2c819798d8ee6f231206405f61dd350b1ca541e535361f -AUX pushgateway-1.initd 664 BLAKE2B f24a389eb6f968d63a21ab0e8740604bcae440d3797ff1640c4e5cd09c9bba398db10c385321a6a50da78518ed341ba654baffb2671106e8ae04eb303bedb3a1 SHA512 515a49e4b1aa6934611f86f85e2132004d234d312c13be23887709fbcaad86280034942967b25d7e355ab491ac4c09e7c88221a95279f2f751cbd2387eba9ad5 -AUX pushgateway-1.service 477 BLAKE2B 123c630e40ca47626cf1d6bc93e8556ab1fccb1dd799cd72c245e5a937aff1a5c1b5ad9280d8680a8643d055376960012e36691f9e4f6a8d64bbdc91a749b876 SHA512 0985e8e45b1557adefe5f36ed163440c81f432b95198819d3e46c3f946f255954e5cbe41cf378b33cd3dcb75c457970877f2f6a7585bfc90b58ac2df9abb2970 -AUX pushgateway.confd 819 BLAKE2B 9c42a6d012f70a2ac03d4b90999d94683bc62f6d203ef8d2bf59019e30aea59c3beceae34f2579a2958acfaf882c275453aa5e46e488c5afebaebfc3f17b896b SHA512 c941bc2350bbda14d49effbc0a7988869fc38ccf2236951a88721bd15397c9e5b5d5a98d58285610b33eedc7a26f6cca51e3ec6f4909bdabf0658afd51b99feb -AUX pushgateway.initd 662 BLAKE2B 652c58309ce31f7a37cb92beb128848ef28118b9b05278e79765b8c6555b6020266c062ef58463488dd39389f6bf0e2d1e0a9b5371ec4b5c26b821d6fac8877e SHA512 7bb32a7848607d939f3343c8d3fc88454b9ffc9d8d89f2af992d9f6f9fafe266c965b068cc466adbcf0ab014f1e5ca9214b567feacce09b73c8c2212e12aab00 -AUX pushgateway.logrotated 95 BLAKE2B 78db6689bbfac484b13a3444ebef47180aa94bfa6fa0c6b4fe273f415713b539116c1c05fc5348d504b9c6de270449a422fa7f49e63854a65d4ef6d25c3bf8c3 SHA512 615a8d105d97412b6819f65b9e34e28cb326457765ec9426f33d71cc4794aa1cbfff0abbcee14dbf94b6ae3f622c95d087ad485250c48b3e3efa8edcfe997069 -AUX pushgateway.service 476 BLAKE2B 1634abf2aebcc5423654bb70855d46917569e687c2b545590dbee5a99cb11ebe0744aff53969c9e20685e4c7fa8bb81bfd354e907fdd6c913c34ba43e1eb3588 SHA512 6564ba12bdda356b8dd368191e19383f2363f997a443e93c754ea1f6b1485deaf200167ede550d9a1d49d6c3787f215fb24d88cbcb05f3e4ce179ab0c7d9576b -DIST pushgateway-0.4.0.tar.gz 1140644 BLAKE2B ea82e2e7f6fd817de02044e5aafde724a4089e4f2961f0b581f90df7e04e65af5a3c3e044ef94bd600a92468a8aed791c838a8fdc64b05b7a91d6288e7e96fb3 SHA512 67f25e5f7fdc54143c5d10720f27bd256f22695ced93088cf2b72fe3197e45324d4353357ae40d7d3e92019480c0bec009e38ed3f583724d46411d76adbdc927 -DIST pushgateway-0.5.0.tar.gz 1566969 BLAKE2B 255592d172ba910cd4c031f33045ee92fa02b8ba04c69a844e1a81d0fb4c0425f4a71931c917cb70f90422e25ad8761892cde344acb3fa7465e682ff8671f31b SHA512 d0a96aa8b1a59266a8864ab760ad6fdbdc131c49b08aa3bf89f54ed9c6ced6a4b7ab2f8c70d15dad1605ec7b46c5e784dc77be10f26ebd56a3a0f16f7285d607 -DIST pushgateway-0.5.2.tar.gz 1567286 BLAKE2B b62092b349ca8248937795f868e32fbd130df0b23de8b0c81a780102f8df3930db97a86061cf409d658c3e29e8d2eb6e350e18b9101a0bc9a0ba7b77a7fd79fc SHA512 4d6dcbc0199a83fe0469540ec70dbe230cf7c1d3efa66c55679b40e8882736b54af40423c7a2c1ab8693edca839bc67b4cd7125d52f9beab296c55f220e51482 -EBUILD pushgateway-0.4.0.ebuild 1301 BLAKE2B 328b451698ceec2cd6f6020cadba897836c66513fcc25169be9e92ca7715e97e52fd245c51e7cb5f58a56967c486294f0164501dfbc9099d1d0144452f379c1a SHA512 81b652f6f3a78a39aa1604a7fa1209fd73595ea318736a735ddb00cd7d35ec48575eb4106c12efbacb3ac095c8280ec96fb9a0decc60631847079dcbf805bcec -EBUILD pushgateway-0.5.0.ebuild 1291 BLAKE2B 267e67938461d4b8461822f9986ad1782ebb66e4e01fb623f265d07c9f47b4af7041ff07ba11660596ac6e3452c53eeed941679ab47690979173bf660a7ae822 SHA512 c2d44c055d5aa6f871f05ac459fa88c2f4321c4977ef07073b16ccbc72b5fc1199adaedffd0d5e70d4df05920596066282f8eb91cca4d0fd4f4a17f02b2ef16e -EBUILD pushgateway-0.5.2.ebuild 1291 BLAKE2B 2ac140c425dc74dfb9163522c45d827a99a63a03565e4b51228857bbe96bb973ec18ad452ba8790e330ba1c51f3c48e361e20c1d28c99e83f9f8ba6a8e04ca3d SHA512 848ae6f60ab5cf26a9b6eda1619eae7120725581594d069dc3be4fadd0ca1ff1cff6ca2aca84ff8e155cb3b63f1d5daff8c21c79129cc4c631daf92592a801d7 -MISC metadata.xml 437 BLAKE2B 904f35ea9287d25e5708e450715f8719004a5349ea871e9730fe36a98257cd0ba2417ec572f0d26a8d5d2de5629bca2d1b81f3e344bb8e4a52653175e8df2f3e SHA512 09284843912bc08aef77485911289fe1050f7d42e726e555650ad73b3ca51bcb62af90ccd69c3529bbdb7373b9ec317e0afd74687b84b123ac4fbbf2a3de9d7f diff --git a/app-metrics/pushgateway/files/pushgateway-1.confd b/app-metrics/pushgateway/files/pushgateway-1.confd deleted file mode 100644 index 73149075bb4e..000000000000 --- a/app-metrics/pushgateway/files/pushgateway-1.confd +++ /dev/null @@ -1,14 +0,0 @@ -# --log.format value -# If set use a syslog logger or JSON logging. Example: logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to stderr. -# --log.level value -# Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]. -# --persistence.file string -# File to persist metrics. If empty, metrics are only kept in memory. -# --persistence.interval duration -# The minimum interval at which to write out the persistence file. (default 5m0s) -# --web.listen-address string -# Address to listen on for the web interface, API, and telemetry. (default ":9091") -# --web.telemetry-path string -# Path under which to expose metrics. (default "/metrics") - -#command_args="--web.listen-address localhost:9091 --persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob" diff --git a/app-metrics/pushgateway/files/pushgateway-1.initd b/app-metrics/pushgateway/files/pushgateway-1.initd deleted file mode 100644 index 60f81c1f38a2..000000000000 --- a/app-metrics/pushgateway/files/pushgateway-1.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="Prometheus push acceptor for ephemeral and batch jobs" -pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"} -user=${user:-${RC_SVCNAME}} -group=${group:-${RC_SVCNAME}} - -command="/usr/bin/pushgateway" -command_args="${command_args:---web.listen-address localhost:9091 --persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob}" -command_background="true" -start_stop_daemon_args="--user ${user} --group ${group} \ - --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \ - --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" - -depend() { - need net -} diff --git a/app-metrics/pushgateway/files/pushgateway-1.service b/app-metrics/pushgateway/files/pushgateway-1.service deleted file mode 100644 index 03ae0a442772..000000000000 --- a/app-metrics/pushgateway/files/pushgateway-1.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Prometheus exporter for ephemereal jobs -Documentation=https://prometheus.io/docs/instrumenting/pushing/ -After=network-online.target - -[Service] -User=pushgateway -Restart=on-failure -Environment=PUSHGATEWAY_ARGS="--web.listen-address localhost:9091 --persistence.file=/var/lib/pushgateway/persistence.gob" -ExecStart=/usr/bin/pushgateway $PUSHGATEWAY_ARGS -ExecReload=/bin/kill -HUP $MAINPID -TimeoutStopSec=20s -SendSIGKILL=no - -[Install] -WantedBy=multi-user.target diff --git a/app-metrics/pushgateway/files/pushgateway.confd b/app-metrics/pushgateway/files/pushgateway.confd deleted file mode 100644 index de9ef483723f..000000000000 --- a/app-metrics/pushgateway/files/pushgateway.confd +++ /dev/null @@ -1,14 +0,0 @@ -# -log.format value -# If set use a syslog logger or JSON logging. Example: logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to stderr. -# -log.level value -# Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]. -# -persistence.file string -# File to persist metrics. If empty, metrics are only kept in memory. -# -persistence.interval duration -# The minimum interval at which to write out the persistence file. (default 5m0s) -# -web.listen-address string -# Address to listen on for the web interface, API, and telemetry. (default ":9091") -# -web.telemetry-path string -# Path under which to expose metrics. (default "/metrics") - -#command_args="-web.listen-address localhost:9091 -persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob" diff --git a/app-metrics/pushgateway/files/pushgateway.initd b/app-metrics/pushgateway/files/pushgateway.initd deleted file mode 100644 index a187e57897ed..000000000000 --- a/app-metrics/pushgateway/files/pushgateway.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="Prometheus push acceptor for ephemeral and batch jobs" -pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"} -user=${user:-${RC_SVCNAME}} -group=${group:-${RC_SVCNAME}} - -command="/usr/bin/pushgateway" -command_args="${command_args:--web.listen-address localhost:9091 -persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob}" -command_background="true" -start_stop_daemon_args="--user ${user} --group ${group} \ - --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \ - --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" - -depend() { - need net -} diff --git a/app-metrics/pushgateway/files/pushgateway.logrotated b/app-metrics/pushgateway/files/pushgateway.logrotated deleted file mode 100644 index c94b73952bc7..000000000000 --- a/app-metrics/pushgateway/files/pushgateway.logrotated +++ /dev/null @@ -1,7 +0,0 @@ -/var/log/pushgateway/pushgateway.log { - missingok - size 5M - rotate 3 - compress - copytruncate -} diff --git a/app-metrics/pushgateway/files/pushgateway.service b/app-metrics/pushgateway/files/pushgateway.service deleted file mode 100644 index 3915fdb5b337..000000000000 --- a/app-metrics/pushgateway/files/pushgateway.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Prometheus exporter for ephemereal jobs -Documentation=https://prometheus.io/docs/instrumenting/pushing/ -After=network-online.target - -[Service] -User=pushgateway -Restart=on-failure -Environment=PUSHGATEWAY_ARGS="-web.listen-address localhost:9091 --persistence.file=/var/lib/pushgateway/persistence.gob" -ExecStart=/usr/bin/pushgateway $PUSHGATEWAY_ARGS -ExecReload=/bin/kill -HUP $MAINPID -TimeoutStopSec=20s -SendSIGKILL=no - -[Install] -WantedBy=multi-user.target diff --git a/app-metrics/pushgateway/metadata.xml b/app-metrics/pushgateway/metadata.xml deleted file mode 100644 index f233ac35e254..000000000000 --- a/app-metrics/pushgateway/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>zmedico@gentoo.org</email> - <name>Zac Medico</name> - </maintainer> - <maintainer type="person"> - <email>mrueg@gentoo.org</email> - <name>Manuel RĂ¼ger</name> - </maintainer> - <upstream> - <remote-id type="github">prometheus/pushgateway</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-metrics/pushgateway/pushgateway-0.4.0.ebuild b/app-metrics/pushgateway/pushgateway-0.4.0.ebuild deleted file mode 100644 index c701fc15d869..000000000000 --- a/app-metrics/pushgateway/pushgateway-0.4.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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.}" -pushgateway_COMMIT="6ceb4a1" -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-util/promu" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${pushgateway_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/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}.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/pushgateway/pushgateway-0.5.0.ebuild b/app-metrics/pushgateway/pushgateway-0.5.0.ebuild deleted file mode 100644 index 80fde6225b68..000000000000 --- a/app-metrics/pushgateway/pushgateway-0.5.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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="3965d2a" -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-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 - 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.5.2.ebuild b/app-metrics/pushgateway/pushgateway-0.5.2.ebuild deleted file mode 100644 index 48c3741c2232..000000000000 --- a/app-metrics/pushgateway/pushgateway-0.5.2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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="231071b" -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-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 - 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" -} |