summaryrefslogtreecommitdiff
path: root/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild')
-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
}