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/tcptrack/
Date: Sat, 03 Apr 2021 15:57:24
Message-Id: 1617465318.4e6c59b9fbc7bac2d6b6525d4b0bbea0992db7a2.sam@gentoo
1 commit: 4e6c59b9fbc7bac2d6b6525d4b0bbea0992db7a2
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 2 00:54:16 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 3 15:55:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6c59b9
7
8 net-analyzer/tcptrack: port to EAPI 7
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-analyzer/tcptrack/tcptrack-1.4.2.ebuild | 23 +++++++++++++++--------
13 1 file changed, 15 insertions(+), 8 deletions(-)
14
15 diff --git a/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild b/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild
16 index 235ac5dff8d..30fbb10604a 100644
17 --- a/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild
18 +++ b/net-analyzer/tcptrack/tcptrack-1.4.2.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="Passive per-connection tcp bandwidth monitor"
31 HOMEPAGE="http://www.rhythm.cx/~steve/devel/tcptrack/"
32 @@ -12,17 +13,23 @@ LICENSE="LGPL-2.1"
33 SLOT="0"
34 KEYWORDS="~amd64 ~ppc x86"
35
36 +BDEPEND="virtual/pkgconfig"
37 DEPEND="
38 net-libs/libpcap
39 sys-libs/ncurses
40 "
41 -RDEPEND="
42 - ${DEPEND}
43 - virtual/pkgconfig
44 -"
45 +RDEPEND="${DEPEND}"
46 +
47 +PATCHES=(
48 + "${FILESDIR}"/${P}-tinfo.patch
49 +)
50
51 src_prepare() {
52 - epatch "${FILESDIR}"/${P}-tinfo.patch
53 + default
54 +
55 sed -i src/Makefile.am -e 's| -Werror||g' || die
56 +
57 + mv configure.{in,ac} || die
58 +
59 eautoreconf
60 }