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/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/iptraf-ng/PKGBUILD b/extra/iptraf-ng/PKGBUILD
index 98d37514e..7274afa72 100644
--- a/extra/iptraf-ng/PKGBUILD
+++ b/extra/iptraf-ng/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=iptraf-ng
pkgver=1.1.3.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="A console-based network monitoring utility (a fork of original iptraf)"
url="https://fedorahosted.org/iptraf-ng/"
arch=('i686' 'x86_64' 'mips64el')
@@ -12,11 +12,14 @@ depends=('ncurses')
license=('GPL2')
replaces=('iptraf')
options=('!libtool')
-source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('1a2c02944b0b012d6a3de96207610fa2')
+source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz
+ 0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch)
+md5sums=('1a2c02944b0b012d6a3de96207610fa2'
+ 'd5eab1e094b93f0e3a256cf9ccfaa9c3')
build() {
cd "$pkgname-$pkgver"
+ patch -p1 -i "$srcdir/0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --sbindir=/usr/sbin
make CFLAGS="$CFLAGS -std=gnu99"