network/nethogs: Updated for version 0.8.0.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Michales Michaloudes 2013-04-23 20:47:52 -04:00 committed by Niels Horn
parent 64a18726ec
commit 4ed36c40af
3 changed files with 16 additions and 19 deletions

View File

@ -7,16 +7,14 @@
# sed in SLKCFLAGS and removed template left-overs.
PRGNAM=nethogs
VERSION=0.7.0
VERSION=0.8.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -56,9 +54,6 @@ sed -i -e '/TODO/d' -e '/default\:/d' decpcap.c
# Modify the Makefile
sed -i -e 's:/usr/share/man/:/usr/man/:' Makefile
# Use ARCH defined CFLAGS
sed -i -e "s/-O2/${SLKCFLAGS}/" Makefile
# make temp directories
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/doc
@ -67,7 +62,9 @@ mkdir -p $PKG/usr/man/man8
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
make
make \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
# was working with 0.6.0 version
# make install DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="nethogs"
VERSION="0.7.0"
VERSION="0.8.0"
HOMEPAGE="http://nethogs.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/nethogs/nethogs-0.7.0.tar.gz"
MD5SUM="e5f04071571e469e14c89f637cfa34a2"
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/nethogs/nethogs-0.8.0.tar.gz"
MD5SUM="d6fb12b46e80a50c9b9f91dd48e2b234"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View File

@ -1,19 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
nethogs: NetHogs (a small 'net top' tool)
nethogs:
nethogs:
nethogs: NetHogs is a small 'net top' tool. Instead of breaking the traffic
nethogs: down per protocol or per subnet, like most tools do, it groups
nethogs: bandwidth by process. NetHogs does not rely on a special kernel
nethogs: module to be loaded. If there's suddenly a lot of network traffic,
nethogs: you can fire up NetHogs and immediately see which PID is causing
nethogs: this. This makes it easy to indentify programs that have gone wild
nethogs: and are suddenly taking up your bandwidth.
nethogs:
nethogs:
nethogs: and are suddenly taking up your bandwidth.
nethogs:
nethogs: