1 |
commit: 74ca7bafd2e05cfa5f2d8b6beb6b430cb2dcd817 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 27 14:07:50 2023 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 14:24:40 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ca7baf |
7 |
|
8 |
net-analyzer/netdata: drop 1.35.1, 1.36.0, 1.36.1-r1, 1.37.0, 1.37.1 |
9 |
|
10 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
11 |
|
12 |
net-analyzer/netdata/Manifest | 5 - |
13 |
net-analyzer/netdata/netdata-1.35.1.ebuild | 158 -------------------------- |
14 |
net-analyzer/netdata/netdata-1.36.0.ebuild | 158 -------------------------- |
15 |
net-analyzer/netdata/netdata-1.36.1-r1.ebuild | 158 -------------------------- |
16 |
net-analyzer/netdata/netdata-1.37.0.ebuild | 158 -------------------------- |
17 |
net-analyzer/netdata/netdata-1.37.1.ebuild | 158 -------------------------- |
18 |
6 files changed, 795 deletions(-) |
19 |
|
20 |
diff --git a/net-analyzer/netdata/Manifest b/net-analyzer/netdata/Manifest |
21 |
index 4f2ebb055b5c..be4a6104cdd4 100644 |
22 |
--- a/net-analyzer/netdata/Manifest |
23 |
+++ b/net-analyzer/netdata/Manifest |
24 |
@@ -1,6 +1 @@ |
25 |
-DIST netdata-1.35.1.tar.gz 22335562 BLAKE2B a715f26f1318f01ce45266bbc78ada5ec2e3516f7ff2a6fda77829433398986bc564b377362097ea7c2595ac01911a817be124c9f0ba560dd00ae5001a080da7 SHA512 43cbf099841fe2547b7de56610f811e55fdf2e9af3dc18fde818e09de1125a7f8d57f6a16f2dee8ea4b9e6f2683959549810a1ea7f8f7b5007eb7069bfddb477 |
26 |
-DIST netdata-1.36.0.tar.gz 24794657 BLAKE2B f3230f5c279a5a203f9245a1d74f254961cafe060d285fcd63f968c5f33cd2c4393288c44262eb12665c6471d757d65a9a2406c7d80997736ada6189ba1c8450 SHA512 1748c5f6ea392b6cfc6b761632bc632422fb6910f53fb26a796003cdc0048f28ab550daa0658a6d5de5fec65b0a5aae8f44f68ec65c19f06b11eda6fd337c8d4 |
27 |
-DIST netdata-1.36.1.tar.gz 24795841 BLAKE2B e58ca0a4ffb48169833a412ca234e6d1771f5bc179010bd4ee5f597768e63c147e1d0dfd65f52579901ad42760a98de74be9417d6cf6b3a150683551399927ab SHA512 2ff01c816dbdd975450a7cebd292d9a1c6bf1822aa6efb56b846a90e5a01d1faac898e1a87b155fd6fa20f26d098e1d80042b12c0ff22b05260e14f3f552546d |
28 |
-DIST netdata-1.37.0.tar.gz 25151327 BLAKE2B 7e83df21e50d721d7e8a226fbc4470972393ab086fa575298b36f5699dfa4fffa406ce8a532661b1adfb7b5755e69c227f85f7c36e96f3cc585004082c25eda2 SHA512 7234d8b414df6674e612718085f446b1321833772d2d28e01da13f1d296b772e5dc73bf39495ab9a8db7f3118f3053000c16d6b17fe2a28e8340cef0d208d4bf |
29 |
-DIST netdata-1.37.1.tar.gz 25160143 BLAKE2B 9efd0edeb6d2d76338c98c794c4e81a00a951e40e9fe4682030f04c28b1a9895bac0c06a695b055ce94cbf1fb55c516364daec026759134a590e645a2c380ca6 SHA512 fa60f11b79c89fb8b1d825c7d395b294f291e6b72acb1c9b47212c145ca2e6c28b9370ebdbb1c8666884e2b714e2fd8ba498ffc6b428361b93471e4d555cdfa7 |
30 |
DIST netdata-1.38.0.tar.gz 25433888 BLAKE2B 06c311a43658767ca3948dd68c64a4ad42d25b392d4146ff04946f3301afad73731329d43806bc93311f3450a0f4d1357de97565c01abbc5324f25abe5c27823 SHA512 228d08639162ea158c583350139cd2d5513c72cc29abf94e87af9f21e89516a47994c78c4cea15866089e29617e9e2d73103d34613e0eec0e81beb9aa23fc0cd |
31 |
|
32 |
diff --git a/net-analyzer/netdata/netdata-1.35.1.ebuild b/net-analyzer/netdata/netdata-1.35.1.ebuild |
33 |
deleted file mode 100644 |
34 |
index 43f41d50852d..000000000000 |
35 |
--- a/net-analyzer/netdata/netdata-1.35.1.ebuild |
36 |
+++ /dev/null |
37 |
@@ -1,158 +0,0 @@ |
38 |
-# Copyright 1999-2023 Gentoo Authors |
39 |
-# Distributed under the terms of the GNU General Public License v2 |
40 |
- |
41 |
-EAPI=8 |
42 |
-PYTHON_COMPAT=( python{3_9,3_10} ) |
43 |
- |
44 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
45 |
- |
46 |
-if [[ ${PV} == *9999 ]] ; then |
47 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
48 |
- inherit git-r3 |
49 |
-else |
50 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
- S="${WORKDIR}/${PN}-v${PV}" |
52 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
53 |
-fi |
54 |
- |
55 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
56 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
57 |
- |
58 |
-LICENSE="GPL-3+ MIT BSD" |
59 |
-SLOT="0" |
60 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
61 |
-REQUIRED_USE=" |
62 |
- mysql? ( python ) |
63 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
64 |
- tor? ( python )" |
65 |
- |
66 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
67 |
-RDEPEND=" |
68 |
- acct-group/netdata |
69 |
- acct-user/netdata |
70 |
- app-misc/jq |
71 |
- >=app-shells/bash-4:0 |
72 |
- || ( |
73 |
- net-analyzer/openbsd-netcat |
74 |
- net-analyzer/netcat |
75 |
- ) |
76 |
- net-libs/libwebsockets |
77 |
- net-misc/curl |
78 |
- net-misc/wget |
79 |
- sys-apps/util-linux |
80 |
- app-alternatives/awk |
81 |
- caps? ( sys-libs/libcap ) |
82 |
- cups? ( net-print/cups ) |
83 |
- dbengine? ( |
84 |
- app-arch/lz4 |
85 |
- dev-libs/judy |
86 |
- dev-libs/openssl:= |
87 |
- ) |
88 |
- dev-libs/libuv |
89 |
- cloud? ( dev-libs/protobuf:= ) |
90 |
- compression? ( sys-libs/zlib ) |
91 |
- ipmi? ( sys-libs/freeipmi ) |
92 |
- jsonc? ( dev-libs/json-c:= ) |
93 |
- mongodb? ( dev-libs/mongo-c-driver ) |
94 |
- nfacct? ( |
95 |
- net-firewall/nfacct |
96 |
- net-libs/libmnl |
97 |
- ) |
98 |
- nodejs? ( net-libs/nodejs ) |
99 |
- prometheus? ( |
100 |
- dev-libs/protobuf:= |
101 |
- app-arch/snappy |
102 |
- ) |
103 |
- python? ( |
104 |
- ${PYTHON_DEPS} |
105 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
106 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
107 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
108 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
109 |
- ) |
110 |
- xen? ( |
111 |
- app-emulation/xen-tools |
112 |
- dev-libs/yajl |
113 |
- )" |
114 |
-DEPEND="${RDEPEND} |
115 |
- virtual/pkgconfig" |
116 |
- |
117 |
-FILECAPS=( |
118 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
119 |
-) |
120 |
- |
121 |
-pkg_setup() { |
122 |
- use python && python-single-r1_pkg_setup |
123 |
- linux-info_pkg_setup |
124 |
-} |
125 |
- |
126 |
-src_prepare() { |
127 |
- default |
128 |
- eautoreconf |
129 |
-} |
130 |
- |
131 |
-src_configure() { |
132 |
- if use ppc64; then |
133 |
- # bundled dlib does not support vsx on big-endian |
134 |
- # https://github.com/davisking/dlib/issues/397 |
135 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
136 |
- fi |
137 |
- |
138 |
- econf \ |
139 |
- --localstatedir="${EPREFIX}"/var \ |
140 |
- --with-user=netdata \ |
141 |
- --without-bundled-protobuf \ |
142 |
- $(use_enable cloud) \ |
143 |
- $(use_enable jsonc) \ |
144 |
- $(use_enable cups plugin-cups) \ |
145 |
- $(use_enable dbengine) \ |
146 |
- $(use_enable nfacct plugin-nfacct) \ |
147 |
- $(use_enable ipmi plugin-freeipmi) \ |
148 |
- --disable-exporting-kinesis \ |
149 |
- $(use_enable lto lto) \ |
150 |
- $(use_enable mongodb exporting-mongodb) \ |
151 |
- $(use_enable prometheus exporting-prometheus-remote-write) \ |
152 |
- $(use_enable xen plugin-xenstat) \ |
153 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
154 |
- $(use_with compression zlib) |
155 |
-} |
156 |
- |
157 |
-src_compile() { |
158 |
- emake clean |
159 |
- default |
160 |
-} |
161 |
- |
162 |
-src_install() { |
163 |
- default |
164 |
- |
165 |
- rm -rf "${D}/var/cache" || die |
166 |
- |
167 |
- keepdir /var/log/netdata |
168 |
- fowners -Rc netdata:netdata /var/log/netdata |
169 |
- keepdir /var/lib/netdata |
170 |
- keepdir /var/lib/netdata/registry |
171 |
- fowners -Rc netdata:netdata /var/lib/netdata |
172 |
- |
173 |
- fowners -Rc root:netdata /usr/share/${PN} |
174 |
- |
175 |
- newinitd system/netdata-openrc ${PN} |
176 |
- systemd_dounit system/netdata.service |
177 |
- insinto /etc/netdata |
178 |
- doins system/netdata.conf |
179 |
-} |
180 |
- |
181 |
-pkg_postinst() { |
182 |
- fcaps_pkg_postinst |
183 |
- |
184 |
- if use nfacct ; then |
185 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
186 |
- fi |
187 |
- |
188 |
- if use xen ; then |
189 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
190 |
- fi |
191 |
- |
192 |
- if use ipmi ; then |
193 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
194 |
- fi |
195 |
-} |
196 |
|
197 |
diff --git a/net-analyzer/netdata/netdata-1.36.0.ebuild b/net-analyzer/netdata/netdata-1.36.0.ebuild |
198 |
deleted file mode 100644 |
199 |
index 43f41d50852d..000000000000 |
200 |
--- a/net-analyzer/netdata/netdata-1.36.0.ebuild |
201 |
+++ /dev/null |
202 |
@@ -1,158 +0,0 @@ |
203 |
-# Copyright 1999-2023 Gentoo Authors |
204 |
-# Distributed under the terms of the GNU General Public License v2 |
205 |
- |
206 |
-EAPI=8 |
207 |
-PYTHON_COMPAT=( python{3_9,3_10} ) |
208 |
- |
209 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
210 |
- |
211 |
-if [[ ${PV} == *9999 ]] ; then |
212 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
213 |
- inherit git-r3 |
214 |
-else |
215 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
216 |
- S="${WORKDIR}/${PN}-v${PV}" |
217 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
218 |
-fi |
219 |
- |
220 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
221 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
222 |
- |
223 |
-LICENSE="GPL-3+ MIT BSD" |
224 |
-SLOT="0" |
225 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
226 |
-REQUIRED_USE=" |
227 |
- mysql? ( python ) |
228 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
229 |
- tor? ( python )" |
230 |
- |
231 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
232 |
-RDEPEND=" |
233 |
- acct-group/netdata |
234 |
- acct-user/netdata |
235 |
- app-misc/jq |
236 |
- >=app-shells/bash-4:0 |
237 |
- || ( |
238 |
- net-analyzer/openbsd-netcat |
239 |
- net-analyzer/netcat |
240 |
- ) |
241 |
- net-libs/libwebsockets |
242 |
- net-misc/curl |
243 |
- net-misc/wget |
244 |
- sys-apps/util-linux |
245 |
- app-alternatives/awk |
246 |
- caps? ( sys-libs/libcap ) |
247 |
- cups? ( net-print/cups ) |
248 |
- dbengine? ( |
249 |
- app-arch/lz4 |
250 |
- dev-libs/judy |
251 |
- dev-libs/openssl:= |
252 |
- ) |
253 |
- dev-libs/libuv |
254 |
- cloud? ( dev-libs/protobuf:= ) |
255 |
- compression? ( sys-libs/zlib ) |
256 |
- ipmi? ( sys-libs/freeipmi ) |
257 |
- jsonc? ( dev-libs/json-c:= ) |
258 |
- mongodb? ( dev-libs/mongo-c-driver ) |
259 |
- nfacct? ( |
260 |
- net-firewall/nfacct |
261 |
- net-libs/libmnl |
262 |
- ) |
263 |
- nodejs? ( net-libs/nodejs ) |
264 |
- prometheus? ( |
265 |
- dev-libs/protobuf:= |
266 |
- app-arch/snappy |
267 |
- ) |
268 |
- python? ( |
269 |
- ${PYTHON_DEPS} |
270 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
271 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
272 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
273 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
274 |
- ) |
275 |
- xen? ( |
276 |
- app-emulation/xen-tools |
277 |
- dev-libs/yajl |
278 |
- )" |
279 |
-DEPEND="${RDEPEND} |
280 |
- virtual/pkgconfig" |
281 |
- |
282 |
-FILECAPS=( |
283 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
284 |
-) |
285 |
- |
286 |
-pkg_setup() { |
287 |
- use python && python-single-r1_pkg_setup |
288 |
- linux-info_pkg_setup |
289 |
-} |
290 |
- |
291 |
-src_prepare() { |
292 |
- default |
293 |
- eautoreconf |
294 |
-} |
295 |
- |
296 |
-src_configure() { |
297 |
- if use ppc64; then |
298 |
- # bundled dlib does not support vsx on big-endian |
299 |
- # https://github.com/davisking/dlib/issues/397 |
300 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
301 |
- fi |
302 |
- |
303 |
- econf \ |
304 |
- --localstatedir="${EPREFIX}"/var \ |
305 |
- --with-user=netdata \ |
306 |
- --without-bundled-protobuf \ |
307 |
- $(use_enable cloud) \ |
308 |
- $(use_enable jsonc) \ |
309 |
- $(use_enable cups plugin-cups) \ |
310 |
- $(use_enable dbengine) \ |
311 |
- $(use_enable nfacct plugin-nfacct) \ |
312 |
- $(use_enable ipmi plugin-freeipmi) \ |
313 |
- --disable-exporting-kinesis \ |
314 |
- $(use_enable lto lto) \ |
315 |
- $(use_enable mongodb exporting-mongodb) \ |
316 |
- $(use_enable prometheus exporting-prometheus-remote-write) \ |
317 |
- $(use_enable xen plugin-xenstat) \ |
318 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
319 |
- $(use_with compression zlib) |
320 |
-} |
321 |
- |
322 |
-src_compile() { |
323 |
- emake clean |
324 |
- default |
325 |
-} |
326 |
- |
327 |
-src_install() { |
328 |
- default |
329 |
- |
330 |
- rm -rf "${D}/var/cache" || die |
331 |
- |
332 |
- keepdir /var/log/netdata |
333 |
- fowners -Rc netdata:netdata /var/log/netdata |
334 |
- keepdir /var/lib/netdata |
335 |
- keepdir /var/lib/netdata/registry |
336 |
- fowners -Rc netdata:netdata /var/lib/netdata |
337 |
- |
338 |
- fowners -Rc root:netdata /usr/share/${PN} |
339 |
- |
340 |
- newinitd system/netdata-openrc ${PN} |
341 |
- systemd_dounit system/netdata.service |
342 |
- insinto /etc/netdata |
343 |
- doins system/netdata.conf |
344 |
-} |
345 |
- |
346 |
-pkg_postinst() { |
347 |
- fcaps_pkg_postinst |
348 |
- |
349 |
- if use nfacct ; then |
350 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
351 |
- fi |
352 |
- |
353 |
- if use xen ; then |
354 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
355 |
- fi |
356 |
- |
357 |
- if use ipmi ; then |
358 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
359 |
- fi |
360 |
-} |
361 |
|
362 |
diff --git a/net-analyzer/netdata/netdata-1.36.1-r1.ebuild b/net-analyzer/netdata/netdata-1.36.1-r1.ebuild |
363 |
deleted file mode 100644 |
364 |
index 2b50034f9888..000000000000 |
365 |
--- a/net-analyzer/netdata/netdata-1.36.1-r1.ebuild |
366 |
+++ /dev/null |
367 |
@@ -1,158 +0,0 @@ |
368 |
-# Copyright 1999-2023 Gentoo Authors |
369 |
-# Distributed under the terms of the GNU General Public License v2 |
370 |
- |
371 |
-EAPI=8 |
372 |
-PYTHON_COMPAT=( python{3_9,3_10} ) |
373 |
- |
374 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
375 |
- |
376 |
-if [[ ${PV} == *9999 ]] ; then |
377 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
378 |
- inherit git-r3 |
379 |
-else |
380 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
381 |
- S="${WORKDIR}/${PN}-v${PV}" |
382 |
- KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" |
383 |
-fi |
384 |
- |
385 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
386 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
387 |
- |
388 |
-LICENSE="GPL-3+ MIT BSD" |
389 |
-SLOT="0" |
390 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
391 |
-REQUIRED_USE=" |
392 |
- mysql? ( python ) |
393 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
394 |
- tor? ( python )" |
395 |
- |
396 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
397 |
-RDEPEND=" |
398 |
- acct-group/netdata |
399 |
- acct-user/netdata |
400 |
- app-misc/jq |
401 |
- >=app-shells/bash-4:0 |
402 |
- || ( |
403 |
- net-analyzer/openbsd-netcat |
404 |
- net-analyzer/netcat |
405 |
- ) |
406 |
- net-libs/libwebsockets |
407 |
- net-misc/curl |
408 |
- net-misc/wget |
409 |
- sys-apps/util-linux |
410 |
- app-alternatives/awk |
411 |
- caps? ( sys-libs/libcap ) |
412 |
- cups? ( net-print/cups ) |
413 |
- dbengine? ( |
414 |
- app-arch/lz4:= |
415 |
- dev-libs/judy |
416 |
- dev-libs/openssl:= |
417 |
- ) |
418 |
- dev-libs/libuv:= |
419 |
- cloud? ( dev-libs/protobuf:= ) |
420 |
- compression? ( sys-libs/zlib ) |
421 |
- ipmi? ( sys-libs/freeipmi ) |
422 |
- jsonc? ( dev-libs/json-c:= ) |
423 |
- mongodb? ( dev-libs/mongo-c-driver ) |
424 |
- nfacct? ( |
425 |
- net-firewall/nfacct |
426 |
- net-libs/libmnl:= |
427 |
- ) |
428 |
- nodejs? ( net-libs/nodejs ) |
429 |
- prometheus? ( |
430 |
- app-arch/snappy:= |
431 |
- dev-libs/protobuf:= |
432 |
- ) |
433 |
- python? ( |
434 |
- ${PYTHON_DEPS} |
435 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
436 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
437 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
438 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
439 |
- ) |
440 |
- xen? ( |
441 |
- app-emulation/xen-tools |
442 |
- dev-libs/yajl |
443 |
- )" |
444 |
-DEPEND="${RDEPEND} |
445 |
- virtual/pkgconfig" |
446 |
- |
447 |
-FILECAPS=( |
448 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
449 |
-) |
450 |
- |
451 |
-pkg_setup() { |
452 |
- use python && python-single-r1_pkg_setup |
453 |
- linux-info_pkg_setup |
454 |
-} |
455 |
- |
456 |
-src_prepare() { |
457 |
- default |
458 |
- eautoreconf |
459 |
-} |
460 |
- |
461 |
-src_configure() { |
462 |
- if use ppc64; then |
463 |
- # bundled dlib does not support vsx on big-endian |
464 |
- # https://github.com/davisking/dlib/issues/397 |
465 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
466 |
- fi |
467 |
- |
468 |
- econf \ |
469 |
- --localstatedir="${EPREFIX}"/var \ |
470 |
- --with-user=netdata \ |
471 |
- --without-bundled-protobuf \ |
472 |
- $(use_enable cloud) \ |
473 |
- $(use_enable jsonc) \ |
474 |
- $(use_enable cups plugin-cups) \ |
475 |
- $(use_enable dbengine) \ |
476 |
- $(use_enable nfacct plugin-nfacct) \ |
477 |
- $(use_enable ipmi plugin-freeipmi) \ |
478 |
- --disable-exporting-kinesis \ |
479 |
- $(use_enable lto lto) \ |
480 |
- $(use_enable mongodb exporting-mongodb) \ |
481 |
- $(use_enable prometheus exporting-prometheus-remote-write) \ |
482 |
- $(use_enable xen plugin-xenstat) \ |
483 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
484 |
- $(use_with compression zlib) |
485 |
-} |
486 |
- |
487 |
-src_compile() { |
488 |
- emake clean |
489 |
- default |
490 |
-} |
491 |
- |
492 |
-src_install() { |
493 |
- default |
494 |
- |
495 |
- rm -rf "${D}/var/cache" || die |
496 |
- |
497 |
- keepdir /var/log/netdata |
498 |
- fowners -Rc netdata:netdata /var/log/netdata |
499 |
- keepdir /var/lib/netdata |
500 |
- keepdir /var/lib/netdata/registry |
501 |
- fowners -Rc netdata:netdata /var/lib/netdata |
502 |
- |
503 |
- fowners -Rc root:netdata /usr/share/${PN} |
504 |
- |
505 |
- newinitd system/netdata-openrc ${PN} |
506 |
- systemd_dounit system/netdata.service |
507 |
- insinto /etc/netdata |
508 |
- doins system/netdata.conf |
509 |
-} |
510 |
- |
511 |
-pkg_postinst() { |
512 |
- fcaps_pkg_postinst |
513 |
- |
514 |
- if use nfacct ; then |
515 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
516 |
- fi |
517 |
- |
518 |
- if use xen ; then |
519 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
520 |
- fi |
521 |
- |
522 |
- if use ipmi ; then |
523 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
524 |
- fi |
525 |
-} |
526 |
|
527 |
diff --git a/net-analyzer/netdata/netdata-1.37.0.ebuild b/net-analyzer/netdata/netdata-1.37.0.ebuild |
528 |
deleted file mode 100644 |
529 |
index 2b50034f9888..000000000000 |
530 |
--- a/net-analyzer/netdata/netdata-1.37.0.ebuild |
531 |
+++ /dev/null |
532 |
@@ -1,158 +0,0 @@ |
533 |
-# Copyright 1999-2023 Gentoo Authors |
534 |
-# Distributed under the terms of the GNU General Public License v2 |
535 |
- |
536 |
-EAPI=8 |
537 |
-PYTHON_COMPAT=( python{3_9,3_10} ) |
538 |
- |
539 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
540 |
- |
541 |
-if [[ ${PV} == *9999 ]] ; then |
542 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
543 |
- inherit git-r3 |
544 |
-else |
545 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
546 |
- S="${WORKDIR}/${PN}-v${PV}" |
547 |
- KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" |
548 |
-fi |
549 |
- |
550 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
551 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
552 |
- |
553 |
-LICENSE="GPL-3+ MIT BSD" |
554 |
-SLOT="0" |
555 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
556 |
-REQUIRED_USE=" |
557 |
- mysql? ( python ) |
558 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
559 |
- tor? ( python )" |
560 |
- |
561 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
562 |
-RDEPEND=" |
563 |
- acct-group/netdata |
564 |
- acct-user/netdata |
565 |
- app-misc/jq |
566 |
- >=app-shells/bash-4:0 |
567 |
- || ( |
568 |
- net-analyzer/openbsd-netcat |
569 |
- net-analyzer/netcat |
570 |
- ) |
571 |
- net-libs/libwebsockets |
572 |
- net-misc/curl |
573 |
- net-misc/wget |
574 |
- sys-apps/util-linux |
575 |
- app-alternatives/awk |
576 |
- caps? ( sys-libs/libcap ) |
577 |
- cups? ( net-print/cups ) |
578 |
- dbengine? ( |
579 |
- app-arch/lz4:= |
580 |
- dev-libs/judy |
581 |
- dev-libs/openssl:= |
582 |
- ) |
583 |
- dev-libs/libuv:= |
584 |
- cloud? ( dev-libs/protobuf:= ) |
585 |
- compression? ( sys-libs/zlib ) |
586 |
- ipmi? ( sys-libs/freeipmi ) |
587 |
- jsonc? ( dev-libs/json-c:= ) |
588 |
- mongodb? ( dev-libs/mongo-c-driver ) |
589 |
- nfacct? ( |
590 |
- net-firewall/nfacct |
591 |
- net-libs/libmnl:= |
592 |
- ) |
593 |
- nodejs? ( net-libs/nodejs ) |
594 |
- prometheus? ( |
595 |
- app-arch/snappy:= |
596 |
- dev-libs/protobuf:= |
597 |
- ) |
598 |
- python? ( |
599 |
- ${PYTHON_DEPS} |
600 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
601 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
602 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
603 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
604 |
- ) |
605 |
- xen? ( |
606 |
- app-emulation/xen-tools |
607 |
- dev-libs/yajl |
608 |
- )" |
609 |
-DEPEND="${RDEPEND} |
610 |
- virtual/pkgconfig" |
611 |
- |
612 |
-FILECAPS=( |
613 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
614 |
-) |
615 |
- |
616 |
-pkg_setup() { |
617 |
- use python && python-single-r1_pkg_setup |
618 |
- linux-info_pkg_setup |
619 |
-} |
620 |
- |
621 |
-src_prepare() { |
622 |
- default |
623 |
- eautoreconf |
624 |
-} |
625 |
- |
626 |
-src_configure() { |
627 |
- if use ppc64; then |
628 |
- # bundled dlib does not support vsx on big-endian |
629 |
- # https://github.com/davisking/dlib/issues/397 |
630 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
631 |
- fi |
632 |
- |
633 |
- econf \ |
634 |
- --localstatedir="${EPREFIX}"/var \ |
635 |
- --with-user=netdata \ |
636 |
- --without-bundled-protobuf \ |
637 |
- $(use_enable cloud) \ |
638 |
- $(use_enable jsonc) \ |
639 |
- $(use_enable cups plugin-cups) \ |
640 |
- $(use_enable dbengine) \ |
641 |
- $(use_enable nfacct plugin-nfacct) \ |
642 |
- $(use_enable ipmi plugin-freeipmi) \ |
643 |
- --disable-exporting-kinesis \ |
644 |
- $(use_enable lto lto) \ |
645 |
- $(use_enable mongodb exporting-mongodb) \ |
646 |
- $(use_enable prometheus exporting-prometheus-remote-write) \ |
647 |
- $(use_enable xen plugin-xenstat) \ |
648 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
649 |
- $(use_with compression zlib) |
650 |
-} |
651 |
- |
652 |
-src_compile() { |
653 |
- emake clean |
654 |
- default |
655 |
-} |
656 |
- |
657 |
-src_install() { |
658 |
- default |
659 |
- |
660 |
- rm -rf "${D}/var/cache" || die |
661 |
- |
662 |
- keepdir /var/log/netdata |
663 |
- fowners -Rc netdata:netdata /var/log/netdata |
664 |
- keepdir /var/lib/netdata |
665 |
- keepdir /var/lib/netdata/registry |
666 |
- fowners -Rc netdata:netdata /var/lib/netdata |
667 |
- |
668 |
- fowners -Rc root:netdata /usr/share/${PN} |
669 |
- |
670 |
- newinitd system/netdata-openrc ${PN} |
671 |
- systemd_dounit system/netdata.service |
672 |
- insinto /etc/netdata |
673 |
- doins system/netdata.conf |
674 |
-} |
675 |
- |
676 |
-pkg_postinst() { |
677 |
- fcaps_pkg_postinst |
678 |
- |
679 |
- if use nfacct ; then |
680 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
681 |
- fi |
682 |
- |
683 |
- if use xen ; then |
684 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
685 |
- fi |
686 |
- |
687 |
- if use ipmi ; then |
688 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
689 |
- fi |
690 |
-} |
691 |
|
692 |
diff --git a/net-analyzer/netdata/netdata-1.37.1.ebuild b/net-analyzer/netdata/netdata-1.37.1.ebuild |
693 |
deleted file mode 100644 |
694 |
index 2b50034f9888..000000000000 |
695 |
--- a/net-analyzer/netdata/netdata-1.37.1.ebuild |
696 |
+++ /dev/null |
697 |
@@ -1,158 +0,0 @@ |
698 |
-# Copyright 1999-2023 Gentoo Authors |
699 |
-# Distributed under the terms of the GNU General Public License v2 |
700 |
- |
701 |
-EAPI=8 |
702 |
-PYTHON_COMPAT=( python{3_9,3_10} ) |
703 |
- |
704 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
705 |
- |
706 |
-if [[ ${PV} == *9999 ]] ; then |
707 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
708 |
- inherit git-r3 |
709 |
-else |
710 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
711 |
- S="${WORKDIR}/${PN}-v${PV}" |
712 |
- KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" |
713 |
-fi |
714 |
- |
715 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
716 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
717 |
- |
718 |
-LICENSE="GPL-3+ MIT BSD" |
719 |
-SLOT="0" |
720 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
721 |
-REQUIRED_USE=" |
722 |
- mysql? ( python ) |
723 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
724 |
- tor? ( python )" |
725 |
- |
726 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
727 |
-RDEPEND=" |
728 |
- acct-group/netdata |
729 |
- acct-user/netdata |
730 |
- app-misc/jq |
731 |
- >=app-shells/bash-4:0 |
732 |
- || ( |
733 |
- net-analyzer/openbsd-netcat |
734 |
- net-analyzer/netcat |
735 |
- ) |
736 |
- net-libs/libwebsockets |
737 |
- net-misc/curl |
738 |
- net-misc/wget |
739 |
- sys-apps/util-linux |
740 |
- app-alternatives/awk |
741 |
- caps? ( sys-libs/libcap ) |
742 |
- cups? ( net-print/cups ) |
743 |
- dbengine? ( |
744 |
- app-arch/lz4:= |
745 |
- dev-libs/judy |
746 |
- dev-libs/openssl:= |
747 |
- ) |
748 |
- dev-libs/libuv:= |
749 |
- cloud? ( dev-libs/protobuf:= ) |
750 |
- compression? ( sys-libs/zlib ) |
751 |
- ipmi? ( sys-libs/freeipmi ) |
752 |
- jsonc? ( dev-libs/json-c:= ) |
753 |
- mongodb? ( dev-libs/mongo-c-driver ) |
754 |
- nfacct? ( |
755 |
- net-firewall/nfacct |
756 |
- net-libs/libmnl:= |
757 |
- ) |
758 |
- nodejs? ( net-libs/nodejs ) |
759 |
- prometheus? ( |
760 |
- app-arch/snappy:= |
761 |
- dev-libs/protobuf:= |
762 |
- ) |
763 |
- python? ( |
764 |
- ${PYTHON_DEPS} |
765 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
766 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
767 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
768 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
769 |
- ) |
770 |
- xen? ( |
771 |
- app-emulation/xen-tools |
772 |
- dev-libs/yajl |
773 |
- )" |
774 |
-DEPEND="${RDEPEND} |
775 |
- virtual/pkgconfig" |
776 |
- |
777 |
-FILECAPS=( |
778 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
779 |
-) |
780 |
- |
781 |
-pkg_setup() { |
782 |
- use python && python-single-r1_pkg_setup |
783 |
- linux-info_pkg_setup |
784 |
-} |
785 |
- |
786 |
-src_prepare() { |
787 |
- default |
788 |
- eautoreconf |
789 |
-} |
790 |
- |
791 |
-src_configure() { |
792 |
- if use ppc64; then |
793 |
- # bundled dlib does not support vsx on big-endian |
794 |
- # https://github.com/davisking/dlib/issues/397 |
795 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
796 |
- fi |
797 |
- |
798 |
- econf \ |
799 |
- --localstatedir="${EPREFIX}"/var \ |
800 |
- --with-user=netdata \ |
801 |
- --without-bundled-protobuf \ |
802 |
- $(use_enable cloud) \ |
803 |
- $(use_enable jsonc) \ |
804 |
- $(use_enable cups plugin-cups) \ |
805 |
- $(use_enable dbengine) \ |
806 |
- $(use_enable nfacct plugin-nfacct) \ |
807 |
- $(use_enable ipmi plugin-freeipmi) \ |
808 |
- --disable-exporting-kinesis \ |
809 |
- $(use_enable lto lto) \ |
810 |
- $(use_enable mongodb exporting-mongodb) \ |
811 |
- $(use_enable prometheus exporting-prometheus-remote-write) \ |
812 |
- $(use_enable xen plugin-xenstat) \ |
813 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
814 |
- $(use_with compression zlib) |
815 |
-} |
816 |
- |
817 |
-src_compile() { |
818 |
- emake clean |
819 |
- default |
820 |
-} |
821 |
- |
822 |
-src_install() { |
823 |
- default |
824 |
- |
825 |
- rm -rf "${D}/var/cache" || die |
826 |
- |
827 |
- keepdir /var/log/netdata |
828 |
- fowners -Rc netdata:netdata /var/log/netdata |
829 |
- keepdir /var/lib/netdata |
830 |
- keepdir /var/lib/netdata/registry |
831 |
- fowners -Rc netdata:netdata /var/lib/netdata |
832 |
- |
833 |
- fowners -Rc root:netdata /usr/share/${PN} |
834 |
- |
835 |
- newinitd system/netdata-openrc ${PN} |
836 |
- systemd_dounit system/netdata.service |
837 |
- insinto /etc/netdata |
838 |
- doins system/netdata.conf |
839 |
-} |
840 |
- |
841 |
-pkg_postinst() { |
842 |
- fcaps_pkg_postinst |
843 |
- |
844 |
- if use nfacct ; then |
845 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
846 |
- fi |
847 |
- |
848 |
- if use xen ; then |
849 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
850 |
- fi |
851 |
- |
852 |
- if use ipmi ; then |
853 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
854 |
- fi |
855 |
-} |