diff -Naur uml_utilities/PKGBUILD uml_utilitiesp/PKGBUILD --- uml_utilities/PKGBUILD 2009-06-10 06:07:11.000000000 +0200 +++ uml_utilitiesp/PKGBUILD 2009-06-10 23:50:51.407724572 +0200 @@ -8,14 +8,20 @@ arch=(i686 x86_64) depends=('fuse' 'readline') url="http://user-mode-linux.sourceforge.net/" -source=(http://user-mode-linux.sourceforge.net/${pkgname}_${pkgver}.tar.bz2) +source=(http://user-mode-linux.sourceforge.net/${pkgname}_${pkgver}.tar.bz2 + tuntap.conf.d) license=('GPL2') -md5sums=('b0468ac8b79cef53f36f5f9517907462') +md5sums=('b0468ac8b79cef53f36f5f9517907462' + 'b20bb4f37d640ac3019ef20e8cf2be73') + build() { cd $startdir/src/tools-$pkgver sed 's|lib64|lib|g' -i Makefile make all|| return 1 make DESTDIR=$startdir/pkg install || return 1 - chown root $startdir/pkg/usr/bin/* + chown root $startdir/pkg/usr/bin/* || return 1 + + # install config file + install -D -m644 ${srcdir}/tuntap.conf.d $startdir/pkg/etc/conf.d/tuntap } diff -Naur uml_utilities/tuntap.conf.d uml_utilitiesp/tuntap.conf.d --- uml_utilities/tuntap.conf.d 1970-01-01 01:00:00.000000000 +0100 +++ uml_utilitiesp/tuntap.conf.d 2009-06-10 23:53:01.877712930 +0200 @@ -0,0 +1,17 @@ +# +# Settings for tun/tap virtual network interfaces +# +# Configuration is similar to your real ones. List all interfaces which should be used in TAP_INTERFACES array. +# For each interface listed there, add a tap_${NAME} variable holding the respective tunctl options. +# You have to bring them up like any ordinary network interface in order to actually use them. + +# example: +# +# in /etc/conf.d/tuntap: +# tap_tap0="-u $USER -t tap0" +# TAP_INTERFACES=(tap0) +# +# in /etc/rc.conf: +# tap0="tap0 up" +# INTERFACES=(eth0 tap0) +