commit: 4482012f5bd8f2a753509d6214ec284466731d59
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 14:12:26 2016 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 19:48:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4482012f
net-analyzer/ntopng: updated dependencies
Added missing dependencies: dev-libs/json-c
and added redis use flag, and dependency to dev-libs/hiredis
I'm not sure if dev-db/redis is still needed
Package-Manager: portage-2.3.2
net-analyzer/ntopng/metadata.xml | 3 +++
net-analyzer/ntopng/ntopng-2.4.ebuild | 6 ++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/ntopng/metadata.xml b/net-analyzer/ntopng/metadata.xml
index cab61f7..9b7a6e8 100644
--- a/net-analyzer/ntopng/metadata.xml
+++ b/net-analyzer/ntopng/metadata.xml
@@ -7,4 +7,7 @@
<upstream>
<remote-id type="sourceforge">ntop</remote-id>
</upstream>
+ <use>
+ <flag name="redis">Enable REDIS support</flag>
+ </use>
</pkgmetadata>
diff --git a/net-analyzer/ntopng/ntopng-2.4.ebuild
b/net-analyzer/ntopng/ntopng-2.4.ebuild
index f6c9071..6f8199c 100644
--- a/net-analyzer/ntopng/ntopng-2.4.ebuild
+++ b/net-analyzer/ntopng/ntopng-2.4.ebuild
@@ -12,20 +12,22 @@ SRC_URI="mirror://sourceforge/ntop/${PN}/${P}-stable.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="redis"
DEPEND="dev-db/sqlite:3
dev-python/pyzmq
dev-lang/luajit:2
+ dev-libs/json-c
dev-libs/geoip
dev-libs/glib:2
+ redis? ( dev-libs/hiredis )
dev-libs/libxml2
net-analyzer/rrdtool
net-libs/libpcap
net-misc/curl
virtual/libmysqlclient"
RDEPEND="${DEPEND}
- dev-db/redis"
+ redis? ( dev-db/redis )"
S="${WORKDIR}/${P}-stable"