summaryrefslogtreecommitdiff
path: root/net-analyzer/ntopng
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2016-11-21 15:12:26 +0100
committerSlawomir Lis <slis@gentoo.org>2016-11-21 20:48:06 +0100
commit4482012f5bd8f2a753509d6214ec284466731d59 (patch)
treefe065e56107eb0a0b79d898705721200eee989c5 /net-analyzer/ntopng
parentc2ee671811b725d5d3a87d81a766093474f25e77 (diff)
downloadgentoo-4482012f5bd8f2a753509d6214ec284466731d59.tar.gz
gentoo-4482012f5bd8f2a753509d6214ec284466731d59.tar.xz
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
Diffstat (limited to 'net-analyzer/ntopng')
-rw-r--r--net-analyzer/ntopng/metadata.xml3
-rw-r--r--net-analyzer/ntopng/ntopng-2.4.ebuild6
2 files changed, 7 insertions, 2 deletions
diff --git a/net-analyzer/ntopng/metadata.xml b/net-analyzer/ntopng/metadata.xml
index cab61f7e001..9b7a6e84d80 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 f6c9071b713..6f8199cb47f 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"