commit:     221570031a37bcab9e4d27521d6749f73d0d25e5
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  2 20:54:11 2019 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Jul  2 20:57:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22157003

net-analyzer/netdata: add support for dbengine

Closes: https://bugs.gentoo.org/687436
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-analyzer/netdata/metadata.xml                                | 1 +
 .../netdata/{netdata-9999.ebuild => netdata-1.15.0-r1.ebuild}    | 9 ++++++++-
 net-analyzer/netdata/netdata-9999.ebuild                         | 9 ++++++++-
 3 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/netdata/metadata.xml 
b/net-analyzer/netdata/metadata.xml
index 06a8ae53618..f12bf742e15 100644
--- a/net-analyzer/netdata/metadata.xml
+++ b/net-analyzer/netdata/metadata.xml
@@ -7,6 +7,7 @@
     </maintainer>
     <use>
         <flag name="compression">Enable compression via zlib</flag>
+        <flag name="dbengine">Enable the Netdata database engine</flag>
         <flag name="ipmi">Install <pkg>sys-apps/ipmitool</pkg> required for 
monitoring IPMI sensors.</flag>
         <flag name="nfacct">Enable the nfacct plugin</flag>
         <flag name="nodejs">Enable use of nodejs (which some plugins 
use)</flag>

diff --git a/net-analyzer/netdata/netdata-9999.ebuild 
b/net-analyzer/netdata/netdata-1.15.0-r1.ebuild
similarity index 92%
copy from net-analyzer/netdata/netdata-9999.ebuild
copy to net-analyzer/netdata/netdata-1.15.0-r1.ebuild
index 54d150969d3..19ed4f693a0 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-1.15.0-r1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/netdata/netdata 
https://my-netdata.io/";
 
 LICENSE="GPL-3+ MIT BSD"
 SLOT="0"
-IUSE="caps +compression cpu_flags_x86_sse2 cups ipmi mysql nfacct nodejs 
postgres +python tor xen"
+IUSE="caps +compression cpu_flags_x86_sse2 cups dbengine ipmi mysql nfacct 
nodejs postgres +python tor xen"
 REQUIRED_USE="
        mysql? ( python )
        python? ( ${PYTHON_REQUIRED_USE} )
@@ -41,6 +41,12 @@ RDEPEND="
        virtual/awk
        caps? ( sys-libs/libcap )
        cups? ( net-print/cups )
+       dbengine? (
+               dev-libs/libuv
+               app-arch/lz4
+               dev-libs/judy
+               dev-libs/openssl:=
+       )
        compression? ( sys-libs/zlib )
        ipmi? ( sys-libs/freeipmi )
        nfacct? (
@@ -91,6 +97,7 @@ src_configure() {
                --localstatedir="${EPREFIX}"/var \
                --with-user=${NETDATA_USER} \
                $(use_enable cups plugin-cups) \
+               $(use_enable dbengine) \
                $(use_enable nfacct plugin-nfacct) \
                $(use_enable ipmi plugin-freeipmi) \
                $(use_enable xen plugin-xenstat) \

diff --git a/net-analyzer/netdata/netdata-9999.ebuild 
b/net-analyzer/netdata/netdata-9999.ebuild
index 54d150969d3..19ed4f693a0 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-9999.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/netdata/netdata 
https://my-netdata.io/";
 
 LICENSE="GPL-3+ MIT BSD"
 SLOT="0"
-IUSE="caps +compression cpu_flags_x86_sse2 cups ipmi mysql nfacct nodejs 
postgres +python tor xen"
+IUSE="caps +compression cpu_flags_x86_sse2 cups dbengine ipmi mysql nfacct 
nodejs postgres +python tor xen"
 REQUIRED_USE="
        mysql? ( python )
        python? ( ${PYTHON_REQUIRED_USE} )
@@ -41,6 +41,12 @@ RDEPEND="
        virtual/awk
        caps? ( sys-libs/libcap )
        cups? ( net-print/cups )
+       dbengine? (
+               dev-libs/libuv
+               app-arch/lz4
+               dev-libs/judy
+               dev-libs/openssl:=
+       )
        compression? ( sys-libs/zlib )
        ipmi? ( sys-libs/freeipmi )
        nfacct? (
@@ -91,6 +97,7 @@ src_configure() {
                --localstatedir="${EPREFIX}"/var \
                --with-user=${NETDATA_USER} \
                $(use_enable cups plugin-cups) \
+               $(use_enable dbengine) \
                $(use_enable nfacct plugin-nfacct) \
                $(use_enable ipmi plugin-freeipmi) \
                $(use_enable xen plugin-xenstat) \

Reply via email to