Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pktstat/
Date: Sat, 03 Apr 2021 15:57:22
Message-Id: 1617465306.f2eaef76b7ec88fabd8a88030f674f8a2547757e.sam@gentoo
1 commit: f2eaef76b7ec88fabd8a88030f674f8a2547757e
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 2 01:58:45 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 3 15:55:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2eaef76
7
8 net-analyzer/pktstat: EAPI 7, eutils--
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild | 22 +++++++++++++---------
13 1 file changed, 13 insertions(+), 9 deletions(-)
14
15 diff --git a/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild b/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
16 index 38568044a9f..c3266ee8f63 100644
17 --- a/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
18 +++ b/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
19 @@ -1,8 +1,9 @@
20 -# Copyright 1999-2014 Gentoo Foundation
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 -inherit autotools eutils
26 +EAPI=7
27 +
28 +inherit autotools
29
30 DESCRIPTION="A network monitoring tool with bandwidth tracking"
31 HOMEPAGE="http://www.adaptive-enterprises.com.au/~d/software/pktstat/"
32 @@ -12,18 +13,21 @@ LICENSE="public-domain"
33 SLOT="0"
34 KEYWORDS="amd64 ~ppc x86"
35
36 +BDEPEND="virtual/pkgconfig"
37 RDEPEND="
38 net-libs/libpcap
39 >=sys-libs/ncurses-5.3-r1
40 "
41 -DEPEND="
42 - ${RDEPEND}
43 - virtual/pkgconfig
44 -"
45 +DEPEND="${RDEPEND}"
46 +
47 +PATCHES=(
48 + "${FILESDIR}"/${P}-tinfo.patch
49 + "${FILESDIR}"/${P}-smtp_line.patch
50 +)
51
52 src_prepare() {
53 - epatch "${FILESDIR}"/${P}-tinfo.patch
54 - epatch "${FILESDIR}"/${P}-smtp_line.patch
55 + default
56 +
57 eautoreconf
58 }