1 |
commit: f9e5eed702dbd26546cbc4971cdb91d17ce26a90 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 22 01:49:52 2022 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 22 02:01:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e5eed7 |
7 |
|
8 |
net-analyzer/netdata: cloud requires protobuf |
9 |
|
10 |
Closes: https://bugs.gentoo.org/833857 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
13 |
|
14 |
.../netdata/{netdata-9999.ebuild => netdata-1.33.1-r1.ebuild} | 6 ++++-- |
15 |
net-analyzer/netdata/netdata-9999.ebuild | 2 ++ |
16 |
2 files changed, 6 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-1.33.1-r1.ebuild |
19 |
similarity index 94% |
20 |
copy from net-analyzer/netdata/netdata-9999.ebuild |
21 |
copy to net-analyzer/netdata/netdata-1.33.1-r1.ebuild |
22 |
index 5759c79ca15e..6dfe8112013e 100644 |
23 |
--- a/net-analyzer/netdata/netdata-9999.ebuild |
24 |
+++ b/net-analyzer/netdata/netdata-1.33.1-r1.ebuild |
25 |
@@ -10,8 +10,8 @@ if [[ ${PV} == *9999 ]] ; then |
26 |
EGIT_REPO_URI="https://github.com/netdata/${PN}.git" |
27 |
inherit git-r3 |
28 |
else |
29 |
- SRC_URI="https://github.com/netdata/${PN}/releases/download/${PV}/${PN}-${PV}.tar.gz -> ${P}.tar.gz" |
30 |
- S="${WORKDIR}/${PN}-${PV}" |
31 |
+ SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
32 |
+ S="${WORKDIR}/${PN}-v${PV}" |
33 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
34 |
fi |
35 |
|
36 |
@@ -49,6 +49,7 @@ RDEPEND=" |
37 |
dev-libs/openssl:= |
38 |
) |
39 |
dev-libs/libuv |
40 |
+ cloud? ( dev-libs/protobuf:= ) |
41 |
compression? ( sys-libs/zlib ) |
42 |
ipmi? ( sys-libs/freeipmi ) |
43 |
jsonc? ( dev-libs/json-c:= ) |
44 |
@@ -101,6 +102,7 @@ src_configure() { |
45 |
econf \ |
46 |
--localstatedir="${EPREFIX}"/var \ |
47 |
--with-user=netdata \ |
48 |
+ --without-bundled-protobuf \ |
49 |
$(use_enable cloud) \ |
50 |
$(use_enable jsonc) \ |
51 |
$(use_enable cups plugin-cups) \ |
52 |
|
53 |
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild |
54 |
index 5759c79ca15e..427b0ff777e1 100644 |
55 |
--- a/net-analyzer/netdata/netdata-9999.ebuild |
56 |
+++ b/net-analyzer/netdata/netdata-9999.ebuild |
57 |
@@ -49,6 +49,7 @@ RDEPEND=" |
58 |
dev-libs/openssl:= |
59 |
) |
60 |
dev-libs/libuv |
61 |
+ cloud? ( dev-libs/protobuf:= ) |
62 |
compression? ( sys-libs/zlib ) |
63 |
ipmi? ( sys-libs/freeipmi ) |
64 |
jsonc? ( dev-libs/json-c:= ) |
65 |
@@ -101,6 +102,7 @@ src_configure() { |
66 |
econf \ |
67 |
--localstatedir="${EPREFIX}"/var \ |
68 |
--with-user=netdata \ |
69 |
+ --without-bundled-protobuf \ |
70 |
$(use_enable cloud) \ |
71 |
$(use_enable jsonc) \ |
72 |
$(use_enable cups plugin-cups) \ |