Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167614085
D9892.id25991.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D9892.id25991.diff
View Options
Index: net/Makefile
===================================================================
--- net/Makefile
+++ net/Makefile
@@ -448,6 +448,7 @@
SUBDIR += netcat
SUBDIR += netdude
SUBDIR += netembryo
+ SUBDIR += nethogs
SUBDIR += netmap
SUBDIR += netpipes
SUBDIR += netscript
Index: net/nethogs/Makefile
===================================================================
--- /dev/null
+++ net/nethogs/Makefile
@@ -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>
Index: net/nethogs/distinfo
===================================================================
--- /dev/null
+++ net/nethogs/distinfo
@@ -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
Index: net/nethogs/pkg-descr
===================================================================
--- /dev/null
+++ net/nethogs/pkg-descr
@@ -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. NetHogs does not rely on a special kernel module to be loaded.
+
+WWW: https://github.com/raboof/nethogs
Index: net/nethogs/pkg-message
===================================================================
--- /dev/null
+++ net/nethogs/pkg-message
@@ -0,0 +1,12 @@
+**************************************************************************
+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
+**************************************************************************
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 24, 4:06 AM (3 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37173001
Default Alt Text
D9892.id25991.diff (2 KB)
Attached To
Mode
D9892: New port: net/nethogs
Attached
Detach File
Event Timeline
Log In to Comment