4 pkgdesc="Create virtual tunnels over TCP/IP networks with traffic shaping"
6 url="http://vtun.sourceforge.net/"
8 depends=('openssl' 'zlib')
9 makedepends=('bison' 'flex' 'm4')
10 backup=('etc/vtun/vtund.conf')
11 source=(http://ftp.de.debian.org/debian/pool/main/v/vtun/vtun_3.0.2.orig.tar.gz http://ftp.de.debian.org/debian/pool/main/v/vtun/vtun_3.0.2-4.diff.gz)
12 md5sums=('d3d8bc4d58886498a1c338670eab9315' 'b05694d5f9dae9bc132e7df048bff6cd')
15 cd $srcdir/$pkgname-$pkgver
17 patch -Np1 -i ../vtun_3.0.2-4.diff || return 1
19 for i in `ls debian/patches/*.patch`; do
20 patch -Np1 -i $i || return 1
23 ./configure --prefix=/usr --disable-lzo --sysconfdir=/etc/vtun \
24 --localstatedir=/var --mandir=/usr/share/man
25 /usr/bin/make || return 1
26 /usr/bin/make DESTDIR=$pkgdir STAT_DIR=/var/log install
27 chmod 1777 $pkgdir/var/lock
29 # vim: ts=2 sw=2 et ft=sh