Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2017 20:01:42 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r435501 - in head/net: . nethogs
Message-ID:  <201703052001.v25K1gMV041369@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Mar  5 20:01:41 2017
New Revision: 435501
URL: https://svnweb.freebsd.org/changeset/ports/435501

Log:
  New port: net/nethogs
  
  NetHogs is a small 'net top' tool. Instead of breaking the traffic down
  per protocol or per subnet, like most tools do, it groups bandwidth by
  process.
  
  WWW: https://github.com/raboof/nethogs
  
  PR:		213109
  Submitted by:	anastasios@mageirias.com
  Approved by:	lme (mentor)
  Differential Revision:	https://reviews.freebsd.org/D9892

Added:
  head/net/nethogs/
  head/net/nethogs/Makefile   (contents, props changed)
  head/net/nethogs/distinfo   (contents, props changed)
  head/net/nethogs/pkg-descr   (contents, props changed)
  head/net/nethogs/pkg-message   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sun Mar  5 19:57:21 2017	(r435500)
+++ head/net/Makefile	Sun Mar  5 20:01:41 2017	(r435501)
@@ -448,6 +448,7 @@
     SUBDIR += netcat
     SUBDIR += netdude
     SUBDIR += netembryo
+    SUBDIR += nethogs
     SUBDIR += netmap
     SUBDIR += netpipes
     SUBDIR += netscript

Added: head/net/nethogs/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nethogs/Makefile	Sun Mar  5 20:01:41 2017	(r435501)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	nethogs
+PORTVERSION=	0.8.5
+DISTVERSIONPREFIX=	v
+CATEGORIES=	net
+
+MAINTAINER=	anastasios@mageirias.com
+COMMENT=	Small net top tool
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	raboof
+
+USES=	gmake shebangfix
+
+SHEBANG_FILES=	determineVersion.sh
+bash_CMD=	${SH}
+
+PLIST_FILES=	man/man8/nethogs.8.gz \
+		sbin/nethogs
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/nethogs
+
+.include <bsd.port.mk>

Added: head/net/nethogs/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nethogs/distinfo	Sun Mar  5 20:01:41 2017	(r435501)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1488685002
+SHA256 (raboof-nethogs-v0.8.5_GH0.tar.gz) = 6a9392726feca43228b3f0265379154946ef0544c2ca2cac59ec35a24f469dcc
+SIZE (raboof-nethogs-v0.8.5_GH0.tar.gz) = 112385

Added: head/net/nethogs/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nethogs/pkg-descr	Sun Mar  5 20:01:41 2017	(r435501)
@@ -0,0 +1,5 @@
+NetHogs is a small 'net top' tool. Instead of breaking the traffic down 
+per protocol or per subnet, like most tools do, it groups bandwidth by 
+process.
+
+WWW: https://github.com/raboof/nethogs

Added: head/net/nethogs/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nethogs/pkg-message	Sun Mar  5 20:01:41 2017	(r435501)
@@ -0,0 +1,10 @@
+In order for nethogs to work properly add the following entry to 
+/etc/fstab:
+
+proc		/proc		procfs	rw,noauto	0	0
+
+noauto prevents /proc from being automatically mounted at boot.
+
+To mount the file system without rebooting:
+
+# mount /proc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703052001.v25K1gMV041369>