# Description: the easiest way to create virtual tunnels over tcp/ip networks # URL: http://vtun.sourceforge.net/ # Maintainer: #teatime (irc.kyber.io), teatime at kyber dot io name=vtun version=3.0.4 release=2 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz 778164-gcc5-fixes.patch vtun-3.0.2-remove-config-presence-check.patch) build() { patch -p0 < 778164-gcc5-fixes.patch cd $name-$version patch -p0 < ../vtun-3.0.2-remove-config-presence-check.patch ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var make make DESTDIR=$PKG install chmod go+w,+t $PKG/var/lock }