Patchwork [05/51] package/vde2: new package

login
register
mail settings
Submitter Yann E. MORIN
Date Dec. 9, 2012, 4:34 p.m.
Message ID <1355070924-8009-6-git-send-email-yann.morin.1998@free.fr>
Download mbox | patch
Permalink /patch/204708/
State Superseded
Headers show

Comments

Yann E. MORIN - Dec. 9, 2012, 4:34 p.m.
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>
---
 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
Arnout Vandecappelle - Dec. 10, 2012, 6:41 a.m.
On 09/12/12 17:34, Yann E. MORIN wrote:
> 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>
> ---
>   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
>
> diff --git a/package/Config.in b/package/Config.in
> index 74e439e..529c1ce 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -667,6 +667,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..1591bc4
> --- /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 computer over the Internet.

  computer -> computers

> +	  VDE is part of virtualsquare project.

  _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..b2e0fea
> --- /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://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/vde/vde2/$(VDE2_VERSION)

  Should be a downloads.sourceforge.net URL.


  Regards,
  Arnout

> +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))
Yann E. MORIN - Dec. 10, 2012, 5:49 p.m.
Arnout, All,

On Monday 10 December 2012 Arnout Vandecappelle wrote:
> On 09/12/12 17:34, Yann E. MORIN wrote:
[--SNIP--]
> > diff --git a/package/vde2/Config.in b/package/vde2/Config.in
> > new file mode 100644
> > index 0000000..1591bc4
> > --- /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 computer over the Internet.
> 
>   computer -> computers
> 
> > +	  VDE is part of virtualsquare project.
> 
>   _the_ virtualsquare project.

Well, I just copy-pasted what's on the VDE website:
> > +	  http://vde.sourceforge.net/

I'll fix that (although I'm very keen on keeping the exact same wording
as used by upstream).

[--SNIP--]
> > diff --git a/package/vde2/vde2.mk b/package/vde2/vde2.mk
> > new file mode 100644
> > index 0000000..b2e0fea
> > --- /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://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/vde/vde2/$(VDE2_VERSION)
> 
>   Should be a downloads.sourceforge.net URL.

Yes, right. Thank you!

Regards,
Yann E. MORIN.

Patch

diff --git a/package/Config.in b/package/Config.in
index 74e439e..529c1ce 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -667,6 +667,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..1591bc4
--- /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 computer over the Internet.
+	  VDE is part of 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..b2e0fea
--- /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://$(BR2_SOURCEFORGE_MIRROR).dl.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))