25 lines
784 B
Plaintext
25 lines
784 B
Plaintext
# 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
|
|
# Depends on: iproute2
|
|
|
|
name=iptables-imq
|
|
version=1.3.8-2.6.21
|
|
patch=1.3.6-imq
|
|
release=1
|
|
source=(ftp://ftp.netfilter.org/pub/iptables/iptables-${version%%-*}.tar.bz2 \
|
|
http://www.linuximq.net/patchs/linux-${version##*-}-img2.diff \
|
|
http://www.linuximq.net/patchs/iptables-$patch.diff)
|
|
|
|
build() {
|
|
cd iptables-${version%%-*}
|
|
|
|
patch -p1 -i $SRC/iptables-$patch.diff
|
|
chmod +x extensions/.IMQ-test*
|
|
|
|
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
|
|
}
|
|
|