[arch-commits] Commit in vde2/repos (14 files)

Felix Yan fyan at nymeria.archlinux.org
Thu Mar 20 06:29:06 UTC 2014


    Date: Thursday, March 20, 2014 @ 07:29:06
  Author: fyan
Revision: 208236

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  vde2/repos/staging-i686/
  vde2/repos/staging-i686/PKGBUILD
    (from rev 208235, vde2/trunk/PKGBUILD)
  vde2/repos/staging-i686/dhcpd.conf.sample
    (from rev 208235, vde2/trunk/dhcpd.conf.sample)
  vde2/repos/staging-i686/iptables.rules.sample
    (from rev 208235, vde2/trunk/iptables.rules.sample)
  vde2/repos/staging-i686/vde-config.sample
    (from rev 208235, vde2/trunk/vde-config.sample)
  vde2/repos/staging-i686/vde-connection.sample
    (from rev 208235, vde2/trunk/vde-connection.sample)
  vde2/repos/staging-i686/vde2.install
    (from rev 208235, vde2/trunk/vde2.install)
  vde2/repos/staging-x86_64/
  vde2/repos/staging-x86_64/PKGBUILD
    (from rev 208235, vde2/trunk/PKGBUILD)
  vde2/repos/staging-x86_64/dhcpd.conf.sample
    (from rev 208235, vde2/trunk/dhcpd.conf.sample)
  vde2/repos/staging-x86_64/iptables.rules.sample
    (from rev 208235, vde2/trunk/iptables.rules.sample)
  vde2/repos/staging-x86_64/vde-config.sample
    (from rev 208235, vde2/trunk/vde-config.sample)
  vde2/repos/staging-x86_64/vde-connection.sample
    (from rev 208235, vde2/trunk/vde-connection.sample)
  vde2/repos/staging-x86_64/vde2.install
    (from rev 208235, vde2/trunk/vde2.install)

--------------------------------------+
 staging-i686/PKGBUILD                |   42 +++++++++++++++++++++++++++++++++
 staging-i686/dhcpd.conf.sample       |   12 +++++++++
 staging-i686/iptables.rules.sample   |    5 +++
 staging-i686/vde-config.sample       |   35 +++++++++++++++++++++++++++
 staging-i686/vde-connection.sample   |    6 ++++
 staging-i686/vde2.install            |    9 +++++++
 staging-x86_64/PKGBUILD              |   42 +++++++++++++++++++++++++++++++++
 staging-x86_64/dhcpd.conf.sample     |   12 +++++++++
 staging-x86_64/iptables.rules.sample |    5 +++
 staging-x86_64/vde-config.sample     |   35 +++++++++++++++++++++++++++
 staging-x86_64/vde-connection.sample |    6 ++++
 staging-x86_64/vde2.install          |    9 +++++++
 12 files changed, 218 insertions(+)

Copied: vde2/repos/staging-i686/PKGBUILD (from rev 208235, vde2/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,42 @@
+# $Id$
+# Contributor: Sergej Pupykin
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=vde2
+pkgver=2.3.2
+pkgrel=6
+pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
+url="http://sourceforge.net/projects/vde/"
+license=("GPL" "LGPL" "CUSTOM")
+arch=('i686' 'x86_64')
+depends=('bash' 'libpcap' 'openssl')
+makedepends=('python')
+source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2
+        dhcpd.conf.sample
+        iptables.rules.sample
+        vde-config.sample
+        vde-connection.sample)
+install=vde2.install
+options=(!makeflags)
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --libexecdir=/usr/lib/vde2 \
+             --enable-experimental
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver 
+  make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc sbindir=$pkgdir/usr/bin libexecdir=$pkgdir/usr/lib/vde2 install
+  install -D -m 644 ../vde-config.sample $pkgdir/etc/vde/vde-config.sample
+  install -D -m 644 ../vde-connection.sample $pkgdir/etc/vde/vde-connection.sample
+  install -D -m 644 ../dhcpd.conf.sample $pkgdir/usr/share/vde2/dhcpd.conf.sample
+  install -D -m 644 ../iptables.rules.sample $pkgdir/usr/share/vde2/iptables.rules.sample
+  # install slirp license
+  install -D -m 644 COPYING.slirpvde $pkgdir/usr/share/licenses/vde2/COPYING.slirpvde
+}
+md5sums=('46fbc5f97f03dc517aa3b2c9d9ea6628'
+         '7d9bc56d2e561d849e915000d1c0f269'
+         'a920123fc620bcedbccb703a8d1bdc55'
+         'f47d3372382dc9d67c1174d2796729fe'
+         '63033c33565e2030541c5e05e9d9b063')

Copied: vde2/repos/staging-i686/dhcpd.conf.sample (from rev 208235, vde2/trunk/dhcpd.conf.sample)
===================================================================
--- staging-i686/dhcpd.conf.sample	                        (rev 0)
+++ staging-i686/dhcpd.conf.sample	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,12 @@
+ddns-update-style none;
+
+subnet 192.168.254.0 netmask 255.255.255.0 {
+    range 192.168.254.1 192.168.254.253;
+    option routers 192.168.254.254;
+    option domain-name "virtual.example.com";
+    # find your DNS servers from /etc/resolv.conf
+    # otherwise only pure IP addresses will work
+    option domain-name-servers 192.168.254.254;
+    option broadcast-address 192.168.254.255;
+    default-lease-time 86400;
+}

Copied: vde2/repos/staging-i686/iptables.rules.sample (from rev 208235, vde2/trunk/iptables.rules.sample)
===================================================================
--- staging-i686/iptables.rules.sample	                        (rev 0)
+++ staging-i686/iptables.rules.sample	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,5 @@
+*filter
+-A INPUT -i tun -j ACCEPT
+-A FORWARD -s 192.168.254.0/255.255.255.0 -j ACCEPT
+*nat
+-A POSTROUTING -s 192.168.254.0/24 -j MASQUERADE

Copied: vde2/repos/staging-i686/vde-config.sample (from rev 208235, vde2/trunk/vde-config.sample)
===================================================================
--- staging-i686/vde-config.sample	                        (rev 0)
+++ staging-i686/vde-config.sample	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,35 @@
+# Set options vde_switch program
+# To activate this vde profile add it to /etc/conf.d/vde
+
+# Global options
+VDE_NUMPORTS="32"  # Number of ports (default 32)
+VDE_HUB="no"       # [yes|no] Make the switch act as a hub
+VDE_FSTP="no"      # [yes|no] Activate the fast spanning tree protocol
+VDE_MAC=""         # Set the Switch MAC address
+VDE_PRIORITY=""    # Set the priority for FST (MAC extension)
+VDE_HASHSIZE=""    # Hash table size
+
+# Options from datasock module
+VDE_SOCK="/var/run/vde/sample.sock"  # control directory pathname
+VDE_SOCK_MODE="660"                  # Standard access mode for comm sockets (octal)
+VDE_SOCK_GROUP="root"                # Group owner for comm sockets
+
+# Options from consmgmt module
+VDE_MANAGEMENT_SOCK="/var/run/vde/sample.mgmt"  # path of the management UNIX socket
+VDE_MANAGEMENT_SOCK_MODE="660"                  # management UNIX socket access mode (octal)
+
+# Other options to parse to vde_switch
+VDE_OPTIONS=""
+
+# VDE with internet support
+# You can use either tuntap method or slirpvde method.
+
+# Options from tuntap module
+VDE_TAP=""  # Enable routing through TAP tap interface (comma separated array eg.:"tap0,tap1").
+
+# slirpvde daemon support
+SLIRP="no"         # [yes|no] enable/disable SLIRP daemon support
+SLIRP_DHCP="no"    # [yes|no] turn on the DHCP server for the network autoconfiguration of all the units connected to the VDE
+SLIRP_NETWORK="" # specify the network address (default 10.0.2.0)
+# other options to parse to slirpvde
+SLIRP_OPTIONS=""

Copied: vde2/repos/staging-i686/vde-connection.sample (from rev 208235, vde2/trunk/vde-connection.sample)
===================================================================
--- staging-i686/vde-connection.sample	                        (rev 0)
+++ staging-i686/vde-connection.sample	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,6 @@
+# You can add vde switch connections below
+# just without the # at the beginning:
+# vde_plug /var/run/vde/sample.sock = vde_plug /var/run/vde/sample2.sock
+# or if hosts are different use this syntax:
+# vde_plug /var/run/vde/sample.sock = ssh host2 vde_plug /var/run/vde/sample.sock
+

Copied: vde2/repos/staging-i686/vde2.install (from rev 208235, vde2/trunk/vde2.install)
===================================================================
--- staging-i686/vde2.install	                        (rev 0)
+++ staging-i686/vde2.install	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,9 @@
+post_install() {
+  echo "vde config files should be placed in /etc/vde, sample files are provided."
+  echo "iptables and dhcpd sample files have been installed to '/usr/share/vde2'."
+  echo "Merge those examples, if needed to the according config files."
+}
+
+post_upgrade() {
+  post_install $1
+}

Copied: vde2/repos/staging-x86_64/PKGBUILD (from rev 208235, vde2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,42 @@
+# $Id$
+# Contributor: Sergej Pupykin
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=vde2
+pkgver=2.3.2
+pkgrel=6
+pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
+url="http://sourceforge.net/projects/vde/"
+license=("GPL" "LGPL" "CUSTOM")
+arch=('i686' 'x86_64')
+depends=('bash' 'libpcap' 'openssl')
+makedepends=('python')
+source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2
+        dhcpd.conf.sample
+        iptables.rules.sample
+        vde-config.sample
+        vde-connection.sample)
+install=vde2.install
+options=(!makeflags)
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --libexecdir=/usr/lib/vde2 \
+             --enable-experimental
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver 
+  make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc sbindir=$pkgdir/usr/bin libexecdir=$pkgdir/usr/lib/vde2 install
+  install -D -m 644 ../vde-config.sample $pkgdir/etc/vde/vde-config.sample
+  install -D -m 644 ../vde-connection.sample $pkgdir/etc/vde/vde-connection.sample
+  install -D -m 644 ../dhcpd.conf.sample $pkgdir/usr/share/vde2/dhcpd.conf.sample
+  install -D -m 644 ../iptables.rules.sample $pkgdir/usr/share/vde2/iptables.rules.sample
+  # install slirp license
+  install -D -m 644 COPYING.slirpvde $pkgdir/usr/share/licenses/vde2/COPYING.slirpvde
+}
+md5sums=('46fbc5f97f03dc517aa3b2c9d9ea6628'
+         '7d9bc56d2e561d849e915000d1c0f269'
+         'a920123fc620bcedbccb703a8d1bdc55'
+         'f47d3372382dc9d67c1174d2796729fe'
+         '63033c33565e2030541c5e05e9d9b063')

Copied: vde2/repos/staging-x86_64/dhcpd.conf.sample (from rev 208235, vde2/trunk/dhcpd.conf.sample)
===================================================================
--- staging-x86_64/dhcpd.conf.sample	                        (rev 0)
+++ staging-x86_64/dhcpd.conf.sample	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,12 @@
+ddns-update-style none;
+
+subnet 192.168.254.0 netmask 255.255.255.0 {
+    range 192.168.254.1 192.168.254.253;
+    option routers 192.168.254.254;
+    option domain-name "virtual.example.com";
+    # find your DNS servers from /etc/resolv.conf
+    # otherwise only pure IP addresses will work
+    option domain-name-servers 192.168.254.254;
+    option broadcast-address 192.168.254.255;
+    default-lease-time 86400;
+}

Copied: vde2/repos/staging-x86_64/iptables.rules.sample (from rev 208235, vde2/trunk/iptables.rules.sample)
===================================================================
--- staging-x86_64/iptables.rules.sample	                        (rev 0)
+++ staging-x86_64/iptables.rules.sample	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,5 @@
+*filter
+-A INPUT -i tun -j ACCEPT
+-A FORWARD -s 192.168.254.0/255.255.255.0 -j ACCEPT
+*nat
+-A POSTROUTING -s 192.168.254.0/24 -j MASQUERADE

Copied: vde2/repos/staging-x86_64/vde-config.sample (from rev 208235, vde2/trunk/vde-config.sample)
===================================================================
--- staging-x86_64/vde-config.sample	                        (rev 0)
+++ staging-x86_64/vde-config.sample	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,35 @@
+# Set options vde_switch program
+# To activate this vde profile add it to /etc/conf.d/vde
+
+# Global options
+VDE_NUMPORTS="32"  # Number of ports (default 32)
+VDE_HUB="no"       # [yes|no] Make the switch act as a hub
+VDE_FSTP="no"      # [yes|no] Activate the fast spanning tree protocol
+VDE_MAC=""         # Set the Switch MAC address
+VDE_PRIORITY=""    # Set the priority for FST (MAC extension)
+VDE_HASHSIZE=""    # Hash table size
+
+# Options from datasock module
+VDE_SOCK="/var/run/vde/sample.sock"  # control directory pathname
+VDE_SOCK_MODE="660"                  # Standard access mode for comm sockets (octal)
+VDE_SOCK_GROUP="root"                # Group owner for comm sockets
+
+# Options from consmgmt module
+VDE_MANAGEMENT_SOCK="/var/run/vde/sample.mgmt"  # path of the management UNIX socket
+VDE_MANAGEMENT_SOCK_MODE="660"                  # management UNIX socket access mode (octal)
+
+# Other options to parse to vde_switch
+VDE_OPTIONS=""
+
+# VDE with internet support
+# You can use either tuntap method or slirpvde method.
+
+# Options from tuntap module
+VDE_TAP=""  # Enable routing through TAP tap interface (comma separated array eg.:"tap0,tap1").
+
+# slirpvde daemon support
+SLIRP="no"         # [yes|no] enable/disable SLIRP daemon support
+SLIRP_DHCP="no"    # [yes|no] turn on the DHCP server for the network autoconfiguration of all the units connected to the VDE
+SLIRP_NETWORK="" # specify the network address (default 10.0.2.0)
+# other options to parse to slirpvde
+SLIRP_OPTIONS=""

Copied: vde2/repos/staging-x86_64/vde-connection.sample (from rev 208235, vde2/trunk/vde-connection.sample)
===================================================================
--- staging-x86_64/vde-connection.sample	                        (rev 0)
+++ staging-x86_64/vde-connection.sample	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,6 @@
+# You can add vde switch connections below
+# just without the # at the beginning:
+# vde_plug /var/run/vde/sample.sock = vde_plug /var/run/vde/sample2.sock
+# or if hosts are different use this syntax:
+# vde_plug /var/run/vde/sample.sock = ssh host2 vde_plug /var/run/vde/sample.sock
+

Copied: vde2/repos/staging-x86_64/vde2.install (from rev 208235, vde2/trunk/vde2.install)
===================================================================
--- staging-x86_64/vde2.install	                        (rev 0)
+++ staging-x86_64/vde2.install	2014-03-20 06:29:06 UTC (rev 208236)
@@ -0,0 +1,9 @@
+post_install() {
+  echo "vde config files should be placed in /etc/vde, sample files are provided."
+  echo "iptables and dhcpd sample files have been installed to '/usr/share/vde2'."
+  echo "Merge those examples, if needed to the according config files."
+}
+
+post_upgrade() {
+  post_install $1
+}




More information about the arch-commits mailing list