4 pkgname=ipt_netflow-cvs
7 url=http://sourceforge.net/projects/ipt-netflow/
8 pkgdesc="Netflow capture module for iptables (netfilter). CVS version."
12 makedepends=('wget' 'cvs' 'kernel26-headers')
13 source=(modprobe.conf)
15 md5sums=('ab9ce5dba0377556326851d09d7cfe94')
19 iptver="`iptables --version | sed s,^[^0-9]*,,`"
20 wget -c "http://netfilter.org/projects/iptables/files/iptables-$iptver.tar.bz2"
21 tar xf iptables-$iptver.tar.bz2
26 cvs -z3 -d:pserver:anonymous@ipt-netflow.cvs.sourceforge.net:/cvsroot/ipt-netflow co -P ipt_netflow
28 ./configure --ipt-src=../iptables-$iptver
29 make KVERSION=$kernver all
33 install -D -o root -g root -m 0644 $srcdir/ipt_netflow/ipt_NETFLOW.ko $pkgdir/lib/modules/$kernver/ipt_NETFLOW/ipt_NETFLOW.ko
34 install -D -o root -g root -m 0755 $srcdir/ipt_netflow/libipt_NETFLOW.so $pkgdir/usr/lib/iptables/libipt_NETFLOW.so
35 install -D -o root -g root -m 0644 modprobe.conf $pkgdir/etc/modprobe.d/ipt_netflow.conf