app-metrics/uwsgi_exporter: Move package from net-analyzer/prometheus-uwsgi_exporter
authorManuel Rüger <mrueg@gentoo.org>
Fri, 30 Mar 2018 17:02:16 +0000 (19:02 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Fri, 30 Mar 2018 17:02:16 +0000 (19:02 +0200)
app-metrics/uwsgi_exporter/Manifest [new file with mode: 0644]
app-metrics/uwsgi_exporter/files/uwsgi_exporter.confd [moved from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd with 100% similarity]
app-metrics/uwsgi_exporter/files/uwsgi_exporter.initd [moved from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd with 100% similarity]
app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated [new file with mode: 0644]
app-metrics/uwsgi_exporter/files/uwsgi_exporter.service [moved from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service with 93% similarity]
app-metrics/uwsgi_exporter/metadata.xml [moved from net-analyzer/prometheus-uwsgi_exporter/metadata.xml with 100% similarity]
app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild [moved from net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild with 92% similarity]
net-analyzer/prometheus-uwsgi_exporter/Manifest [deleted file]
net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated [deleted file]
profiles/updates/1Q-2018

diff --git a/app-metrics/uwsgi_exporter/Manifest b/app-metrics/uwsgi_exporter/Manifest
new file mode 100644 (file)
index 0000000..b4a5124
--- /dev/null
@@ -0,0 +1 @@
+DIST uwsgi_exporter-0.7.0.tar.gz 3039893 BLAKE2B a6efdae7f9a19ad21a283b586b5667bd99456274ed419d1b64aaf4cdb4df1e1c4fb2a08edf6df2b15813d21311fe54c2f2394f0bf25ac11c49db8a924596da05 SHA512 380ef4515eaa81d4dee853682efa7a5e82af2ec00c096e7471028c9932d46e0a7406b75cb40f0f8efec15cd77b06c5477a07919d0b44720e3e194b5bb023b593
diff --git a/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated
new file mode 100644 (file)
index 0000000..ea6820d
--- /dev/null
@@ -0,0 +1,7 @@
+/var/log/uwsgi_exporter/uwsgi_exporter.log {
+       missingok
+       size 5M
+       rotate 3
+       compress
+       copytruncate
+}
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 39824c7efe7efc2aea8e93752ed9a25645063839..229a1f397fe59911c2cb801d5740145b9a8f17d0 100644 (file)
@@ -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
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 26946cce453cb7898a3a9aab25dc4bb695542ea5..7c5dd6280d85f0f5d738ef01757379ab5a31b7f4 100644 (file)
@@ -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 (file)
index 63942cd..0000000
+++ /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 (file)
index 8703cb2..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter.log {
-       missingok
-       size 5M
-       rotate 3
-       compress
-       copytruncate
-}
index 6e3ec5132035a87197053bdccf144c2c99066248..bbb63fd0dc44838f5f7c47360587bed27abf130f 100644 (file)
@@ -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