summaryrefslogtreecommitdiffstats
path: root/main/iptraf/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-08 10:00:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-08 10:05:02 +0000
commitbee68ae8e6633b07ccb82ce6d60eab687c3ddc70 (patch)
tree3aa43d1f63fc5d899f2d3ac0cf15d531fe65772c /main/iptraf/APKBUILD
parentd14ba6107e7837d93c1141cdcfd5ee8a3a6a8590 (diff)
downloadaports-bee68ae8e6633b07ccb82ce6d60eab687c3ddc70.tar.bz2
aports-bee68ae8e6633b07ccb82ce6d60eab687c3ddc70.tar.xz
main/iptraf: fix for vlan traffic
from http://linux.mantech.ro/IPTraf-fix.html
Diffstat (limited to 'main/iptraf/APKBUILD')
-rw-r--r--main/iptraf/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/iptraf/APKBUILD b/main/iptraf/APKBUILD
index 4d1149d1..d4e4b233 100644
--- a/main/iptraf/APKBUILD
+++ b/main/iptraf/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=iptraf
pkgver=3.0.0
-pkgrel=0
+pkgrel=1
pkgdesc="IP Network Monitoring Software"
url="http://iptraf.seoul.org"
license="GPL"
@@ -10,10 +10,12 @@ depends=
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
-source="ftp://iptraf.seul.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
+source="ftp://iptraf.seul.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
+ iptraf-3.0.0-vlan.patch"
build() {
cd "$srcdir/$pkgname-$pkgver/src"
+ patch -p1 -i "$srcdir"/iptraf-3.0.0-vlan.patch || return 1
sed -i -e s:/var/local/iptraf:/var/lib/iptraf: \
-e s:/usr/local/bin:/usr/sbin: dirs.h
@@ -34,4 +36,5 @@ build() {
done
}
-md5sums="377371c28ee3c21a76f7024920649ea8 iptraf-3.0.0.tar.gz"
+md5sums="377371c28ee3c21a76f7024920649ea8 iptraf-3.0.0.tar.gz
+4136483b9e41c8789c629c42f9a67d07 iptraf-3.0.0-vlan.patch"