summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 02:58:45 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:55:06 +0100
commitf2eaef76b7ec88fabd8a88030f674f8a2547757e (patch)
treea1ac7058046b593063674abac66d2cce7a941d3c
parentnet-analyzer/openbsd-netcat: drop unused eutils (diff)
downloadgentoo-f2eaef76b7ec88fabd8a88030f674f8a2547757e.tar.gz
gentoo-f2eaef76b7ec88fabd8a88030f674f8a2547757e.tar.bz2
gentoo-f2eaef76b7ec88fabd8a88030f674f8a2547757e.zip
net-analyzer/pktstat: EAPI 7, eutils--
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild22
1 files changed, 13 insertions, 9 deletions
diff --git a/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild b/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
index 38568044a9f1..c3266ee8f631 100644
--- a/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
+++ b/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils
+EAPI=7
+
+inherit autotools
DESCRIPTION="A network monitoring tool with bandwidth tracking"
HOMEPAGE="http://www.adaptive-enterprises.com.au/~d/software/pktstat/"
@@ -12,18 +13,21 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
+BDEPEND="virtual/pkgconfig"
RDEPEND="
net-libs/libpcap
>=sys-libs/ncurses-5.3-r1
"
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-tinfo.patch
+ "${FILESDIR}"/${P}-smtp_line.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-tinfo.patch
- epatch "${FILESDIR}"/${P}-smtp_line.patch
+ default
+
eautoreconf
}