summaryrefslogtreecommitdiff
path: root/extra/iptraf-ng/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/iptraf-ng/PKGBUILD')
-rw-r--r--extra/iptraf-ng/PKGBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/extra/iptraf-ng/PKGBUILD b/extra/iptraf-ng/PKGBUILD
index 3f9d47ad3..763ce965b 100644
--- a/extra/iptraf-ng/PKGBUILD
+++ b/extra/iptraf-ng/PKGBUILD
@@ -7,12 +7,22 @@ pkgver=1.1.4
pkgrel=1
pkgdesc="A console-based network monitoring utility (a fork of original iptraf)"
url="https://fedorahosted.org/iptraf-ng/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ncurses')
license=('GPL2')
replaces=('iptraf')
-source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('de27cfeeede96e2acfb0edc8439b034a')
+source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz
+ 0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch
+ iptraf-ng-linux-3.5-compat.patch)
+md5sums=('de27cfeeede96e2acfb0edc8439b034a'
+ 'd5eab1e094b93f0e3a256cf9ccfaa9c3'
+ 'd2ddee5f9ff485155235f7cb4671d8fb')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i ${srcdir}/0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch
+ patch -p1 -i ${srcdir}/iptraf-ng-linux-3.5-compat.patch
+}
build() {
cd "$pkgname-$pkgver"