net-analyzer/netdata: Add tor support
authorCraig Andrews <candrews@gentoo.org>
Fri, 2 Nov 2018 16:59:46 +0000 (12:59 -0400)
committerCraig Andrews <candrews@gentoo.org>
Mon, 5 Nov 2018 13:48:21 +0000 (08:48 -0500)
See https://github.com/netdata/netdata/pull/4546

Signed-off-by: Craig Andrews <candrews@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

net-analyzer/netdata/metadata.xml
net-analyzer/netdata/netdata-9999.ebuild

index 80172c7cf071777f4b3282b498bfa82da8b8a355..04af360a6e2acd9e14641d63b7cb78b295523ef1 100644 (file)
@@ -10,6 +10,7 @@
         <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>
+        <flag name="tor">Enable monitoring of tor</flag>
     </use>
     <upstream>
         <remote-id type="github">netdata/netdata</remote-id>
index 8d23470a368d1e8d0a3eff82814ba5c76bc1de43..3b95eb4ed55bd61bad56ceccd88eda6af3a5beb1 100644 (file)
@@ -19,10 +19,12 @@ HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
 
 LICENSE="GPL-3+ MIT BSD"
 SLOT="0"
-IUSE="caps +compression cpu_flags_x86_sse2 ipmi mysql nfacct nodejs postgres +python"
+IUSE="caps +compression cpu_flags_x86_sse2 ipmi mysql nfacct nodejs postgres +python tor"
 REQUIRED_USE="
        mysql? ( python )
-       python? ( ${PYTHON_REQUIRED_USE} )"
+       python? ( ${PYTHON_REQUIRED_USE} )
+       tor? ( python )"
+
 # most unconditional dependencies are for plugins.d/charts.d.plugin:
 RDEPEND="
        >=app-shells/bash-4:0
@@ -55,6 +57,7 @@ RDEPEND="
                        )
                )
                postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
+               tor? ( net-libs/stem[${PYTHON_USEDEP}] )
        )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"