From patchwork Sun Dec 16 16:56:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 206696 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id E24A92C009B for ; Mon, 17 Dec 2012 03:58:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 41DEB30DB6; Sun, 16 Dec 2012 16:58:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14qOjLRO2vo1; Sun, 16 Dec 2012 16:58:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1751F201D8; Sun, 16 Dec 2012 16:57:54 +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 9ACA78F74B for ; Sun, 16 Dec 2012 16:57:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0098C8AADE for ; Sun, 16 Dec 2012 16:57:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qa1FFezF7SXw for ; Sun, 16 Dec 2012 16:57:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id B2E498A936 for ; Sun, 16 Dec 2012 16:56:53 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hq12so1573610wib.4 for ; Sun, 16 Dec 2012 08:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references; bh=7PIUHyXvrfbL0AnreRZnPQsWx1DOIZ8vEZQfHSmf/FE=; b=Xue/Epo42z7lNhFtY37S//N9hf/Uu+H5eBPHdAfAWAUWGQ7JPYAu5+oW4siOoJyMOz 7B0nJDsW/YTY1lJ1/SRlB9KzJgZaQ1NjnyK9Sq4v4KGWhaVOA+N0IniVsQzsGTUAOeN2 dttswQiNJXmPA5b0GwDuEvWxWDYmi2yvZHOnVNqdRtbvW7ClsN3UDP3snyLwUAfEOy8c rywswVRlvc+zj9fqrrgtusFx6JCDiJ0gA+9zc8QLbC5a5GkqRY40aqBPhajmTtiE26U/ GyokFUNFJtBp06WZ8A9+iRGnM2MXPLhJP+9Dot1Yu79DjA3MBFrDYs4U5fK/4FViDDic 6B4A== Received: by 10.194.87.200 with SMTP id ba8mr2705868wjb.22.1355677012013; Sun, 16 Dec 2012 08:56:52 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-41-119.w90-32.abo.wanadoo.fr. [90.32.24.119]) by mx.google.com with ESMTPS id bz12sm8243078wib.5.2012.12.16.08.56.50 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2012 08:56:51 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 16 Dec 2012 17:56:18 +0100 Message-Id: <0d0efc7aeef44df9f9f7af9cb27d9ca293ab2359.1355676845.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 11/19] package/spice: enable slirp support 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: "Yann E. MORIN" --- package/spice/Config.in | 7 +++++++ package/spice/spice.mk | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index 08c3893..b1e187a 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -41,4 +41,11 @@ config BR2_PACKAGE_SPICE_GUI Say 'y' here to enable the Graphical User Interface (GUI) start dialog. +config BR2_PACKAGE_SPICE_TUNNEL + bool "Enable network redirection" + select BR2_PACKAGE_SLIRP + help + Say 'y' here to enable network redirection, aka tunnelling + through a SLIP/SLIRP session. + endif # BR2_PACKAGE_SPICE diff --git a/package/spice/spice.mk b/package/spice/spice.mk index 0a5c58e..78ca202 100644 --- a/package/spice/spice.mk +++ b/package/spice/spice.mk @@ -22,7 +22,6 @@ SPICE_DEPENDENCIES = \ # We disable everything for now, because the dependency tree can become # quite deep if we try to enable some features, and I have not tested that. SPICE_CONF_OPT = \ - --disable-tunnel \ --disable-opengl \ --disable-smartcard \ --disable-automated-tests \ @@ -44,6 +43,13 @@ else SPICE_CONF_OPT += --disable-gui endif +ifeq ($(BR2_PACKAGE_SPICE_TUNNEL),y) +SPICE_CONF_OPT += --enable-tunnel +SPICE_DEPENDENCIES += slirp +else +SPICE_CONF_OPT += --disable-tunnel +endif + SPICE_CONF_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages SPICE_MAKE_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages