1 |
commit: 5921aaec6b923c263604f0ad7453ea10580759a4 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 3 14:10:58 2021 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 3 14:11:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5921aaec |
7 |
|
8 |
net-analyzer/netdata: Cleanup old version |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/netdata/Manifest | 1 - |
14 |
net-analyzer/netdata/netdata-1.28.0.ebuild | 138 ----------------------------- |
15 |
2 files changed, 139 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/netdata/Manifest b/net-analyzer/netdata/Manifest |
18 |
index d22d598f793..bf854116e37 100644 |
19 |
--- a/net-analyzer/netdata/Manifest |
20 |
+++ b/net-analyzer/netdata/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST netdata-1.28.0.tar.gz 6218048 BLAKE2B 9ee0eea1a17df207ffbc934b3c0dfe261fb3c3a51312947df0e287fc29c4dacf35e414593da0b3829999cea6bb03eab89fe7f1743fdcc3be39d532427a9239b2 SHA512 98048ebb10ff9db9cd273fb7b66e30aa14f6cd71e53a0c80c7ac5bd45c9f85b64b1d2d5fd12734921a11b584f67435563e26f0249aab61458b563405bbc54b17 |
23 |
DIST netdata-1.29.0.tar.gz 6233326 BLAKE2B b177fba4d6560b289e5a9fbedffe7f3eae53074fea30483a54a682370ab5427bb1002392ea44efd1c7675dd8347116675d91ac47dbd3fb3d0c66d0391d63971c SHA512 adcc450492f769a1d6277b551d318479dac2150b2c92b9ab648bb3f30cfe3cd0717f2febbe5299093f1d0638a90523aad9f6a073fc34bd91990d2c90416d0fdc |
24 |
|
25 |
diff --git a/net-analyzer/netdata/netdata-1.28.0.ebuild b/net-analyzer/netdata/netdata-1.28.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 256ee9f3417..00000000000 |
28 |
--- a/net-analyzer/netdata/netdata-1.28.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,138 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
36 |
- |
37 |
-inherit autotools fcaps linux-info python-single-r1 systemd |
38 |
- |
39 |
-if [[ ${PV} == *9999 ]] ; then |
40 |
- EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
41 |
- inherit git-r3 |
42 |
-else |
43 |
- SRC_URI="https://github.com/netdata/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- KEYWORDS="~amd64 ~x86" |
45 |
-fi |
46 |
- |
47 |
-DESCRIPTION="Linux real time system monitoring, done right!" |
48 |
-HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" |
49 |
- |
50 |
-LICENSE="GPL-3+ MIT BSD" |
51 |
-SLOT="0" |
52 |
-IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" |
53 |
-REQUIRED_USE=" |
54 |
- mysql? ( python ) |
55 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
56 |
- tor? ( python )" |
57 |
- |
58 |
-# most unconditional dependencies are for plugins.d/charts.d.plugin: |
59 |
-RDEPEND=" |
60 |
- acct-group/netdata |
61 |
- acct-user/netdata |
62 |
- app-misc/jq |
63 |
- >=app-shells/bash-4:0 |
64 |
- || ( |
65 |
- net-analyzer/openbsd-netcat |
66 |
- net-analyzer/netcat |
67 |
- ) |
68 |
- net-libs/libwebsockets |
69 |
- net-misc/curl |
70 |
- net-misc/wget |
71 |
- sys-apps/util-linux |
72 |
- virtual/awk |
73 |
- caps? ( sys-libs/libcap ) |
74 |
- cups? ( net-print/cups ) |
75 |
- dbengine? ( |
76 |
- app-arch/lz4 |
77 |
- dev-libs/judy |
78 |
- dev-libs/openssl:= |
79 |
- ) |
80 |
- dev-libs/libuv |
81 |
- compression? ( sys-libs/zlib ) |
82 |
- ipmi? ( sys-libs/freeipmi ) |
83 |
- jsonc? ( dev-libs/json-c:= ) |
84 |
- kinesis? ( dev-libs/aws-sdk-cpp[kinesis] ) |
85 |
- mongodb? ( dev-libs/mongo-c-driver ) |
86 |
- nfacct? ( |
87 |
- net-firewall/nfacct |
88 |
- net-libs/libmnl |
89 |
- ) |
90 |
- nodejs? ( net-libs/nodejs ) |
91 |
- prometheus? ( |
92 |
- dev-libs/protobuf:= |
93 |
- app-arch/snappy |
94 |
- ) |
95 |
- python? ( |
96 |
- ${PYTHON_DEPS} |
97 |
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_MULTI_USEDEP}]') |
98 |
- mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_MULTI_USEDEP}]') ) |
99 |
- postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_MULTI_USEDEP}]') ) |
100 |
- tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_MULTI_USEDEP}]') ) |
101 |
- ) |
102 |
- xen? ( |
103 |
- app-emulation/xen-tools |
104 |
- dev-libs/yajl |
105 |
- )" |
106 |
-DEPEND="${RDEPEND} |
107 |
- virtual/pkgconfig" |
108 |
- |
109 |
-FILECAPS=( |
110 |
- 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' |
111 |
-) |
112 |
- |
113 |
-pkg_setup() { |
114 |
- use python && python-single-r1_pkg_setup |
115 |
- linux-info_pkg_setup |
116 |
-} |
117 |
- |
118 |
-src_prepare() { |
119 |
- default |
120 |
- eautoreconf |
121 |
-} |
122 |
- |
123 |
-src_configure() { |
124 |
- # --disable-cloud: https://github.com/netdata/netdata/issues/8961 |
125 |
- econf \ |
126 |
- --localstatedir="${EPREFIX}"/var \ |
127 |
- --with-user=netdata \ |
128 |
- --disable-cloud \ |
129 |
- $(use_enable jsonc) \ |
130 |
- $(use_enable cups plugin-cups) \ |
131 |
- $(use_enable dbengine) \ |
132 |
- $(use_enable nfacct plugin-nfacct) \ |
133 |
- $(use_enable ipmi plugin-freeipmi) \ |
134 |
- $(use_enable kinesis backend-kinesis) \ |
135 |
- $(use_enable lto lto) \ |
136 |
- $(use_enable mongodb backend-mongodb) \ |
137 |
- $(use_enable prometheus backend-prometheus-remote-write) \ |
138 |
- $(use_enable xen plugin-xenstat) \ |
139 |
- $(use_enable cpu_flags_x86_sse2 x86-sse) \ |
140 |
- $(use_with compression zlib) |
141 |
-} |
142 |
- |
143 |
-src_install() { |
144 |
- default |
145 |
- |
146 |
- rm -rf "${D}/var/cache" || die |
147 |
- |
148 |
- keepdir /var/log/netdata |
149 |
- fowners -Rc netdata:netdata /var/log/netdata |
150 |
- keepdir /var/lib/netdata |
151 |
- keepdir /var/lib/netdata/registry |
152 |
- fowners -Rc netdata:netdata /var/lib/netdata |
153 |
- |
154 |
- fowners -Rc root:netdata /usr/share/${PN} |
155 |
- |
156 |
- newinitd system/netdata-openrc ${PN} |
157 |
- systemd_dounit system/netdata.service |
158 |
- insinto /etc/netdata |
159 |
- doins system/netdata.conf |
160 |
-} |
161 |
- |
162 |
-pkg_postinst() { |
163 |
- fcaps_pkg_postinst |
164 |
- |
165 |
- if use xen ; then |
166 |
- fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' |
167 |
- fi |
168 |
-} |