summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/nethogs/nethogs.SlackBuild11
-rw-r--r--network/nethogs/nethogs.info6
-rw-r--r--network/nethogs/slack-desc18
3 files changed, 16 insertions, 19 deletions
diff --git a/network/nethogs/nethogs.SlackBuild b/network/nethogs/nethogs.SlackBuild
index c6b0706db9..364420a4b9 100644
--- a/network/nethogs/nethogs.SlackBuild
+++ b/network/nethogs/nethogs.SlackBuild
@@ -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
diff --git a/network/nethogs/nethogs.info b/network/nethogs/nethogs.info
index 22edbfda37..fae22f6593 100644
--- a/network/nethogs/nethogs.info
+++ b/network/nethogs/nethogs.info
@@ -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=""
diff --git a/network/nethogs/slack-desc b/network/nethogs/slack-desc
index d0a87f313a..9e0c153c91 100644
--- a/network/nethogs/slack-desc
+++ b/network/nethogs/slack-desc
@@ -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: