Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnstop/
Date: Mon, 26 Sep 2016 11:48:23
Message-Id: 1474890471.dd10ed8f733239e09ebe82949e68a9c36ad8b37a.xmw@gentoo
1 commit: dd10ed8f733239e09ebe82949e68a9c36ad8b37a
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 11:46:41 2016 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 11:47:51 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd10ed8f
7
8 net-dns/dnstop: Fix for ncurses[tinfo], thanks Fabio Scaccabarozzi, bug 595068.
9
10 Package-Manager: portage-2.2.28
11
12 net-dns/dnstop/dnstop-20140915-r1.ebuild | 38 ++++++++++++++++++++++++++++++++
13 1 file changed, 38 insertions(+)
14
15 diff --git a/net-dns/dnstop/dnstop-20140915-r1.ebuild b/net-dns/dnstop/dnstop-20140915-r1.ebuild
16 new file mode 100644
17 index 00000000..cb7eeef
18 --- /dev/null
19 +++ b/net-dns/dnstop/dnstop-20140915-r1.ebuild
20 @@ -0,0 +1,38 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +
27 +inherit eutils flag-o-matic
28 +
29 +DESCRIPTION="Displays various tables of DNS traffic on your network"
30 +HOMEPAGE="http://dnstop.measurement-factory.com/"
31 +SRC_URI="http://dnstop.measurement-factory.com/src/${P}.tar.gz"
32 +
33 +LICENSE="BSD"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
36 +IUSE="ipv6"
37 +
38 +RDEPEND="sys-libs/ncurses:0
39 + net-libs/libpcap[ipv6?]"
40 +DEPEND="${RDEPEND}"
41 +
42 +src_prepare() {
43 + epatch_user
44 +}
45 +
46 +src_configure() {
47 + if has_version sys-libs/ncurses:0[tinfo] ; then
48 + append-libs -ltinfo #bug 595068
49 + fi
50 + econf \
51 + $(use_enable ipv6)
52 +}
53 +
54 +src_install() {
55 + dobin dnstop
56 + doman dnstop.8
57 + dodoc CHANGES
58 +}