net-analyzer/darkstat: Fix dependencies.
authorJeroen Roovers <jer@gentoo.org>
Tue, 21 Feb 2017 23:53:08 +0000 (00:53 +0100)
committerJeroen Roovers <jer@gentoo.org>
Tue, 21 Feb 2017 23:53:08 +0000 (00:53 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-analyzer/darkstat/darkstat-3.0.718.ebuild
net-analyzer/darkstat/darkstat-3.0.719.ebuild

index d70afed591f0285daf4d6cda586ef21637265083..fa96b8bfaab3d4f3bfa8f1a0751900992cf0a572 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,8 +13,13 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
 
-DEPEND="net-libs/libpcap"
-RDEPEND="${DEPEND}"
+DEPEND="
+       net-libs/libpcap
+       sys-libs/zlib
+"
+RDEPEND="
+       ${DEPEND}
+"
 
 DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat}
 
index ddfcbaaeb099ff570df335aacfcf5e60addbabe1..00f91e77dc23afa682aaf3f95b1501ce8858011f 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit autotools eutils user
+EAPI=6
+inherit autotools user
 
 DESCRIPTION="Network traffic analyzer with cute web interface"
 HOMEPAGE="http://unix4lyfe.org/darkstat/"
@@ -13,16 +13,24 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 
-DEPEND="net-libs/libpcap"
-RDEPEND="${DEPEND}"
+DEPEND="
+       dev-libs/libbsd
+       net-libs/libpcap
+       sys-libs/zlib
+"
+RDEPEND="
+       ${DEPEND}
+"
 
 DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat}
 
 DOCS=( AUTHORS ChangeLog README NEWS )
 
 src_prepare() {
+       default
+
        sed -i -e 's|-flto||g' configure.ac || die
-       epatch_user
+
        eautoreconf
 }