Message ID | 1f7225d5ca0a09c835187bbfea4eb4ce1b6eb121.1355435224.git.yann.morin.1998@free.fr |
---|---|
State | Superseded |
Headers | show |
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
Yann> VDE is an ethernet compliant virtual network that can be
Yann> spawned over a set of physical computer over the Internet.
Yann> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Yann> Cc: Arnout Vandecappelle <arnout@mind.be>
Yann> ---
Yann> package/Config.in | 1 +
Yann> package/vde2/Config.in | 10 ++++++++++
Yann> package/vde2/vde2.mk | 36 ++++++++++++++++++++++++++++++++++++
Yann> 3 files changed, 47 insertions(+), 0 deletions(-)
Yann> create mode 100644 package/vde2/Config.in
Yann> create mode 100644 package/vde2/vde2.mk
Yann> diff --git a/package/Config.in b/package/Config.in
Yann> index cad1221..2345b4b 100644
Yann> --- a/package/Config.in
Yann> +++ b/package/Config.in
Yann> @@ -672,6 +672,7 @@ source "package/ttcp/Config.in"
Yann> source "package/udpcast/Config.in"
Yann> source "package/ulogd/Config.in"
Yann> source "package/ushare/Config.in"
Yann> +source "package/vde2/Config.in"
Yann> source "package/vpnc/Config.in"
Yann> source "package/vsftpd/Config.in"
Yann> source "package/vtun/Config.in"
Yann> diff --git a/package/vde2/Config.in b/package/vde2/Config.in
Yann> new file mode 100644
Yann> index 0000000..f344d67
Yann> --- /dev/null
Yann> +++ b/package/vde2/Config.in
Yann> @@ -0,0 +1,10 @@
Yann> +config BR2_PACKAGE_VDE2
Yann> + bool "vde2"
Yann> + help
Yann> + VDE is an ethernet compliant virtual network that can be
Yann> + spawned over a set of physical computers over the Internet.
Yann> + VDE is part of the virtualsquare project.
Yann> +
Yann> + http://vde.sourceforge.net/
Yann> +
Yann> + Note: only the libraries are installed.
Wouldn't it then make more sense to put it under Libraries ->
Networking?
A quick test build seems to show that it needs C++ support:
checking whether the C++ compiler works... no
configure: error: in `/home/peko/source/buildroot/vdetest/build/vde2-2.3.2':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
I don't see any C++ source files though, so it's probably better to drop
AC_PROG_CXX from configure.ac
Peter, All, On Friday 14 December 2012 Peter Korsgaard wrote: > Yann> diff --git a/package/vde2/Config.in b/package/vde2/Config.in > Yann> new file mode 100644 > Yann> index 0000000..f344d67 > Yann> --- /dev/null > Yann> +++ b/package/vde2/Config.in > Yann> @@ -0,0 +1,10 @@ > Yann> +config BR2_PACKAGE_VDE2 > Yann> + bool "vde2" > Yann> + help > Yann> + VDE is an ethernet compliant virtual network that can be > Yann> + spawned over a set of physical computers over the Internet. > Yann> + VDE is part of the virtualsquare project. > Yann> + > Yann> + http://vde.sourceforge.net/ > Yann> + > Yann> + Note: only the libraries are installed. > > Wouldn't it then make more sense to put it under Libraries -> > Networking? Nope, we also install the executable to drive the VDE switches. I'll remove that sentenc from the help text, and leave vde2 in "Network Applications". > A quick test build seems to show that it needs C++ support: > > checking whether the C++ compiler works... no > configure: error: in `/home/peko/source/buildroot/vdetest/build/vde2-2.3.2': > configure: error: C++ compiler cannot create executables > See `config.log' for more details > > I don't see any C++ source files though, so it's probably better to drop > AC_PROG_CXX from configure.ac Yup, fixed. Thank you! Regards, Yann E. MORIN.
diff --git a/package/Config.in b/package/Config.in index cad1221..2345b4b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -672,6 +672,7 @@ source "package/ttcp/Config.in" source "package/udpcast/Config.in" source "package/ulogd/Config.in" source "package/ushare/Config.in" +source "package/vde2/Config.in" source "package/vpnc/Config.in" source "package/vsftpd/Config.in" source "package/vtun/Config.in" diff --git a/package/vde2/Config.in b/package/vde2/Config.in new file mode 100644 index 0000000..f344d67 --- /dev/null +++ b/package/vde2/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_VDE2 + bool "vde2" + help + VDE is an ethernet compliant virtual network that can be + spawned over a set of physical computers over the Internet. + VDE is part of the virtualsquare project. + + http://vde.sourceforge.net/ + + Note: only the libraries are installed. diff --git a/package/vde2/vde2.mk b/package/vde2/vde2.mk new file mode 100644 index 0000000..062835e --- /dev/null +++ b/package/vde2/vde2.mk @@ -0,0 +1,36 @@ +############################################################# +# +# vde2 +# +############################################################# + +VDE2_VERSION = 2.3.2 +VDE2_SOURCE = vde2-$(VDE2_VERSION).tar.bz2 +VDE2_SITE = http://downloads.sourceforge.net/project/vde/vde2/$(VDE2_VERSION) +VDE2_LICENSE = GPLv2+ LGPLv2.1+ BSD-3c +VDE2_LICENSE_FILES = COPYING COPYING.libvdeplug COPYING.slirpvde +VDE2_INSTALL_STAGING = YES + +# Reasons for enabling/disabling stuff: +# - tuntap is enabled in the hope we're using a recent-enough toolchain +# that does have if_tun.h (virtually everything these days) +# - kvde_switch is disabled because it requires a patched kernel +# - cryptcab is disabled to not depend on openSSL +# - python is disabled to not depend on Python +# - pcap is disabled to not depend on libpcap +# - profiling is disabled because we do not want to debug/profile +# +# Note: disabled features can be added with corresponding dependencies +# in future commits. +VDE2_CONF_OPT = --disable-experimental \ + --disable-cryptcab \ + --disable-pcap \ + --disable-python \ + --disable-profile \ + --disable-kernel-switch \ + --enable-tuntap \ + +# Package does not build in parallel due to improper make rules +VDE2_MAKE = $(MAKE1) + +$(eval $(autotools-package))
VDE is an ethernet compliant virtual network that can be spawned over a set of physical computer over the Internet. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> --- package/Config.in | 1 + package/vde2/Config.in | 10 ++++++++++ package/vde2/vde2.mk | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 0 deletions(-) create mode 100644 package/vde2/Config.in create mode 100644 package/vde2/vde2.mk