2006-12-08 15:18:07 +11:00
|
|
|
# Description: Intermediate Queueing Device, Iptables filter.
|
|
|
|
# URL: http://www.linuximq.net/
|
|
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
|
|
# Packager: Danny Rawlins, romster at shortcircuit dot net dot au
|
2006-12-08 17:42:24 +11:00
|
|
|
# Depends on: iproute2
|
2006-12-08 15:18:07 +11:00
|
|
|
|
|
|
|
name=iptables-imq
|
2007-12-08 04:36:35 +11:00
|
|
|
version=1.3.8-2.6.21
|
|
|
|
patch=1.3.6-imq
|
2006-12-08 15:18:07 +11:00
|
|
|
release=1
|
|
|
|
source=(ftp://ftp.netfilter.org/pub/iptables/iptables-${version%%-*}.tar.bz2 \
|
2007-12-08 04:36:35 +11:00
|
|
|
http://www.linuximq.net/patchs/linux-${version##*-}-img2.diff \
|
2006-12-08 15:18:07 +11:00
|
|
|
http://www.linuximq.net/patchs/iptables-$patch.diff)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd iptables-${version%%-*}
|
|
|
|
|
2007-12-08 04:36:35 +11:00
|
|
|
patch -p1 -i $SRC/iptables-$patch.diff
|
|
|
|
chmod +x extensions/.IMQ-test*
|
2006-12-08 15:18:07 +11:00
|
|
|
|
|
|
|
make KERNEL_DIR=/usr/src/linux-$(uname -r) PREFIX=/usr all
|
|
|
|
make KERNEL_DIR=/usr/src/linux-$(uname -r) PREFIX=/usr DESTDIR=$PKG install install-devel
|
|
|
|
}
|
|
|
|
|