* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-uwsgi_exporter/files/, profiles/updates/, ...
@ 2018-03-30 17:02 Manuel Rüger
0 siblings, 0 replies; only message in thread
From: Manuel Rüger @ 2018-03-30 17:02 UTC (permalink / raw
To: gentoo-commits
commit: b161af0782fba4250a93e74cd580bd0fc582c0bc
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 30 17:02:16 2018 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri Mar 30 17:02:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b161af07
app-metrics/uwsgi_exporter: Move package from net-analyzer/prometheus-uwsgi_exporter
app-metrics/uwsgi_exporter/Manifest | 1 +
.../uwsgi_exporter/files/uwsgi_exporter.confd | 0
.../uwsgi_exporter/files/uwsgi_exporter.initd | 0
app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated | 7 +++++++
.../uwsgi_exporter/files/uwsgi_exporter.service | 2 +-
.../uwsgi_exporter}/metadata.xml | 0
.../uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild | 4 ++--
net-analyzer/prometheus-uwsgi_exporter/Manifest | 1 -
.../files/prometheus-uwsgi_exporter.logrotated | 7 -------
profiles/updates/1Q-2018 | 1 +
10 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/app-metrics/uwsgi_exporter/Manifest b/app-metrics/uwsgi_exporter/Manifest
new file mode 100644
index 00000000000..b4a5124da24
--- /dev/null
+++ b/app-metrics/uwsgi_exporter/Manifest
@@ -0,0 +1 @@
+DIST uwsgi_exporter-0.7.0.tar.gz 3039893 BLAKE2B a6efdae7f9a19ad21a283b586b5667bd99456274ed419d1b64aaf4cdb4df1e1c4fb2a08edf6df2b15813d21311fe54c2f2394f0bf25ac11c49db8a924596da05 SHA512 380ef4515eaa81d4dee853682efa7a5e82af2ec00c096e7471028c9932d46e0a7406b75cb40f0f8efec15cd77b06c5477a07919d0b44720e3e194b5bb023b593
diff --git a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.confd
similarity index 100%
rename from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd
rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.confd
diff --git a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.initd
similarity index 100%
rename from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd
rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.initd
diff --git a/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated
new file mode 100644
index 00000000000..ea6820d6ca4
--- /dev/null
+++ b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated
@@ -0,0 +1,7 @@
+/var/log/uwsgi_exporter/uwsgi_exporter.log {
+ missingok
+ size 5M
+ rotate 3
+ compress
+ copytruncate
+}
diff --git a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
similarity index 93%
rename from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
index 39824c7efe7..229a1f397fe 100644
--- a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
+++ b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
@@ -4,7 +4,7 @@ Documentation=https://github.com/timonwong/uwsgi_exporter/
After=network-online.target
[Service]
-User=prometheus-uwsgi_exporter
+User=uwsgi_exporter
Restart=on-failure
Environment=UWSGI_EXPORTER_ARGS="--web.listen-address=:9117 --stats.uri=http://localhost:1717"
ExecStart=/usr/bin/uwsgi_exporter $UWSGI_EXPORTER_ARGS
diff --git a/net-analyzer/prometheus-uwsgi_exporter/metadata.xml b/app-metrics/uwsgi_exporter/metadata.xml
similarity index 100%
rename from net-analyzer/prometheus-uwsgi_exporter/metadata.xml
rename to app-metrics/uwsgi_exporter/metadata.xml
diff --git a/net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild
similarity index 92%
rename from net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild
rename to app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild
index 26946cce453..7c5dd6280d8 100644
--- a/net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild
+++ b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild
@@ -32,13 +32,13 @@ src_prepare() {
src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
- GOPATH="${S}" promu build -v --prefix uwsgi_exporter || die
+ GOPATH="${S}" promu build -v --prefix bin || die
popd || die
}
src_install() {
pushd src/${EGO_PN} || die
- dobin uwsgi_exporter/uwsgi_exporter
+ dobin bin/uwsgi_exporter
dodoc README.md
popd || die
local dir
diff --git a/net-analyzer/prometheus-uwsgi_exporter/Manifest b/net-analyzer/prometheus-uwsgi_exporter/Manifest
deleted file mode 100644
index 63942cda2bb..00000000000
--- a/net-analyzer/prometheus-uwsgi_exporter/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST prometheus-uwsgi_exporter-0.7.0.tar.gz 3039893 BLAKE2B a6efdae7f9a19ad21a283b586b5667bd99456274ed419d1b64aaf4cdb4df1e1c4fb2a08edf6df2b15813d21311fe54c2f2394f0bf25ac11c49db8a924596da05 SHA512 380ef4515eaa81d4dee853682efa7a5e82af2ec00c096e7471028c9932d46e0a7406b75cb40f0f8efec15cd77b06c5477a07919d0b44720e3e194b5bb023b593
diff --git a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated
deleted file mode 100644
index 8703cb2be38..00000000000
--- a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter.log {
- missingok
- size 5M
- rotate 3
- compress
- copytruncate
-}
diff --git a/profiles/updates/1Q-2018 b/profiles/updates/1Q-2018
index 6e3ec513203..bbb63fd0dc4 100644
--- a/profiles/updates/1Q-2018
+++ b/profiles/updates/1Q-2018
@@ -19,3 +19,4 @@ move net-analyzer/prometheus-node_exporter app-metrics/node_exporter
move net-analyzer/prometheus-blackbox_exporter app-metrics/blackbox_exporter
move net-analyzer/prometheus-snmp_exporter app-metrics/snmp_exporter
move net-analyzer/prometheus-redis_exporter app-metrics/redis_exporter
+move net-analyzer/prometheus-uwsgi_exporter app-metrics/uwsgi_exporter
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-30 17:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-30 17:02 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-uwsgi_exporter/files/, profiles/updates/, Manuel Rüger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox