Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netdata/
Date: Tue, 02 Jul 2019 20:57:14
Message-Id: 1562101022.221570031a37bcab9e4d27521d6749f73d0d25e5.candrews@gentoo
1 commit: 221570031a37bcab9e4d27521d6749f73d0d25e5
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 2 20:54:11 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 2 20:57:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22157003
7
8 net-analyzer/netdata: add support for dbengine
9
10 Closes: https://bugs.gentoo.org/687436
11 Package-Manager: Portage-2.3.68, Repoman-2.3.16
12 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
13
14 net-analyzer/netdata/metadata.xml | 1 +
15 .../netdata/{netdata-9999.ebuild => netdata-1.15.0-r1.ebuild} | 9 ++++++++-
16 net-analyzer/netdata/netdata-9999.ebuild | 9 ++++++++-
17 3 files changed, 17 insertions(+), 2 deletions(-)
18
19 diff --git a/net-analyzer/netdata/metadata.xml b/net-analyzer/netdata/metadata.xml
20 index 06a8ae53618..f12bf742e15 100644
21 --- a/net-analyzer/netdata/metadata.xml
22 +++ b/net-analyzer/netdata/metadata.xml
23 @@ -7,6 +7,7 @@
24 </maintainer>
25 <use>
26 <flag name="compression">Enable compression via zlib</flag>
27 + <flag name="dbengine">Enable the Netdata database engine</flag>
28 <flag name="ipmi">Install <pkg>sys-apps/ipmitool</pkg> required for monitoring IPMI sensors.</flag>
29 <flag name="nfacct">Enable the nfacct plugin</flag>
30 <flag name="nodejs">Enable use of nodejs (which some plugins use)</flag>
31
32 diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-1.15.0-r1.ebuild
33 similarity index 92%
34 copy from net-analyzer/netdata/netdata-9999.ebuild
35 copy to net-analyzer/netdata/netdata-1.15.0-r1.ebuild
36 index 54d150969d3..19ed4f693a0 100644
37 --- a/net-analyzer/netdata/netdata-9999.ebuild
38 +++ b/net-analyzer/netdata/netdata-1.15.0-r1.ebuild
39 @@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
40
41 LICENSE="GPL-3+ MIT BSD"
42 SLOT="0"
43 -IUSE="caps +compression cpu_flags_x86_sse2 cups ipmi mysql nfacct nodejs postgres +python tor xen"
44 +IUSE="caps +compression cpu_flags_x86_sse2 cups dbengine ipmi mysql nfacct nodejs postgres +python tor xen"
45 REQUIRED_USE="
46 mysql? ( python )
47 python? ( ${PYTHON_REQUIRED_USE} )
48 @@ -41,6 +41,12 @@ RDEPEND="
49 virtual/awk
50 caps? ( sys-libs/libcap )
51 cups? ( net-print/cups )
52 + dbengine? (
53 + dev-libs/libuv
54 + app-arch/lz4
55 + dev-libs/judy
56 + dev-libs/openssl:=
57 + )
58 compression? ( sys-libs/zlib )
59 ipmi? ( sys-libs/freeipmi )
60 nfacct? (
61 @@ -91,6 +97,7 @@ src_configure() {
62 --localstatedir="${EPREFIX}"/var \
63 --with-user=${NETDATA_USER} \
64 $(use_enable cups plugin-cups) \
65 + $(use_enable dbengine) \
66 $(use_enable nfacct plugin-nfacct) \
67 $(use_enable ipmi plugin-freeipmi) \
68 $(use_enable xen plugin-xenstat) \
69
70 diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild
71 index 54d150969d3..19ed4f693a0 100644
72 --- a/net-analyzer/netdata/netdata-9999.ebuild
73 +++ b/net-analyzer/netdata/netdata-9999.ebuild
74 @@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
75
76 LICENSE="GPL-3+ MIT BSD"
77 SLOT="0"
78 -IUSE="caps +compression cpu_flags_x86_sse2 cups ipmi mysql nfacct nodejs postgres +python tor xen"
79 +IUSE="caps +compression cpu_flags_x86_sse2 cups dbengine ipmi mysql nfacct nodejs postgres +python tor xen"
80 REQUIRED_USE="
81 mysql? ( python )
82 python? ( ${PYTHON_REQUIRED_USE} )
83 @@ -41,6 +41,12 @@ RDEPEND="
84 virtual/awk
85 caps? ( sys-libs/libcap )
86 cups? ( net-print/cups )
87 + dbengine? (
88 + dev-libs/libuv
89 + app-arch/lz4
90 + dev-libs/judy
91 + dev-libs/openssl:=
92 + )
93 compression? ( sys-libs/zlib )
94 ipmi? ( sys-libs/freeipmi )
95 nfacct? (
96 @@ -91,6 +97,7 @@ src_configure() {
97 --localstatedir="${EPREFIX}"/var \
98 --with-user=${NETDATA_USER} \
99 $(use_enable cups plugin-cups) \
100 + $(use_enable dbengine) \
101 $(use_enable nfacct plugin-nfacct) \
102 $(use_enable ipmi plugin-freeipmi) \
103 $(use_enable xen plugin-xenstat) \