Skip to content

Commit

Permalink
net-analyzer/netdata: Add tor support
Browse files Browse the repository at this point in the history
See netdata/netdata#4546

Signed-off-by: Craig Andrews <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
candrews committed Nov 5, 2018
1 parent 5f83751 commit 9f8bcf9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions net-analyzer/netdata/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
7 changes: 5 additions & 2 deletions net-analyzer/netdata/netdata-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -55,6 +57,7 @@ RDEPEND="
)
)
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
tor? ( net-libs/stem[${PYTHON_USEDEP}] )
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
Expand Down

0 comments on commit 9f8bcf9

Please sign in to comment.