summaryrefslogtreecommitdiff
path: root/net-analyzer/nethogs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /net-analyzer/nethogs
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'net-analyzer/nethogs')
-rw-r--r--net-analyzer/nethogs/Manifest4
-rw-r--r--net-analyzer/nethogs/nethogs-0.8.5-r1.ebuild33
-rw-r--r--net-analyzer/nethogs/nethogs-0.8.6-r1.ebuild (renamed from net-analyzer/nethogs/nethogs-0.8.6.ebuild)18
3 files changed, 13 insertions, 42 deletions
diff --git a/net-analyzer/nethogs/Manifest b/net-analyzer/nethogs/Manifest
index f3775c6781a7..9e80f3936569 100644
--- a/net-analyzer/nethogs/Manifest
+++ b/net-analyzer/nethogs/Manifest
@@ -1,5 +1,3 @@
-DIST nethogs-0.8.5.tar.gz 112385 BLAKE2B 1d4867447455720a11f3131787b731428550f03d106ad476367ae356954c6c9895d02a8e730488b3deb9638d54bd60765cb63bcf599f4ec73c0bdc8da3d52cae SHA512 a2be81fcebc9925dd8a0fd9f71c6e790206819e0cc5efeeeb0c741baa9fd25ec685a1784b6d331d938cf14381403f9c13d619509d0ffe713ce8786a83a380908
DIST nethogs-0.8.6.tar.gz 116720 BLAKE2B 2d3695c2138f4e88c11a8c515156a430015c2844e09dd599091ff090fd87a3c12a1c5a7d1d9d32d302512a4e027a739a6b864f8d1e549593c6f86ab749989662 SHA512 1116f2e57bbf4d9213080598d04ff41c9ae28bd3e5c45c99068c783beb109eff3ffb02f9c3610f20ef0aa53606b3c500917d5d6983496599904d8c5a35cf2a6f
-EBUILD nethogs-0.8.5-r1.ebuild 706 BLAKE2B 4d5958912d3128b15899ab0f72ea4363acffed6bf16316cf61a4331b97f0eb6b9741d912897d375026650d78a9c390e332f2ad12b78a8506fff27cf2ef30ab5b SHA512 aa90d744970ff58ddda6ae28807b3295d644790d580aac44ae137f838e712608b3697ff2cb0a39a34b81c269a653ffa0b98b20ea7bdad31ebef9834925ee950e
-EBUILD nethogs-0.8.6.ebuild 696 BLAKE2B 9855a6a15c52845be2fa5394801f1a51fafc576ac8261b21fdedc6bb7408d636c6a65d2913c7acdf24466fa0230af39a1eae313895fc8d1e8b857640c9059373 SHA512 46adcf47a6d972158092f47dddfe70065b1577adeb40ee1ebd6ecd9877e02b274fa30445bfa7812a72f67045ace0b35905686ec9004fba0cad908d6bf4a1db83
+EBUILD nethogs-0.8.6-r1.ebuild 788 BLAKE2B 2652b7396e85249512babfeefaef816588ad0b50f4eb51091202c17f3f54ed6a0885b545d45517c427c942757d6d4953880b92870145ca3c53c88930a9456df5 SHA512 fa07e0fcd9e8e3252a431611970b52c8831234b2915992e3eb7401d29875cebf820aea290f5768c79317e01af588739c6ba6e7fcf46ea271b2b93d0eb4e04b0b
MISC metadata.xml 898 BLAKE2B 401dd16bdfff0b3ab7baa1c51a28938ac428b4ff646e46e65efd7a5f612541be58a35c4ef68f48cec0b3f63af1624377615f8b4bb14bd8e8d9f4c297708e3b3c SHA512 324d822a63e6a8e179d487c840ae2fe10c5cb16a6973c40d480666e5a3d95b596495c1989de8afe8809a6888a17fccef7b7ca4ebacd0d4d0543611253dfa73ed
diff --git a/net-analyzer/nethogs/nethogs-0.8.5-r1.ebuild b/net-analyzer/nethogs/nethogs-0.8.5-r1.ebuild
deleted file mode 100644
index ac684149d33f..000000000000
--- a/net-analyzer/nethogs/nethogs-0.8.5-r1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="A small 'net top' tool, grouping bandwidth by process"
-HOMEPAGE="https://github.com/raboof/nethogs"
-SRC_URI="https://github.com/raboof/nethogs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ia64 x86"
-
-RDEPEND="
- net-libs/libpcap
- sys-libs/ncurses:0=
-"
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
-"
-
-src_compile() {
- tc-export CC CXX
- emake NCURSES_LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" ${PN}
-}
-
-src_install() {
- emake DESTDIR="${ED}" PREFIX="/usr" install
- dodoc Changelog DESIGN README.decpcap.txt README.md
-}
diff --git a/net-analyzer/nethogs/nethogs-0.8.6.ebuild b/net-analyzer/nethogs/nethogs-0.8.6-r1.ebuild
index bef9dec145fd..e0f115871a58 100644
--- a/net-analyzer/nethogs/nethogs-0.8.6.ebuild
+++ b/net-analyzer/nethogs/nethogs-0.8.6-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit toolchain-funcs
+inherit fcaps toolchain-funcs
DESCRIPTION="A small 'net top' tool, grouping bandwidth by process"
HOMEPAGE="https://github.com/raboof/nethogs"
@@ -13,21 +13,27 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ia64 x86"
+DOCS=( DESIGN README.decpcap.txt README.md )
+
RDEPEND="
net-libs/libpcap
sys-libs/ncurses:0=
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
"
+FILECAPS=(
+ cap_net_admin,cap_net_raw usr/sbin/nethogs
+)
+
src_compile() {
tc-export CC CXX
- emake NCURSES_LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" ${PN}
+ emake NCURSES_LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" "${PN}"
}
src_install() {
emake DESTDIR="${ED}" PREFIX="/usr" install
- dodoc DESIGN README.decpcap.txt README.md
+ einstalldocs
}