Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-uwsgi_exporter/files/, profiles/updates/, ...
Date: Fri, 30 Mar 2018 17:02:39
Message-Id: 1522429336.b161af0782fba4250a93e74cd580bd0fc582c0bc.mrueg@gentoo
1 commit: b161af0782fba4250a93e74cd580bd0fc582c0bc
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 30 17:02:16 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 30 17:02:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b161af07
7
8 app-metrics/uwsgi_exporter: Move package from net-analyzer/prometheus-uwsgi_exporter
9
10 app-metrics/uwsgi_exporter/Manifest | 1 +
11 .../uwsgi_exporter/files/uwsgi_exporter.confd | 0
12 .../uwsgi_exporter/files/uwsgi_exporter.initd | 0
13 app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated | 7 +++++++
14 .../uwsgi_exporter/files/uwsgi_exporter.service | 2 +-
15 .../uwsgi_exporter}/metadata.xml | 0
16 .../uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild | 4 ++--
17 net-analyzer/prometheus-uwsgi_exporter/Manifest | 1 -
18 .../files/prometheus-uwsgi_exporter.logrotated | 7 -------
19 profiles/updates/1Q-2018 | 1 +
20 10 files changed, 12 insertions(+), 11 deletions(-)
21
22 diff --git a/app-metrics/uwsgi_exporter/Manifest b/app-metrics/uwsgi_exporter/Manifest
23 new file mode 100644
24 index 00000000000..b4a5124da24
25 --- /dev/null
26 +++ b/app-metrics/uwsgi_exporter/Manifest
27 @@ -0,0 +1 @@
28 +DIST uwsgi_exporter-0.7.0.tar.gz 3039893 BLAKE2B a6efdae7f9a19ad21a283b586b5667bd99456274ed419d1b64aaf4cdb4df1e1c4fb2a08edf6df2b15813d21311fe54c2f2394f0bf25ac11c49db8a924596da05 SHA512 380ef4515eaa81d4dee853682efa7a5e82af2ec00c096e7471028c9932d46e0a7406b75cb40f0f8efec15cd77b06c5477a07919d0b44720e3e194b5bb023b593
29
30 diff --git a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.confd
31 similarity index 100%
32 rename from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd
33 rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.confd
34
35 diff --git a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.initd
36 similarity index 100%
37 rename from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd
38 rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.initd
39
40 diff --git a/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated
41 new file mode 100644
42 index 00000000000..ea6820d6ca4
43 --- /dev/null
44 +++ b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated
45 @@ -0,0 +1,7 @@
46 +/var/log/uwsgi_exporter/uwsgi_exporter.log {
47 + missingok
48 + size 5M
49 + rotate 3
50 + compress
51 + copytruncate
52 +}
53
54 diff --git a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
55 similarity index 93%
56 rename from net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
57 rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
58 index 39824c7efe7..229a1f397fe 100644
59 --- a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
60 +++ b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
61 @@ -4,7 +4,7 @@ Documentation=https://github.com/timonwong/uwsgi_exporter/
62 After=network-online.target
63
64 [Service]
65 -User=prometheus-uwsgi_exporter
66 +User=uwsgi_exporter
67 Restart=on-failure
68 Environment=UWSGI_EXPORTER_ARGS="--web.listen-address=:9117 --stats.uri=http://localhost:1717"
69 ExecStart=/usr/bin/uwsgi_exporter $UWSGI_EXPORTER_ARGS
70
71 diff --git a/net-analyzer/prometheus-uwsgi_exporter/metadata.xml b/app-metrics/uwsgi_exporter/metadata.xml
72 similarity index 100%
73 rename from net-analyzer/prometheus-uwsgi_exporter/metadata.xml
74 rename to app-metrics/uwsgi_exporter/metadata.xml
75
76 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
77 similarity index 92%
78 rename from net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild
79 rename to app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild
80 index 26946cce453..7c5dd6280d8 100644
81 --- a/net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild
82 +++ b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild
83 @@ -32,13 +32,13 @@ src_prepare() {
84 src_compile() {
85 pushd src/${EGO_PN} || die
86 mkdir -p bin || die
87 - GOPATH="${S}" promu build -v --prefix uwsgi_exporter || die
88 + GOPATH="${S}" promu build -v --prefix bin || die
89 popd || die
90 }
91
92 src_install() {
93 pushd src/${EGO_PN} || die
94 - dobin uwsgi_exporter/uwsgi_exporter
95 + dobin bin/uwsgi_exporter
96 dodoc README.md
97 popd || die
98 local dir
99
100 diff --git a/net-analyzer/prometheus-uwsgi_exporter/Manifest b/net-analyzer/prometheus-uwsgi_exporter/Manifest
101 deleted file mode 100644
102 index 63942cda2bb..00000000000
103 --- a/net-analyzer/prometheus-uwsgi_exporter/Manifest
104 +++ /dev/null
105 @@ -1 +0,0 @@
106 -DIST prometheus-uwsgi_exporter-0.7.0.tar.gz 3039893 BLAKE2B a6efdae7f9a19ad21a283b586b5667bd99456274ed419d1b64aaf4cdb4df1e1c4fb2a08edf6df2b15813d21311fe54c2f2394f0bf25ac11c49db8a924596da05 SHA512 380ef4515eaa81d4dee853682efa7a5e82af2ec00c096e7471028c9932d46e0a7406b75cb40f0f8efec15cd77b06c5477a07919d0b44720e3e194b5bb023b593
107
108 diff --git a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated
109 deleted file mode 100644
110 index 8703cb2be38..00000000000
111 --- a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated
112 +++ /dev/null
113 @@ -1,7 +0,0 @@
114 -/var/log/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter.log {
115 - missingok
116 - size 5M
117 - rotate 3
118 - compress
119 - copytruncate
120 -}
121
122 diff --git a/profiles/updates/1Q-2018 b/profiles/updates/1Q-2018
123 index 6e3ec513203..bbb63fd0dc4 100644
124 --- a/profiles/updates/1Q-2018
125 +++ b/profiles/updates/1Q-2018
126 @@ -19,3 +19,4 @@ move net-analyzer/prometheus-node_exporter app-metrics/node_exporter
127 move net-analyzer/prometheus-blackbox_exporter app-metrics/blackbox_exporter
128 move net-analyzer/prometheus-snmp_exporter app-metrics/snmp_exporter
129 move net-analyzer/prometheus-redis_exporter app-metrics/redis_exporter
130 +move net-analyzer/prometheus-uwsgi_exporter app-metrics/uwsgi_exporter