summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-01-11 22:07:22 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-01-11 22:10:05 +0100
commitbff4a82e074ac7b7a8ed0b6d733ff9c247cdae26 (patch)
tree7b2434501fe4383075ace437189fa3fee4068038 /net-analyzer/jnettop
parentnet-analyzer/mrtg-ping-probe: Port to EAPI 8 (diff)
downloadgentoo-bff4a82e074ac7b7a8ed0b6d733ff9c247cdae26.tar.gz
gentoo-bff4a82e074ac7b7a8ed0b6d733ff9c247cdae26.tar.bz2
gentoo-bff4a82e074ac7b7a8ed0b6d733ff9c247cdae26.zip
net-analyzer/jnettop: Port to EAPI 8
Closes: https://bugs.gentoo.org/826814 Closes: https://bugs.gentoo.org/738074 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-analyzer/jnettop')
-rw-r--r--net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild (renamed from net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild)21
1 files changed, 11 insertions, 10 deletions
diff --git a/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild b/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
index 546fa03600b3..f94cbf95ae1c 100644
--- a/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild
+++ b/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-inherit autotools epatch
+inherit autotools
DESCRIPTION="A top like console network traffic visualiser"
-HOMEPAGE="http://jnettop.kubs.info/"
+HOMEPAGE="https://sourceforge.net/projects/jnettop"
SRC_URI="http://jnettop.kubs.info/dist/${P}.tar.gz"
LICENSE="GPL-2"
@@ -21,15 +21,16 @@ RDEPEND="
ncurses? ( sys-libs/ncurses )
syslog? ( virtual/logger )
"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
-DOCS=( AUTHORS ChangeLog NEWS README )
+PATCHES=(
+ "${FILESDIR}/${P}-asneeded.patch"
+ "${FILESDIR}/${P}-tinfo.patch"
+)
src_prepare() {
- epatch \
- "${FILESDIR}/${P}-asneeded.patch" \
- "${FILESDIR}/${P}-tinfo.patch"
+ default
eautoreconf
}