diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-25 14:48:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-25 14:49:34 +0000 |
commit | c621fc994a148d57f58551b9ab199c3396db24c3 (patch) | |
tree | aca75c1398ab8948555c3f0b14c548dff2393bd1 /main/iptraf-ng/APKBUILD | |
parent | 4ce5019a8d7db713db71bfa7cbeadbc89a0523fc (diff) | |
download | aports-c621fc994a148d57f58551b9ab199c3396db24c3.tar.bz2 aports-c621fc994a148d57f58551b9ab199c3396db24c3.tar.xz |
main/iptraf-ng: fix build with kernel 3.5 and newer
Diffstat (limited to 'main/iptraf-ng/APKBUILD')
-rw-r--r-- | main/iptraf-ng/APKBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/main/iptraf-ng/APKBUILD b/main/iptraf-ng/APKBUILD index 605bcca985..7fb417a740 100644 --- a/main/iptraf-ng/APKBUILD +++ b/main/iptraf-ng/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=iptraf-ng pkgver=1.1.3.1 -pkgrel=0 +pkgrel=1 pkgdesc="IP Network Monitoring Software (fork of original iptraf)" url="https://fedorahosted.org/iptraf-ng/" arch="all" @@ -11,11 +11,17 @@ depends= makedepends="ncurses-dev" install= subpackages="$pkgname-doc" -source="https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz" +source="https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz + 0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch" _builddir="$srcdir"/iptraf-ng-$pkgver prepare() { cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } @@ -31,4 +37,9 @@ package() { make DESTDIR="$pkgdir" install } -md5sums="1a2c02944b0b012d6a3de96207610fa2 iptraf-ng-1.1.3.1.tar.gz" +md5sums="1a2c02944b0b012d6a3de96207610fa2 iptraf-ng-1.1.3.1.tar.gz +e381baa0847040085f4e0db98ecc3416 0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch" +sha256sums="687b5632290d9b4963842df36f3572d97e333656d1fb6c5f341ab7df651dc185 iptraf-ng-1.1.3.1.tar.gz +a36aaf8d110611ba8f9bd95a4ecdcb51fc90416b2f23fd708e130d4e87dec15d 0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch" +sha512sums="eb477afa5d01a3c787a4db153669713fe13af866b76446191f5679098d96c2e72b3e21dbeceda202770022204d8c5217b52dc5c25e545129aef6de2de622c04a iptraf-ng-1.1.3.1.tar.gz +16f0aaa181ba6bc4f1812783eb9bd110bed735ce0066a0db6384447f5c145f87ff0819fb3a6056af4e5cdb6eac2b0391a520d7ee15f7178118a505c245458b2c 0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch" |