summaryrefslogtreecommitdiff
path: root/community/nethogs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/nethogs
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/nethogs')
-rw-r--r--community/nethogs/PKGBUILD32
-rw-r--r--community/nethogs/gcc44.patch11
2 files changed, 0 insertions, 43 deletions
diff --git a/community/nethogs/PKGBUILD b/community/nethogs/PKGBUILD
deleted file mode 100644
index 3bf9ec080..000000000
--- a/community/nethogs/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 83919 2013-02-06 14:47:26Z kkeen $
-# Maintainer: Kyle Keen <keenerd@gmail.com>
-# Contributor: ViNS <gladiator@fastwebnet.it>
-# Contributor: Daenyth
-pkgname=nethogs
-pkgver=0.8.0
-pkgrel=2
-pkgdesc="A net top tool which displays traffic used per process instead of per IP or interface"
-url="http://nethogs.sourceforge.net"
-license=(GPL)
-depends=(libpcap ncurses gcc-libs)
-arch=(i686 x86_64)
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz gcc44.patch)
-md5sums=('d6fb12b46e80a50c9b9f91dd48e2b234'
- '62eb824fbbadd1c60d0749593c16d293')
-
-build() {
- cd "$srcdir/$pkgname"
-
- sed -i 's/sbin/bin/g' Makefile
-
- # Patch the code to work with gcc 4.4
- patch -Np1 -i "$srcdir/gcc44.patch"
-
- make
-}
-
-package() {
- cd "$srcdir/$pkgname"
- make DESTDIR="$pkgdir/usr" install
-}
-# vim:set ts=2 sw=2 et:
diff --git a/community/nethogs/gcc44.patch b/community/nethogs/gcc44.patch
deleted file mode 100644
index 7fedbf978..000000000
--- a/community/nethogs/gcc44.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN nethogs-old/conninode.cpp nethogs/conninode.cpp
---- nethogs-old/conninode.cpp 2009-05-17 09:05:32.000000000 -0400
-+++ nethogs/conninode.cpp 2009-05-17 09:06:47.000000000 -0400
-@@ -1,6 +1,7 @@
- #include <netinet/in.h>
- #include <map>
- #include <stdlib.h>
-+#include <cstdio>
-
- #include "nethogs.h"
- #include "conninode.h"