From patchwork Sun Aug 12 23:53:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 176809 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 2C3042C008F for ; Mon, 13 Aug 2012 09:55:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9701C8693A; Sun, 12 Aug 2012 23:54:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tqvDsqdlQvMs; Sun, 12 Aug 2012 23:54:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5FF0B8A54B; Sun, 12 Aug 2012 23:54:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BBFEA8F791 for ; Sun, 12 Aug 2012 23:54:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 62D8E89EF1 for ; Sun, 12 Aug 2012 23:54:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JoV8ius-xp5v for ; Sun, 12 Aug 2012 23:54:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.smtpout.orange.fr (smtp10.smtpout.orange.fr [80.12.242.132]) by whitealder.osuosl.org (Postfix) with ESMTP id 09DEA88E1B for ; Sun, 12 Aug 2012 23:54:27 +0000 (UTC) Received: from treguer.bzh.lan ([90.32.165.248]) by mwinf5d33 with ME id lzuQ1j0055MspoA03zuSHX; Mon, 13 Aug 2012 01:54:27 +0200 From: "Yann E. MORIN" To: buildroot@busybox.net Date: Mon, 13 Aug 2012 01:53:52 +0200 Message-Id: <1344815664-28138-4-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1344815664-28138-1-git-send-email-yann.morin.1998@free.fr> References: <1344815664-28138-1-git-send-email-yann.morin.1998@free.fr> MIME-Version: 1.0 Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] =?utf-8?q?=5BPATCH_04/36=5D_package/vde2=3A_new_packa?= =?utf-8?q?ge?= X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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" --- package/Config.in | 1 + package/vde2/Config.in | 10 +++++++++ package/vde2/vde2.mk | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 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 f139e29..3b581a2 100644 --- a/package/Config.in +++ b/package/Config.in @@ -611,6 +611,7 @@ source "package/transmission/Config.in" source "package/ttcp/Config.in" source "package/udpcast/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..404c85d --- /dev/null +++ b/package/vde2/vde2.mk @@ -0,0 +1,51 @@ +#----------------------------------------------------------------------------- +# Package description + +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 = LGPLv2.1+ +VDE2_LICENSE_FILES = COPYING.libvdeplug +# Note: only the libs are LGPLv2.1+, binaries are not installed for now. +VDE2_INSTALL_STAGING = YES + +#---------------------------------------------------------------------------- +# Package options + +# 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 build process + +# Package does not build in parallel due to improper make rules +VDE2_MAKE = $(MAKE1) + +# For now, we install only the libraries +# Installing the complete VDE suite can come in a later patch +# In that case, do not forget to update the license! +define VDE2_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(STAGING_DIR)/usr/lib/libvde*.so* \ + $(TARGET_DIR)/usr/lib + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/vde2/vde_l3 + $(INSTALL) -D -m 0755 $(STAGING_DIR)/usr/lib/vde2/vde_l3/*.so \ + $(TARGET_DIR)/usr/lib/vde2/vde_l3 +endef + +$(eval $(autotools-package))