summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-11-02 12:59:46 -0400
committerCraig Andrews <candrews@gentoo.org>2018-11-05 08:48:21 -0500
commit9f8bcf968ad5c2032221e4a1f8c5682f94107154 (patch)
tree97a57bbda80e77a5f8ac696653adc1879995e44b /net-analyzer
parentprofiles: mask mongo USE for net-analyzer/zmap on x86 (diff)
downloadgentoo-9f8bcf968ad5c2032221e4a1f8c5682f94107154.tar.gz
gentoo-9f8bcf968ad5c2032221e4a1f8c5682f94107154.tar.bz2
gentoo-9f8bcf968ad5c2032221e4a1f8c5682f94107154.zip
net-analyzer/netdata: Add tor support
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
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/netdata/metadata.xml1
-rw-r--r--net-analyzer/netdata/netdata-9999.ebuild7
2 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/netdata/metadata.xml b/net-analyzer/netdata/metadata.xml
index 80172c7cf071..04af360a6e2a 100644
--- a/net-analyzer/netdata/metadata.xml
+++ b/net-analyzer/netdata/metadata.xml
@@ -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>
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild
index 8d23470a368d..3b95eb4ed55b 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-9999.ebuild
@@ -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"