diff options
author | Sam James <sam@gentoo.org> | 2022-04-05 02:00:11 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-05 02:00:11 +0100 |
commit | 833ab329c6c662cd9133510c7617979fb9059881 (patch) | |
tree | 86f9fa82823bb878295ac44de20557ec0dd2ef45 /net-analyzer/nethogs | |
parent | media-sound/wavbreaker: add 0.15 (diff) | |
download | gentoo-833ab329c6c662cd9133510c7617979fb9059881.tar.gz gentoo-833ab329c6c662cd9133510c7617979fb9059881.tar.bz2 gentoo-833ab329c6c662cd9133510c7617979fb9059881.zip |
net-analyzer/nethogs: add 0.8.7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/nethogs')
-rw-r--r-- | net-analyzer/nethogs/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/nethogs/nethogs-0.8.7.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/net-analyzer/nethogs/Manifest b/net-analyzer/nethogs/Manifest index b556b6df2f87..733e8a3e1c83 100644 --- a/net-analyzer/nethogs/Manifest +++ b/net-analyzer/nethogs/Manifest @@ -1 +1,2 @@ DIST nethogs-0.8.6.tar.gz 116720 BLAKE2B 2d3695c2138f4e88c11a8c515156a430015c2844e09dd599091ff090fd87a3c12a1c5a7d1d9d32d302512a4e027a739a6b864f8d1e549593c6f86ab749989662 SHA512 1116f2e57bbf4d9213080598d04ff41c9ae28bd3e5c45c99068c783beb109eff3ffb02f9c3610f20ef0aa53606b3c500917d5d6983496599904d8c5a35cf2a6f +DIST nethogs-0.8.7.tar.gz 270631 BLAKE2B 179227d4b1fde5328e4885ce72bb28ac20482fa161afee7562546af5b403be1e851533e3861dfa2f514968aebe91a822e6b792520407853dfb1055c6d29ad121 SHA512 d965f3fa439ea9fbba83578b4272d03f396bf3cff9ae73a94936d47a3422d066d885c7f6f2a47fbe2f445a017bffa3fb3a1215976522ef0ad120fae3b95b31a2 diff --git a/net-analyzer/nethogs/nethogs-0.8.7.ebuild b/net-analyzer/nethogs/nethogs-0.8.7.ebuild new file mode 100644 index 000000000000..67bfac5facf0 --- /dev/null +++ b/net-analyzer/nethogs/nethogs-0.8.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps 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:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( DESIGN README.decpcap.txt README.md ) + +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} +} + +src_install() { + emake DESTDIR="${ED}" PREFIX="/usr" install + einstalldocs +} |