1 |
commit: 1a132ef0add589988f0f54e02b3e493d42e37351 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 15:35:28 2022 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 15:35:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a132ef0 |
7 |
|
8 |
net-analyzer/netdata: Cleanup old versions |
9 |
|
10 |
Bug: https://bugs.gentoo.org/854795 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/netdata/Manifest | 5 - |
15 |
net-analyzer/netdata/netdata-1.32.1.ebuild | 158 ------------------------- |
16 |
net-analyzer/netdata/netdata-1.33.0.ebuild | 157 ------------------------- |
17 |
net-analyzer/netdata/netdata-1.33.1-r1.ebuild | 159 -------------------------- |
18 |
net-analyzer/netdata/netdata-1.33.1.ebuild | 157 ------------------------- |
19 |
net-analyzer/netdata/netdata-1.34.1-r1.ebuild | 159 -------------------------- |
20 |
net-analyzer/netdata/netdata-1.34.1.ebuild | 159 -------------------------- |
21 |
net-analyzer/netdata/netdata-1.35.0.ebuild | 159 -------------------------- |
22 |
8 files changed, 1113 deletions(-) |
23 |
|
24 |
diff --git a/net-analyzer/netdata/Manifest b/net-analyzer/netdata/Manifest |
25 |
index ee26be27fc03..fc4992c878c5 100644 |
26 |
--- a/net-analyzer/netdata/Manifest |
27 |
+++ b/net-analyzer/netdata/Manifest |
28 |
@@ -1,6 +1 @@ |
29 |
-DIST netdata-1.32.1.tar.gz 22472431 BLAKE2B e05e4f29930493ad0c31373dabff57a3fd4f178730848fe4153aebb6219055ef0edda59577fe0c6cc9bd5cf3444b055e8330744f75581804f316f343fc692710 SHA512 869829eadcec4dd9c05cc6b6279830691b6cf9345cdcc0834e90d71f3bbee508c658d16bd379c51ce470c4e735e7c8d607dc045f45a60da2aa3dac36f37b5757 |
30 |
-DIST netdata-1.33.0.tar.gz 22470692 BLAKE2B fc0feed8a93876ca7ec304d8ff95312de19f81fccb5ec564e324751488fe6bb10033c815d456238503bcefdd31ec213d61191e21a5ee6671e23183aec7f298d9 SHA512 31b7ce97a3e756fddc358501d98b5ccf056dbe8d22585628873753f30041533d8926b8549a6f1c795c20b33952ec24df2a3ccdce85d6b1da984964bf08a5a66d |
31 |
-DIST netdata-1.33.1.tar.gz 22611080 BLAKE2B 01838efcfc99ce644f04af1cde3dcbc5844cf2eaff8afb44503effd017b4dcd9ed990cd2ad6f285f81c72a0bae91586fa21c0306ad932252503ee755b949d7e3 SHA512 f6586426bd0fe1ac3d903ec279b27177b1d232f5ca1fc28b01f052a5f2f57846d2d6369c9d5a1872fb97e31f86f1f7a11c600beda590447f9ca30c93e7ac262c |
32 |
-DIST netdata-1.34.1.tar.gz 22356370 BLAKE2B d166b121e567c9cd0e7929326a5c5049af953f396e7bc38f86b06a83bca9bb823fb4842585d87e237596fec9fe091e50fade2a3cf17e6426de33cbfecc2c92dd SHA512 777b0f4efa0b64dd150a097cb2ec1c3155506ada9c1e5289b6acda5e34c9262f796795608b52e70c9310a5cbda03c0568e1391c6861c7f3ea84aa9ca84ed9a0c |
33 |
-DIST netdata-1.35.0.tar.gz 22335392 BLAKE2B d3f1bc5e0c2bfd59be47fd479caa7b262bf266c9a2c52889c42ea51151ab454346c97a73562789d1807d78a9446bf9b7073e210a016b4087f0178ca825f2471d SHA512 a2400044a80ce7d9e93d9c0f31621c572cbb77079933afaea1beca5f00b10139b1dcb2442f07f113a9eda9b0794ea3a494abde42a0acf062f91fd0460a32f4ff |
34 |
DIST netdata-1.35.1.tar.gz 22335562 BLAKE2B a715f26f1318f01ce45266bbc78ada5ec2e3516f7ff2a6fda77829433398986bc564b377362097ea7c2595ac01911a817be124c9f0ba560dd00ae5001a080da7 SHA512 43cbf099841fe2547b7de56610f811e55fdf2e9af3dc18fde818e09de1125a7f8d57f6a16f2dee8ea4b9e6f2683959549810a1ea7f8f7b5007eb7069bfddb477 |
35 |
|
36 |
diff --git a/net-analyzer/netdata/netdata-1.32.1.ebuild b/net-analyzer/netdata/netdata-1.32.1.ebuild |
37 |
deleted file mode 100644 |
38 |
index 00cda3564e28..000000000000 |
39 |
--- a/net-analyzer/netdata/netdata-1.32.1.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,158 +0,0 @@ |
42 |
-# Copyright 1999-2021 Gentoo Authors |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=7 |
46 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
47 |
- |
48 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
49 |
- |
50 |
-if [[ ${PV} == *9999 ]] ; then |
51 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
52 |
- inherit git-r3 |
53 |
-else |
54 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
55 |
- S="${WORKDIR}/${PN}-v${PV}" |
56 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
57 |
-fi |
58 |
- |
59 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
60 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
61 |
- |
62 |
-LICENSE="GPL-3+ MIT BSD" |
63 |
-SLOT="0" |
64 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
65 |
-REQUIRED_USE=" |
66 |
- mysql? ( python ) |
67 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
68 |
- tor? ( python )" |
69 |
- |
70 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
71 |
-RDEPEND=" |
72 |
- acct-group/netdata |
73 |
- acct-user/netdata |
74 |
- app-misc/jq |
75 |
- >=app-shells/bash-4:0 |
76 |
- || ( |
77 |
- net-analyzer/openbsd-netcat |
78 |
- net-analyzer/netcat |
79 |
- ) |
80 |
- net-libs/libwebsockets |
81 |
- net-misc/curl |
82 |
- net-misc/wget |
83 |
- sys-apps/util-linux |
84 |
- virtual/awk |
85 |
- caps? ( sys-libs/libcap ) |
86 |
- cups? ( net-print/cups ) |
87 |
- dbengine? ( |
88 |
- app-arch/lz4 |
89 |
- dev-libs/judy |
90 |
- dev-libs/openssl:= |
91 |
- ) |
92 |
- dev-libs/libuv |
93 |
- compression? ( sys-libs/zlib ) |
94 |
- ipmi? ( sys-libs/freeipmi ) |
95 |
- jsonc? ( dev-libs/json-c:= ) |
96 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
97 |
- mongodb? ( dev-libs/mongo-c-driver ) |
98 |
- nfacct? ( |
99 |
- net-firewall/nfacct |
100 |
- net-libs/libmnl |
101 |
- ) |
102 |
- nodejs? ( net-libs/nodejs ) |
103 |
- prometheus? ( |
104 |
- dev-libs/protobuf:= |
105 |
- app-arch/snappy |
106 |
- ) |
107 |
- python? ( |
108 |
- ${PYTHON_DEPS} |
109 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
110 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
111 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
112 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
113 |
- ) |
114 |
- xen? ( |
115 |
- app-emulation/xen-tools |
116 |
- dev-libs/yajl |
117 |
- )" |
118 |
-DEPEND="${RDEPEND} |
119 |
- virtual/pkgconfig" |
120 |
- |
121 |
-FILECAPS=( |
122 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
123 |
-) |
124 |
- |
125 |
-pkg_setup() { |
126 |
- use python && python-single-r1_pkg_setup |
127 |
- linux-info_pkg_setup |
128 |
-} |
129 |
- |
130 |
-src_prepare() { |
131 |
- default |
132 |
- eautoreconf |
133 |
-} |
134 |
- |
135 |
-src_configure() { |
136 |
- if use ppc64; then |
137 |
- # bundled dlib does not support vsx on big-endian |
138 |
- # https://github.com/davisking/dlib/issues/397 |
139 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
140 |
- fi |
141 |
- |
142 |
- econf \ |
143 |
- --localstatedir="${EPREFIX}"/var \ |
144 |
- --with-user=netdata \ |
145 |
- $(use_enable cloud) \ |
146 |
- $(use_with cloud aclk-ng) \ |
147 |
- $(use_enable jsonc) \ |
148 |
- $(use_enable cups plugin-cups) \ |
149 |
- $(use_enable dbengine) \ |
150 |
- $(use_enable nfacct plugin-nfacct) \ |
151 |
- $(use_enable ipmi plugin-freeipmi) \ |
152 |
- $(use_enable kinesis backend-kinesis) \ |
153 |
- $(use_enable lto lto) \ |
154 |
- $(use_enable mongodb backend-mongodb) \ |
155 |
- $(use_enable prometheus backend-prometheus-remote-write) \ |
156 |
- $(use_enable xen plugin-xenstat) \ |
157 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
158 |
- $(use_with compression zlib) |
159 |
-} |
160 |
- |
161 |
-src_compile() { |
162 |
- emake clean |
163 |
- default |
164 |
-} |
165 |
- |
166 |
-src_install() { |
167 |
- default |
168 |
- |
169 |
- rm -rf "${D}/var/cache" || die |
170 |
- |
171 |
- keepdir /var/log/netdata |
172 |
- fowners -Rc netdata:netdata /var/log/netdata |
173 |
- keepdir /var/lib/netdata |
174 |
- keepdir /var/lib/netdata/registry |
175 |
- fowners -Rc netdata:netdata /var/lib/netdata |
176 |
- |
177 |
- fowners -Rc root:netdata /usr/share/${PN} |
178 |
- |
179 |
- newinitd system/netdata-openrc ${PN} |
180 |
- systemd_dounit system/netdata.service |
181 |
- insinto /etc/netdata |
182 |
- doins system/netdata.conf |
183 |
-} |
184 |
- |
185 |
-pkg_postinst() { |
186 |
- fcaps_pkg_postinst |
187 |
- |
188 |
- if use nfacct ; then |
189 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
190 |
- fi |
191 |
- |
192 |
- if use xen ; then |
193 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
194 |
- fi |
195 |
- |
196 |
- if use ipmi ; then |
197 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
198 |
- fi |
199 |
-} |
200 |
|
201 |
diff --git a/net-analyzer/netdata/netdata-1.33.0.ebuild b/net-analyzer/netdata/netdata-1.33.0.ebuild |
202 |
deleted file mode 100644 |
203 |
index 5fe0d66e35d4..000000000000 |
204 |
--- a/net-analyzer/netdata/netdata-1.33.0.ebuild |
205 |
+++ /dev/null |
206 |
@@ -1,157 +0,0 @@ |
207 |
-# Copyright 1999-2022 Gentoo Authors |
208 |
-# Distributed under the terms of the GNU General Public License v2 |
209 |
- |
210 |
-EAPI=7 |
211 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
212 |
- |
213 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
214 |
- |
215 |
-if [[ ${PV} == *9999 ]] ; then |
216 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
217 |
- inherit git-r3 |
218 |
-else |
219 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
220 |
- S="${WORKDIR}/${PN}-v${PV}" |
221 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
222 |
-fi |
223 |
- |
224 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
225 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
226 |
- |
227 |
-LICENSE="GPL-3+ MIT BSD" |
228 |
-SLOT="0" |
229 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
230 |
-REQUIRED_USE=" |
231 |
- mysql? ( python ) |
232 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
233 |
- tor? ( python )" |
234 |
- |
235 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
236 |
-RDEPEND=" |
237 |
- acct-group/netdata |
238 |
- acct-user/netdata |
239 |
- app-misc/jq |
240 |
- >=app-shells/bash-4:0 |
241 |
- || ( |
242 |
- net-analyzer/openbsd-netcat |
243 |
- net-analyzer/netcat |
244 |
- ) |
245 |
- net-libs/libwebsockets |
246 |
- net-misc/curl |
247 |
- net-misc/wget |
248 |
- sys-apps/util-linux |
249 |
- virtual/awk |
250 |
- caps? ( sys-libs/libcap ) |
251 |
- cups? ( net-print/cups ) |
252 |
- dbengine? ( |
253 |
- app-arch/lz4 |
254 |
- dev-libs/judy |
255 |
- dev-libs/openssl:= |
256 |
- ) |
257 |
- dev-libs/libuv |
258 |
- compression? ( sys-libs/zlib ) |
259 |
- ipmi? ( sys-libs/freeipmi ) |
260 |
- jsonc? ( dev-libs/json-c:= ) |
261 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
262 |
- mongodb? ( dev-libs/mongo-c-driver ) |
263 |
- nfacct? ( |
264 |
- net-firewall/nfacct |
265 |
- net-libs/libmnl |
266 |
- ) |
267 |
- nodejs? ( net-libs/nodejs ) |
268 |
- prometheus? ( |
269 |
- dev-libs/protobuf:= |
270 |
- app-arch/snappy |
271 |
- ) |
272 |
- python? ( |
273 |
- ${PYTHON_DEPS} |
274 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
275 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
276 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
277 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
278 |
- ) |
279 |
- xen? ( |
280 |
- app-emulation/xen-tools |
281 |
- dev-libs/yajl |
282 |
- )" |
283 |
-DEPEND="${RDEPEND} |
284 |
- virtual/pkgconfig" |
285 |
- |
286 |
-FILECAPS=( |
287 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
288 |
-) |
289 |
- |
290 |
-pkg_setup() { |
291 |
- use python && python-single-r1_pkg_setup |
292 |
- linux-info_pkg_setup |
293 |
-} |
294 |
- |
295 |
-src_prepare() { |
296 |
- default |
297 |
- eautoreconf |
298 |
-} |
299 |
- |
300 |
-src_configure() { |
301 |
- if use ppc64; then |
302 |
- # bundled dlib does not support vsx on big-endian |
303 |
- # https://github.com/davisking/dlib/issues/397 |
304 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
305 |
- fi |
306 |
- |
307 |
- econf \ |
308 |
- --localstatedir="${EPREFIX}"/var \ |
309 |
- --with-user=netdata \ |
310 |
- $(use_enable cloud) \ |
311 |
- $(use_enable jsonc) \ |
312 |
- $(use_enable cups plugin-cups) \ |
313 |
- $(use_enable dbengine) \ |
314 |
- $(use_enable nfacct plugin-nfacct) \ |
315 |
- $(use_enable ipmi plugin-freeipmi) \ |
316 |
- $(use_enable kinesis backend-kinesis) \ |
317 |
- $(use_enable lto lto) \ |
318 |
- $(use_enable mongodb backend-mongodb) \ |
319 |
- $(use_enable prometheus backend-prometheus-remote-write) \ |
320 |
- $(use_enable xen plugin-xenstat) \ |
321 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
322 |
- $(use_with compression zlib) |
323 |
-} |
324 |
- |
325 |
-src_compile() { |
326 |
- emake clean |
327 |
- default |
328 |
-} |
329 |
- |
330 |
-src_install() { |
331 |
- default |
332 |
- |
333 |
- rm -rf "${D}/var/cache" || die |
334 |
- |
335 |
- keepdir /var/log/netdata |
336 |
- fowners -Rc netdata:netdata /var/log/netdata |
337 |
- keepdir /var/lib/netdata |
338 |
- keepdir /var/lib/netdata/registry |
339 |
- fowners -Rc netdata:netdata /var/lib/netdata |
340 |
- |
341 |
- fowners -Rc root:netdata /usr/share/${PN} |
342 |
- |
343 |
- newinitd system/netdata-openrc ${PN} |
344 |
- systemd_dounit system/netdata.service |
345 |
- insinto /etc/netdata |
346 |
- doins system/netdata.conf |
347 |
-} |
348 |
- |
349 |
-pkg_postinst() { |
350 |
- fcaps_pkg_postinst |
351 |
- |
352 |
- if use nfacct ; then |
353 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
354 |
- fi |
355 |
- |
356 |
- if use xen ; then |
357 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
358 |
- fi |
359 |
- |
360 |
- if use ipmi ; then |
361 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
362 |
- fi |
363 |
-} |
364 |
|
365 |
diff --git a/net-analyzer/netdata/netdata-1.33.1-r1.ebuild b/net-analyzer/netdata/netdata-1.33.1-r1.ebuild |
366 |
deleted file mode 100644 |
367 |
index 6dfe8112013e..000000000000 |
368 |
--- a/net-analyzer/netdata/netdata-1.33.1-r1.ebuild |
369 |
+++ /dev/null |
370 |
@@ -1,159 +0,0 @@ |
371 |
-# Copyright 1999-2022 Gentoo Authors |
372 |
-# Distributed under the terms of the GNU General Public License v2 |
373 |
- |
374 |
-EAPI=7 |
375 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
376 |
- |
377 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
378 |
- |
379 |
-if [[ ${PV} == *9999 ]] ; then |
380 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
381 |
- inherit git-r3 |
382 |
-else |
383 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
384 |
- S="${WORKDIR}/${PN}-v${PV}" |
385 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
386 |
-fi |
387 |
- |
388 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
389 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
390 |
- |
391 |
-LICENSE="GPL-3+ MIT BSD" |
392 |
-SLOT="0" |
393 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
394 |
-REQUIRED_USE=" |
395 |
- mysql? ( python ) |
396 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
397 |
- tor? ( python )" |
398 |
- |
399 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
400 |
-RDEPEND=" |
401 |
- acct-group/netdata |
402 |
- acct-user/netdata |
403 |
- app-misc/jq |
404 |
- >=app-shells/bash-4:0 |
405 |
- || ( |
406 |
- net-analyzer/openbsd-netcat |
407 |
- net-analyzer/netcat |
408 |
- ) |
409 |
- net-libs/libwebsockets |
410 |
- net-misc/curl |
411 |
- net-misc/wget |
412 |
- sys-apps/util-linux |
413 |
- virtual/awk |
414 |
- caps? ( sys-libs/libcap ) |
415 |
- cups? ( net-print/cups ) |
416 |
- dbengine? ( |
417 |
- app-arch/lz4 |
418 |
- dev-libs/judy |
419 |
- dev-libs/openssl:= |
420 |
- ) |
421 |
- dev-libs/libuv |
422 |
- cloud? ( dev-libs/protobuf:= ) |
423 |
- compression? ( sys-libs/zlib ) |
424 |
- ipmi? ( sys-libs/freeipmi ) |
425 |
- jsonc? ( dev-libs/json-c:= ) |
426 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
427 |
- mongodb? ( dev-libs/mongo-c-driver ) |
428 |
- nfacct? ( |
429 |
- net-firewall/nfacct |
430 |
- net-libs/libmnl |
431 |
- ) |
432 |
- nodejs? ( net-libs/nodejs ) |
433 |
- prometheus? ( |
434 |
- dev-libs/protobuf:= |
435 |
- app-arch/snappy |
436 |
- ) |
437 |
- python? ( |
438 |
- ${PYTHON_DEPS} |
439 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
440 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
441 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
442 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
443 |
- ) |
444 |
- xen? ( |
445 |
- app-emulation/xen-tools |
446 |
- dev-libs/yajl |
447 |
- )" |
448 |
-DEPEND="${RDEPEND} |
449 |
- virtual/pkgconfig" |
450 |
- |
451 |
-FILECAPS=( |
452 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
453 |
-) |
454 |
- |
455 |
-pkg_setup() { |
456 |
- use python && python-single-r1_pkg_setup |
457 |
- linux-info_pkg_setup |
458 |
-} |
459 |
- |
460 |
-src_prepare() { |
461 |
- default |
462 |
- eautoreconf |
463 |
-} |
464 |
- |
465 |
-src_configure() { |
466 |
- if use ppc64; then |
467 |
- # bundled dlib does not support vsx on big-endian |
468 |
- # https://github.com/davisking/dlib/issues/397 |
469 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
470 |
- fi |
471 |
- |
472 |
- econf \ |
473 |
- --localstatedir="${EPREFIX}"/var \ |
474 |
- --with-user=netdata \ |
475 |
- --without-bundled-protobuf \ |
476 |
- $(use_enable cloud) \ |
477 |
- $(use_enable jsonc) \ |
478 |
- $(use_enable cups plugin-cups) \ |
479 |
- $(use_enable dbengine) \ |
480 |
- $(use_enable nfacct plugin-nfacct) \ |
481 |
- $(use_enable ipmi plugin-freeipmi) \ |
482 |
- $(use_enable kinesis backend-kinesis) \ |
483 |
- $(use_enable lto lto) \ |
484 |
- $(use_enable mongodb backend-mongodb) \ |
485 |
- $(use_enable prometheus backend-prometheus-remote-write) \ |
486 |
- $(use_enable xen plugin-xenstat) \ |
487 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
488 |
- $(use_with compression zlib) |
489 |
-} |
490 |
- |
491 |
-src_compile() { |
492 |
- emake clean |
493 |
- default |
494 |
-} |
495 |
- |
496 |
-src_install() { |
497 |
- default |
498 |
- |
499 |
- rm -rf "${D}/var/cache" || die |
500 |
- |
501 |
- keepdir /var/log/netdata |
502 |
- fowners -Rc netdata:netdata /var/log/netdata |
503 |
- keepdir /var/lib/netdata |
504 |
- keepdir /var/lib/netdata/registry |
505 |
- fowners -Rc netdata:netdata /var/lib/netdata |
506 |
- |
507 |
- fowners -Rc root:netdata /usr/share/${PN} |
508 |
- |
509 |
- newinitd system/netdata-openrc ${PN} |
510 |
- systemd_dounit system/netdata.service |
511 |
- insinto /etc/netdata |
512 |
- doins system/netdata.conf |
513 |
-} |
514 |
- |
515 |
-pkg_postinst() { |
516 |
- fcaps_pkg_postinst |
517 |
- |
518 |
- if use nfacct ; then |
519 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
520 |
- fi |
521 |
- |
522 |
- if use xen ; then |
523 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
524 |
- fi |
525 |
- |
526 |
- if use ipmi ; then |
527 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
528 |
- fi |
529 |
-} |
530 |
|
531 |
diff --git a/net-analyzer/netdata/netdata-1.33.1.ebuild b/net-analyzer/netdata/netdata-1.33.1.ebuild |
532 |
deleted file mode 100644 |
533 |
index 5fe0d66e35d4..000000000000 |
534 |
--- a/net-analyzer/netdata/netdata-1.33.1.ebuild |
535 |
+++ /dev/null |
536 |
@@ -1,157 +0,0 @@ |
537 |
-# Copyright 1999-2022 Gentoo Authors |
538 |
-# Distributed under the terms of the GNU General Public License v2 |
539 |
- |
540 |
-EAPI=7 |
541 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
542 |
- |
543 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
544 |
- |
545 |
-if [[ ${PV} == *9999 ]] ; then |
546 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
547 |
- inherit git-r3 |
548 |
-else |
549 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
550 |
- S="${WORKDIR}/${PN}-v${PV}" |
551 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
552 |
-fi |
553 |
- |
554 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
555 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
556 |
- |
557 |
-LICENSE="GPL-3+ MIT BSD" |
558 |
-SLOT="0" |
559 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
560 |
-REQUIRED_USE=" |
561 |
- mysql? ( python ) |
562 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
563 |
- tor? ( python )" |
564 |
- |
565 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
566 |
-RDEPEND=" |
567 |
- acct-group/netdata |
568 |
- acct-user/netdata |
569 |
- app-misc/jq |
570 |
- >=app-shells/bash-4:0 |
571 |
- || ( |
572 |
- net-analyzer/openbsd-netcat |
573 |
- net-analyzer/netcat |
574 |
- ) |
575 |
- net-libs/libwebsockets |
576 |
- net-misc/curl |
577 |
- net-misc/wget |
578 |
- sys-apps/util-linux |
579 |
- virtual/awk |
580 |
- caps? ( sys-libs/libcap ) |
581 |
- cups? ( net-print/cups ) |
582 |
- dbengine? ( |
583 |
- app-arch/lz4 |
584 |
- dev-libs/judy |
585 |
- dev-libs/openssl:= |
586 |
- ) |
587 |
- dev-libs/libuv |
588 |
- compression? ( sys-libs/zlib ) |
589 |
- ipmi? ( sys-libs/freeipmi ) |
590 |
- jsonc? ( dev-libs/json-c:= ) |
591 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
592 |
- mongodb? ( dev-libs/mongo-c-driver ) |
593 |
- nfacct? ( |
594 |
- net-firewall/nfacct |
595 |
- net-libs/libmnl |
596 |
- ) |
597 |
- nodejs? ( net-libs/nodejs ) |
598 |
- prometheus? ( |
599 |
- dev-libs/protobuf:= |
600 |
- app-arch/snappy |
601 |
- ) |
602 |
- python? ( |
603 |
- ${PYTHON_DEPS} |
604 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
605 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
606 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
607 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
608 |
- ) |
609 |
- xen? ( |
610 |
- app-emulation/xen-tools |
611 |
- dev-libs/yajl |
612 |
- )" |
613 |
-DEPEND="${RDEPEND} |
614 |
- virtual/pkgconfig" |
615 |
- |
616 |
-FILECAPS=( |
617 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
618 |
-) |
619 |
- |
620 |
-pkg_setup() { |
621 |
- use python && python-single-r1_pkg_setup |
622 |
- linux-info_pkg_setup |
623 |
-} |
624 |
- |
625 |
-src_prepare() { |
626 |
- default |
627 |
- eautoreconf |
628 |
-} |
629 |
- |
630 |
-src_configure() { |
631 |
- if use ppc64; then |
632 |
- # bundled dlib does not support vsx on big-endian |
633 |
- # https://github.com/davisking/dlib/issues/397 |
634 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
635 |
- fi |
636 |
- |
637 |
- econf \ |
638 |
- --localstatedir="${EPREFIX}"/var \ |
639 |
- --with-user=netdata \ |
640 |
- $(use_enable cloud) \ |
641 |
- $(use_enable jsonc) \ |
642 |
- $(use_enable cups plugin-cups) \ |
643 |
- $(use_enable dbengine) \ |
644 |
- $(use_enable nfacct plugin-nfacct) \ |
645 |
- $(use_enable ipmi plugin-freeipmi) \ |
646 |
- $(use_enable kinesis backend-kinesis) \ |
647 |
- $(use_enable lto lto) \ |
648 |
- $(use_enable mongodb backend-mongodb) \ |
649 |
- $(use_enable prometheus backend-prometheus-remote-write) \ |
650 |
- $(use_enable xen plugin-xenstat) \ |
651 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
652 |
- $(use_with compression zlib) |
653 |
-} |
654 |
- |
655 |
-src_compile() { |
656 |
- emake clean |
657 |
- default |
658 |
-} |
659 |
- |
660 |
-src_install() { |
661 |
- default |
662 |
- |
663 |
- rm -rf "${D}/var/cache" || die |
664 |
- |
665 |
- keepdir /var/log/netdata |
666 |
- fowners -Rc netdata:netdata /var/log/netdata |
667 |
- keepdir /var/lib/netdata |
668 |
- keepdir /var/lib/netdata/registry |
669 |
- fowners -Rc netdata:netdata /var/lib/netdata |
670 |
- |
671 |
- fowners -Rc root:netdata /usr/share/${PN} |
672 |
- |
673 |
- newinitd system/netdata-openrc ${PN} |
674 |
- systemd_dounit system/netdata.service |
675 |
- insinto /etc/netdata |
676 |
- doins system/netdata.conf |
677 |
-} |
678 |
- |
679 |
-pkg_postinst() { |
680 |
- fcaps_pkg_postinst |
681 |
- |
682 |
- if use nfacct ; then |
683 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
684 |
- fi |
685 |
- |
686 |
- if use xen ; then |
687 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
688 |
- fi |
689 |
- |
690 |
- if use ipmi ; then |
691 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
692 |
- fi |
693 |
-} |
694 |
|
695 |
diff --git a/net-analyzer/netdata/netdata-1.34.1-r1.ebuild b/net-analyzer/netdata/netdata-1.34.1-r1.ebuild |
696 |
deleted file mode 100644 |
697 |
index 3df5ef6ecd47..000000000000 |
698 |
--- a/net-analyzer/netdata/netdata-1.34.1-r1.ebuild |
699 |
+++ /dev/null |
700 |
@@ -1,159 +0,0 @@ |
701 |
-# Copyright 1999-2022 Gentoo Authors |
702 |
-# Distributed under the terms of the GNU General Public License v2 |
703 |
- |
704 |
-EAPI=8 |
705 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
706 |
- |
707 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
708 |
- |
709 |
-if [[ ${PV} == *9999 ]] ; then |
710 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
711 |
- inherit git-r3 |
712 |
-else |
713 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
714 |
- S="${WORKDIR}/${PN}-v${PV}" |
715 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
716 |
-fi |
717 |
- |
718 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
719 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
720 |
- |
721 |
-LICENSE="GPL-3+ MIT BSD" |
722 |
-SLOT="0" |
723 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
724 |
-REQUIRED_USE=" |
725 |
- mysql? ( python ) |
726 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
727 |
- tor? ( python )" |
728 |
- |
729 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
730 |
-RDEPEND=" |
731 |
- acct-group/netdata |
732 |
- acct-user/netdata |
733 |
- app-misc/jq |
734 |
- >=app-shells/bash-4:0 |
735 |
- || ( |
736 |
- net-analyzer/openbsd-netcat |
737 |
- net-analyzer/netcat |
738 |
- ) |
739 |
- net-libs/libwebsockets |
740 |
- net-misc/curl |
741 |
- net-misc/wget |
742 |
- sys-apps/util-linux |
743 |
- virtual/awk |
744 |
- caps? ( sys-libs/libcap ) |
745 |
- cups? ( net-print/cups ) |
746 |
- dbengine? ( |
747 |
- app-arch/lz4 |
748 |
- dev-libs/judy |
749 |
- dev-libs/openssl:= |
750 |
- ) |
751 |
- dev-libs/libuv |
752 |
- cloud? ( dev-libs/protobuf:= ) |
753 |
- compression? ( sys-libs/zlib ) |
754 |
- ipmi? ( sys-libs/freeipmi ) |
755 |
- jsonc? ( dev-libs/json-c:= ) |
756 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
757 |
- mongodb? ( dev-libs/mongo-c-driver ) |
758 |
- nfacct? ( |
759 |
- net-firewall/nfacct |
760 |
- net-libs/libmnl |
761 |
- ) |
762 |
- nodejs? ( net-libs/nodejs ) |
763 |
- prometheus? ( |
764 |
- dev-libs/protobuf:= |
765 |
- app-arch/snappy |
766 |
- ) |
767 |
- python? ( |
768 |
- ${PYTHON_DEPS} |
769 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
770 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
771 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
772 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
773 |
- ) |
774 |
- xen? ( |
775 |
- app-emulation/xen-tools |
776 |
- dev-libs/yajl |
777 |
- )" |
778 |
-DEPEND="${RDEPEND} |
779 |
- virtual/pkgconfig" |
780 |
- |
781 |
-FILECAPS=( |
782 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
783 |
-) |
784 |
- |
785 |
-pkg_setup() { |
786 |
- use python && python-single-r1_pkg_setup |
787 |
- linux-info_pkg_setup |
788 |
-} |
789 |
- |
790 |
-src_prepare() { |
791 |
- default |
792 |
- eautoreconf |
793 |
-} |
794 |
- |
795 |
-src_configure() { |
796 |
- if use ppc64; then |
797 |
- # bundled dlib does not support vsx on big-endian |
798 |
- # https://github.com/davisking/dlib/issues/397 |
799 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
800 |
- fi |
801 |
- |
802 |
- econf \ |
803 |
- --localstatedir="${EPREFIX}"/var \ |
804 |
- --with-user=netdata \ |
805 |
- --without-bundled-protobuf \ |
806 |
- $(use_enable cloud) \ |
807 |
- $(use_enable jsonc) \ |
808 |
- $(use_enable cups plugin-cups) \ |
809 |
- $(use_enable dbengine) \ |
810 |
- $(use_enable nfacct plugin-nfacct) \ |
811 |
- $(use_enable ipmi plugin-freeipmi) \ |
812 |
- $(use_enable kinesis exporting-kinesis) \ |
813 |
- $(use_enable lto lto) \ |
814 |
- $(use_enable mongodb exporting-mongodb) \ |
815 |
- $(use_enable prometheus exporting-prometheus-remote-write) \ |
816 |
- $(use_enable xen plugin-xenstat) \ |
817 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
818 |
- $(use_with compression zlib) |
819 |
-} |
820 |
- |
821 |
-src_compile() { |
822 |
- emake clean |
823 |
- default |
824 |
-} |
825 |
- |
826 |
-src_install() { |
827 |
- default |
828 |
- |
829 |
- rm -rf "${D}/var/cache" || die |
830 |
- |
831 |
- keepdir /var/log/netdata |
832 |
- fowners -Rc netdata:netdata /var/log/netdata |
833 |
- keepdir /var/lib/netdata |
834 |
- keepdir /var/lib/netdata/registry |
835 |
- fowners -Rc netdata:netdata /var/lib/netdata |
836 |
- |
837 |
- fowners -Rc root:netdata /usr/share/${PN} |
838 |
- |
839 |
- newinitd system/netdata-openrc ${PN} |
840 |
- systemd_dounit system/netdata.service |
841 |
- insinto /etc/netdata |
842 |
- doins system/netdata.conf |
843 |
-} |
844 |
- |
845 |
-pkg_postinst() { |
846 |
- fcaps_pkg_postinst |
847 |
- |
848 |
- if use nfacct ; then |
849 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
850 |
- fi |
851 |
- |
852 |
- if use xen ; then |
853 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
854 |
- fi |
855 |
- |
856 |
- if use ipmi ; then |
857 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
858 |
- fi |
859 |
-} |
860 |
|
861 |
diff --git a/net-analyzer/netdata/netdata-1.34.1.ebuild b/net-analyzer/netdata/netdata-1.34.1.ebuild |
862 |
deleted file mode 100644 |
863 |
index a7abbd226016..000000000000 |
864 |
--- a/net-analyzer/netdata/netdata-1.34.1.ebuild |
865 |
+++ /dev/null |
866 |
@@ -1,159 +0,0 @@ |
867 |
-# Copyright 1999-2022 Gentoo Authors |
868 |
-# Distributed under the terms of the GNU General Public License v2 |
869 |
- |
870 |
-EAPI=8 |
871 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
872 |
- |
873 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
874 |
- |
875 |
-if [[ ${PV} == *9999 ]] ; then |
876 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
877 |
- inherit git-r3 |
878 |
-else |
879 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
880 |
- S="${WORKDIR}/${PN}-v${PV}" |
881 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
882 |
-fi |
883 |
- |
884 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
885 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
886 |
- |
887 |
-LICENSE="GPL-3+ MIT BSD" |
888 |
-SLOT="0" |
889 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
890 |
-REQUIRED_USE=" |
891 |
- mysql? ( python ) |
892 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
893 |
- tor? ( python )" |
894 |
- |
895 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
896 |
-RDEPEND=" |
897 |
- acct-group/netdata |
898 |
- acct-user/netdata |
899 |
- app-misc/jq |
900 |
- >=app-shells/bash-4:0 |
901 |
- || ( |
902 |
- net-analyzer/openbsd-netcat |
903 |
- net-analyzer/netcat |
904 |
- ) |
905 |
- net-libs/libwebsockets |
906 |
- net-misc/curl |
907 |
- net-misc/wget |
908 |
- sys-apps/util-linux |
909 |
- virtual/awk |
910 |
- caps? ( sys-libs/libcap ) |
911 |
- cups? ( net-print/cups ) |
912 |
- dbengine? ( |
913 |
- app-arch/lz4 |
914 |
- dev-libs/judy |
915 |
- dev-libs/openssl:= |
916 |
- ) |
917 |
- dev-libs/libuv |
918 |
- cloud? ( dev-libs/protobuf:= ) |
919 |
- compression? ( sys-libs/zlib ) |
920 |
- ipmi? ( sys-libs/freeipmi ) |
921 |
- jsonc? ( dev-libs/json-c:= ) |
922 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
923 |
- mongodb? ( dev-libs/mongo-c-driver ) |
924 |
- nfacct? ( |
925 |
- net-firewall/nfacct |
926 |
- net-libs/libmnl |
927 |
- ) |
928 |
- nodejs? ( net-libs/nodejs ) |
929 |
- prometheus? ( |
930 |
- dev-libs/protobuf:= |
931 |
- app-arch/snappy |
932 |
- ) |
933 |
- python? ( |
934 |
- ${PYTHON_DEPS} |
935 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
936 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
937 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
938 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
939 |
- ) |
940 |
- xen? ( |
941 |
- app-emulation/xen-tools |
942 |
- dev-libs/yajl |
943 |
- )" |
944 |
-DEPEND="${RDEPEND} |
945 |
- virtual/pkgconfig" |
946 |
- |
947 |
-FILECAPS=( |
948 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
949 |
-) |
950 |
- |
951 |
-pkg_setup() { |
952 |
- use python && python-single-r1_pkg_setup |
953 |
- linux-info_pkg_setup |
954 |
-} |
955 |
- |
956 |
-src_prepare() { |
957 |
- default |
958 |
- eautoreconf |
959 |
-} |
960 |
- |
961 |
-src_configure() { |
962 |
- if use ppc64; then |
963 |
- # bundled dlib does not support vsx on big-endian |
964 |
- # https://github.com/davisking/dlib/issues/397 |
965 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
966 |
- fi |
967 |
- |
968 |
- econf \ |
969 |
- --localstatedir="${EPREFIX}"/var \ |
970 |
- --with-user=netdata \ |
971 |
- --without-bundled-protobuf \ |
972 |
- $(use_enable cloud) \ |
973 |
- $(use_enable jsonc) \ |
974 |
- $(use_enable cups plugin-cups) \ |
975 |
- $(use_enable dbengine) \ |
976 |
- $(use_enable nfacct plugin-nfacct) \ |
977 |
- $(use_enable ipmi plugin-freeipmi) \ |
978 |
- $(use_enable kinesis backend-kinesis) \ |
979 |
- $(use_enable lto lto) \ |
980 |
- $(use_enable mongodb backend-mongodb) \ |
981 |
- $(use_enable prometheus backend-prometheus-remote-write) \ |
982 |
- $(use_enable xen plugin-xenstat) \ |
983 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
984 |
- $(use_with compression zlib) |
985 |
-} |
986 |
- |
987 |
-src_compile() { |
988 |
- emake clean |
989 |
- default |
990 |
-} |
991 |
- |
992 |
-src_install() { |
993 |
- default |
994 |
- |
995 |
- rm -rf "${D}/var/cache" || die |
996 |
- |
997 |
- keepdir /var/log/netdata |
998 |
- fowners -Rc netdata:netdata /var/log/netdata |
999 |
- keepdir /var/lib/netdata |
1000 |
- keepdir /var/lib/netdata/registry |
1001 |
- fowners -Rc netdata:netdata /var/lib/netdata |
1002 |
- |
1003 |
- fowners -Rc root:netdata /usr/share/${PN} |
1004 |
- |
1005 |
- newinitd system/netdata-openrc ${PN} |
1006 |
- systemd_dounit system/netdata.service |
1007 |
- insinto /etc/netdata |
1008 |
- doins system/netdata.conf |
1009 |
-} |
1010 |
- |
1011 |
-pkg_postinst() { |
1012 |
- fcaps_pkg_postinst |
1013 |
- |
1014 |
- if use nfacct ; then |
1015 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
1016 |
- fi |
1017 |
- |
1018 |
- if use xen ; then |
1019 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
1020 |
- fi |
1021 |
- |
1022 |
- if use ipmi ; then |
1023 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
1024 |
- fi |
1025 |
-} |
1026 |
|
1027 |
diff --git a/net-analyzer/netdata/netdata-1.35.0.ebuild b/net-analyzer/netdata/netdata-1.35.0.ebuild |
1028 |
deleted file mode 100644 |
1029 |
index 3df5ef6ecd47..000000000000 |
1030 |
--- a/net-analyzer/netdata/netdata-1.35.0.ebuild |
1031 |
+++ /dev/null |
1032 |
@@ -1,159 +0,0 @@ |
1033 |
-# Copyright 1999-2022 Gentoo Authors |
1034 |
-# Distributed under the terms of the GNU General Public License v2 |
1035 |
- |
1036 |
-EAPI=8 |
1037 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
1038 |
- |
1039 |
-inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs |
1040 |
- |
1041 |
-if [[ ${PV} == *9999 ]] ; then |
1042 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
1043 |
- inherit git-r3 |
1044 |
-else |
1045 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
1046 |
- S="${WORKDIR}/${PN}-v${PV}" |
1047 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
1048 |
-fi |
1049 |
- |
1050 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
1051 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
1052 |
- |
1053 |
-LICENSE="GPL-3+ MIT BSD" |
1054 |
-SLOT="0" |
1055 |
-IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
1056 |
-REQUIRED_USE=" |
1057 |
- mysql? ( python ) |
1058 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
1059 |
- tor? ( python )" |
1060 |
- |
1061 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
1062 |
-RDEPEND=" |
1063 |
- acct-group/netdata |
1064 |
- acct-user/netdata |
1065 |
- app-misc/jq |
1066 |
- >=app-shells/bash-4:0 |
1067 |
- || ( |
1068 |
- net-analyzer/openbsd-netcat |
1069 |
- net-analyzer/netcat |
1070 |
- ) |
1071 |
- net-libs/libwebsockets |
1072 |
- net-misc/curl |
1073 |
- net-misc/wget |
1074 |
- sys-apps/util-linux |
1075 |
- virtual/awk |
1076 |
- caps? ( sys-libs/libcap ) |
1077 |
- cups? ( net-print/cups ) |
1078 |
- dbengine? ( |
1079 |
- app-arch/lz4 |
1080 |
- dev-libs/judy |
1081 |
- dev-libs/openssl:= |
1082 |
- ) |
1083 |
- dev-libs/libuv |
1084 |
- cloud? ( dev-libs/protobuf:= ) |
1085 |
- compression? ( sys-libs/zlib ) |
1086 |
- ipmi? ( sys-libs/freeipmi ) |
1087 |
- jsonc? ( dev-libs/json-c:= ) |
1088 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
1089 |
- mongodb? ( dev-libs/mongo-c-driver ) |
1090 |
- nfacct? ( |
1091 |
- net-firewall/nfacct |
1092 |
- net-libs/libmnl |
1093 |
- ) |
1094 |
- nodejs? ( net-libs/nodejs ) |
1095 |
- prometheus? ( |
1096 |
- dev-libs/protobuf:= |
1097 |
- app-arch/snappy |
1098 |
- ) |
1099 |
- python? ( |
1100 |
- ${PYTHON_DEPS} |
1101 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') |
1102 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) |
1103 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) |
1104 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) |
1105 |
- ) |
1106 |
- xen? ( |
1107 |
- app-emulation/xen-tools |
1108 |
- dev-libs/yajl |
1109 |
- )" |
1110 |
-DEPEND="${RDEPEND} |
1111 |
- virtual/pkgconfig" |
1112 |
- |
1113 |
-FILECAPS=( |
1114 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
1115 |
-) |
1116 |
- |
1117 |
-pkg_setup() { |
1118 |
- use python && python-single-r1_pkg_setup |
1119 |
- linux-info_pkg_setup |
1120 |
-} |
1121 |
- |
1122 |
-src_prepare() { |
1123 |
- default |
1124 |
- eautoreconf |
1125 |
-} |
1126 |
- |
1127 |
-src_configure() { |
1128 |
- if use ppc64; then |
1129 |
- # bundled dlib does not support vsx on big-endian |
1130 |
- # https://github.com/davisking/dlib/issues/397 |
1131 |
- [[ $(tc-endian) == big ]] && append-flags -mno-vsx |
1132 |
- fi |
1133 |
- |
1134 |
- econf \ |
1135 |
- --localstatedir="${EPREFIX}"/var \ |
1136 |
- --with-user=netdata \ |
1137 |
- --without-bundled-protobuf \ |
1138 |
- $(use_enable cloud) \ |
1139 |
- $(use_enable jsonc) \ |
1140 |
- $(use_enable cups plugin-cups) \ |
1141 |
- $(use_enable dbengine) \ |
1142 |
- $(use_enable nfacct plugin-nfacct) \ |
1143 |
- $(use_enable ipmi plugin-freeipmi) \ |
1144 |
- $(use_enable kinesis exporting-kinesis) \ |
1145 |
- $(use_enable lto lto) \ |
1146 |
- $(use_enable mongodb exporting-mongodb) \ |
1147 |
- $(use_enable prometheus exporting-prometheus-remote-write) \ |
1148 |
- $(use_enable xen plugin-xenstat) \ |
1149 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
1150 |
- $(use_with compression zlib) |
1151 |
-} |
1152 |
- |
1153 |
-src_compile() { |
1154 |
- emake clean |
1155 |
- default |
1156 |
-} |
1157 |
- |
1158 |
-src_install() { |
1159 |
- default |
1160 |
- |
1161 |
- rm -rf "${D}/var/cache" || die |
1162 |
- |
1163 |
- keepdir /var/log/netdata |
1164 |
- fowners -Rc netdata:netdata /var/log/netdata |
1165 |
- keepdir /var/lib/netdata |
1166 |
- keepdir /var/lib/netdata/registry |
1167 |
- fowners -Rc netdata:netdata /var/lib/netdata |
1168 |
- |
1169 |
- fowners -Rc root:netdata /usr/share/${PN} |
1170 |
- |
1171 |
- newinitd system/netdata-openrc ${PN} |
1172 |
- systemd_dounit system/netdata.service |
1173 |
- insinto /etc/netdata |
1174 |
- doins system/netdata.conf |
1175 |
-} |
1176 |
- |
1177 |
-pkg_postinst() { |
1178 |
- fcaps_pkg_postinst |
1179 |
- |
1180 |
- if use nfacct ; then |
1181 |
- fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' |
1182 |
- fi |
1183 |
- |
1184 |
- if use xen ; then |
1185 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
1186 |
- fi |
1187 |
- |
1188 |
- if use ipmi ; then |
1189 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' |
1190 |
- fi |
1191 |
-} |