1 |
commit: d3c1e37c33fe7e3bbb61a2725ca321b049eeb9fc |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 20 14:24:00 2020 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 20 14:25:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c1e37c |
7 |
|
8 |
net-analyzer/netdata: Cleanup old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/netdata/netdata-1.22.0.ebuild | 140 ----------------------------- |
14 |
net-analyzer/netdata/netdata-1.22.1.ebuild | 140 ----------------------------- |
15 |
2 files changed, 280 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/netdata/netdata-1.22.0.ebuild b/net-analyzer/netdata/netdata-1.22.0.ebuild |
18 |
deleted file mode 100644 |
19 |
index 2682b937ff4..00000000000 |
20 |
--- a/net-analyzer/netdata/netdata-1.22.0.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,140 +0,0 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
-PYTHON_COMPAT=( python{3_6,3_7,3_8} ) |
28 |
- |
29 |
-inherit autotools fcaps linux-info python-single-r1 systemd |
30 |
- |
31 |
-if [[ ${PV} == *9999 ]] ; then |
32 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
33 |
- inherit git-r3 |
34 |
-else |
35 |
- SRC_URI="https://github.com/netdata/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
- KEYWORDS="~amd64 ~x86" |
37 |
-fi |
38 |
- |
39 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
40 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
41 |
- |
42 |
-LICENSE="GPL-3+ MIT BSD" |
43 |
-SLOT="0" |
44 |
-IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
45 |
-REQUIRED_USE=" |
46 |
- mysql? ( python ) |
47 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
48 |
- tor? ( python )" |
49 |
- |
50 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
51 |
-RDEPEND=" |
52 |
- acct-group/netdata |
53 |
- acct-user/netdata |
54 |
- app-misc/jq |
55 |
- >=app-shells/bash-4:0 |
56 |
- || ( |
57 |
- net-analyzer/openbsd-netcat |
58 |
- net-analyzer/netcat |
59 |
- ) |
60 |
- net-misc/curl |
61 |
- net-misc/wget |
62 |
- sys-apps/util-linux |
63 |
- virtual/awk |
64 |
- caps? ( sys-libs/libcap ) |
65 |
- cups? ( net-print/cups ) |
66 |
- dbengine? ( |
67 |
- app-arch/lz4 |
68 |
- dev-libs/judy |
69 |
- dev-libs/openssl:= |
70 |
- ) |
71 |
- dev-libs/libuv |
72 |
- compression? ( sys-libs/zlib ) |
73 |
- ipmi? ( sys-libs/freeipmi ) |
74 |
- jsonc? ( dev-libs/json-c ) |
75 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
76 |
- mongodb? ( dev-libs/mongo-c-driver ) |
77 |
- nfacct? ( |
78 |
- net-firewall/nfacct |
79 |
- net-libs/libmnl |
80 |
- ) |
81 |
- nodejs? ( net-libs/nodejs ) |
82 |
- prometheus? ( |
83 |
- dev-libs/protobuf:= |
84 |
- app-arch/snappy |
85 |
- ) |
86 |
- python? ( |
87 |
- ${PYTHON_DEPS} |
88 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_MULTI_USEDEP}]') |
89 |
- mysql? ( |
90 |
- || ( |
91 |
- $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_MULTI_USEDEP}]') |
92 |
- $(python_gen_cond_dep 'dev-python/mysql-python[${PYTHON_MULTI_USEDEP}]') |
93 |
- ) |
94 |
- ) |
95 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_MULTI_USEDEP}]') ) |
96 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_MULTI_USEDEP}]') ) |
97 |
- ) |
98 |
- xen? ( |
99 |
- app-emulation/xen-tools |
100 |
- dev-libs/yajl |
101 |
- )" |
102 |
-DEPEND="${RDEPEND} |
103 |
- virtual/pkgconfig" |
104 |
- |
105 |
-FILECAPS=( |
106 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
107 |
-) |
108 |
- |
109 |
-pkg_setup() { |
110 |
- use python && python-single-r1_pkg_setup |
111 |
- linux-info_pkg_setup |
112 |
-} |
113 |
- |
114 |
-src_prepare() { |
115 |
- default |
116 |
- eautoreconf |
117 |
-} |
118 |
- |
119 |
-src_configure() { |
120 |
- econf \ |
121 |
- --localstatedir="${EPREFIX}"/var \ |
122 |
- --with-user=netdata \ |
123 |
- --disable-cloud \ # https://github.com/netdata/netdata/issues/8961 |
124 |
- $(use_enable jsonc) \ |
125 |
- $(use_enable cups plugin-cups) \ |
126 |
- $(use_enable dbengine) \ |
127 |
- $(use_enable nfacct plugin-nfacct) \ |
128 |
- $(use_enable ipmi plugin-freeipmi) \ |
129 |
- $(use_enable kinesis backend-kinesis) \ |
130 |
- $(use_enable mongodb backend-mongodb) \ |
131 |
- $(use_enable prometheus backend-prometheus-remote-write) \ |
132 |
- $(use_enable xen plugin-xenstat) \ |
133 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
134 |
- $(use_with compression zlib) |
135 |
-} |
136 |
- |
137 |
-src_install() { |
138 |
- default |
139 |
- |
140 |
- rm -rf "${D}/var/cache" || die |
141 |
- |
142 |
- keepdir /var/log/netdata |
143 |
- fowners -Rc netdata:netdata /var/log/netdata |
144 |
- keepdir /var/lib/netdata |
145 |
- keepdir /var/lib/netdata/registry |
146 |
- fowners -Rc netdata:netdata /var/lib/netdata |
147 |
- |
148 |
- fowners -Rc root:netdata /usr/share/${PN} |
149 |
- |
150 |
- newinitd system/netdata-openrc ${PN} |
151 |
- systemd_dounit system/netdata.service |
152 |
- insinto /etc/netdata |
153 |
- doins system/netdata.conf |
154 |
-} |
155 |
- |
156 |
-pkg_postinst() { |
157 |
- fcaps_pkg_postinst |
158 |
- |
159 |
- if use xen ; then |
160 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
161 |
- fi |
162 |
-} |
163 |
|
164 |
diff --git a/net-analyzer/netdata/netdata-1.22.1.ebuild b/net-analyzer/netdata/netdata-1.22.1.ebuild |
165 |
deleted file mode 100644 |
166 |
index 2682b937ff4..00000000000 |
167 |
--- a/net-analyzer/netdata/netdata-1.22.1.ebuild |
168 |
+++ /dev/null |
169 |
@@ -1,140 +0,0 @@ |
170 |
-# Copyright 1999-2020 Gentoo Authors |
171 |
-# Distributed under the terms of the GNU General Public License v2 |
172 |
- |
173 |
-EAPI=7 |
174 |
-PYTHON_COMPAT=( python{3_6,3_7,3_8} ) |
175 |
- |
176 |
-inherit autotools fcaps linux-info python-single-r1 systemd |
177 |
- |
178 |
-if [[ ${PV} == *9999 ]] ; then |
179 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
180 |
- inherit git-r3 |
181 |
-else |
182 |
- SRC_URI="https://github.com/netdata/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
183 |
- KEYWORDS="~amd64 ~x86" |
184 |
-fi |
185 |
- |
186 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
187 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
188 |
- |
189 |
-LICENSE="GPL-3+ MIT BSD" |
190 |
-SLOT="0" |
191 |
-IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
192 |
-REQUIRED_USE=" |
193 |
- mysql? ( python ) |
194 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
195 |
- tor? ( python )" |
196 |
- |
197 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
198 |
-RDEPEND=" |
199 |
- acct-group/netdata |
200 |
- acct-user/netdata |
201 |
- app-misc/jq |
202 |
- >=app-shells/bash-4:0 |
203 |
- || ( |
204 |
- net-analyzer/openbsd-netcat |
205 |
- net-analyzer/netcat |
206 |
- ) |
207 |
- net-misc/curl |
208 |
- net-misc/wget |
209 |
- sys-apps/util-linux |
210 |
- virtual/awk |
211 |
- caps? ( sys-libs/libcap ) |
212 |
- cups? ( net-print/cups ) |
213 |
- dbengine? ( |
214 |
- app-arch/lz4 |
215 |
- dev-libs/judy |
216 |
- dev-libs/openssl:= |
217 |
- ) |
218 |
- dev-libs/libuv |
219 |
- compression? ( sys-libs/zlib ) |
220 |
- ipmi? ( sys-libs/freeipmi ) |
221 |
- jsonc? ( dev-libs/json-c ) |
222 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
223 |
- mongodb? ( dev-libs/mongo-c-driver ) |
224 |
- nfacct? ( |
225 |
- net-firewall/nfacct |
226 |
- net-libs/libmnl |
227 |
- ) |
228 |
- nodejs? ( net-libs/nodejs ) |
229 |
- prometheus? ( |
230 |
- dev-libs/protobuf:= |
231 |
- app-arch/snappy |
232 |
- ) |
233 |
- python? ( |
234 |
- ${PYTHON_DEPS} |
235 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_MULTI_USEDEP}]') |
236 |
- mysql? ( |
237 |
- || ( |
238 |
- $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_MULTI_USEDEP}]') |
239 |
- $(python_gen_cond_dep 'dev-python/mysql-python[${PYTHON_MULTI_USEDEP}]') |
240 |
- ) |
241 |
- ) |
242 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_MULTI_USEDEP}]') ) |
243 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_MULTI_USEDEP}]') ) |
244 |
- ) |
245 |
- xen? ( |
246 |
- app-emulation/xen-tools |
247 |
- dev-libs/yajl |
248 |
- )" |
249 |
-DEPEND="${RDEPEND} |
250 |
- virtual/pkgconfig" |
251 |
- |
252 |
-FILECAPS=( |
253 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
254 |
-) |
255 |
- |
256 |
-pkg_setup() { |
257 |
- use python && python-single-r1_pkg_setup |
258 |
- linux-info_pkg_setup |
259 |
-} |
260 |
- |
261 |
-src_prepare() { |
262 |
- default |
263 |
- eautoreconf |
264 |
-} |
265 |
- |
266 |
-src_configure() { |
267 |
- econf \ |
268 |
- --localstatedir="${EPREFIX}"/var \ |
269 |
- --with-user=netdata \ |
270 |
- --disable-cloud \ # https://github.com/netdata/netdata/issues/8961 |
271 |
- $(use_enable jsonc) \ |
272 |
- $(use_enable cups plugin-cups) \ |
273 |
- $(use_enable dbengine) \ |
274 |
- $(use_enable nfacct plugin-nfacct) \ |
275 |
- $(use_enable ipmi plugin-freeipmi) \ |
276 |
- $(use_enable kinesis backend-kinesis) \ |
277 |
- $(use_enable mongodb backend-mongodb) \ |
278 |
- $(use_enable prometheus backend-prometheus-remote-write) \ |
279 |
- $(use_enable xen plugin-xenstat) \ |
280 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
281 |
- $(use_with compression zlib) |
282 |
-} |
283 |
- |
284 |
-src_install() { |
285 |
- default |
286 |
- |
287 |
- rm -rf "${D}/var/cache" || die |
288 |
- |
289 |
- keepdir /var/log/netdata |
290 |
- fowners -Rc netdata:netdata /var/log/netdata |
291 |
- keepdir /var/lib/netdata |
292 |
- keepdir /var/lib/netdata/registry |
293 |
- fowners -Rc netdata:netdata /var/lib/netdata |
294 |
- |
295 |
- fowners -Rc root:netdata /usr/share/${PN} |
296 |
- |
297 |
- newinitd system/netdata-openrc ${PN} |
298 |
- systemd_dounit system/netdata.service |
299 |
- insinto /etc/netdata |
300 |
- doins system/netdata.conf |
301 |
-} |
302 |
- |
303 |
-pkg_postinst() { |
304 |
- fcaps_pkg_postinst |
305 |
- |
306 |
- if use xen ; then |
307 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
308 |
- fi |
309 |
-} |