From patchwork Sun Dec 9 16:34:49 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: 204719 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id B31C12C01FA for ; Mon, 10 Dec 2012 03:37:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3EA98A029D; Sun, 9 Dec 2012 16:37:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MS7kx7dVadcH; Sun, 9 Dec 2012 16:37:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E15F0A012D; Sun, 9 Dec 2012 16:36:29 +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 1F3BB8F74B for ; Sun, 9 Dec 2012 16:35:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0CD4181BA8 for ; Sun, 9 Dec 2012 16:35:50 +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 3bqD9QR12hKg for ; Sun, 9 Dec 2012 16:35:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3F08081B94 for ; Sun, 9 Dec 2012 16:35:49 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hn14so571438wib.10 for ; Sun, 09 Dec 2012 08:35:48 -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; bh=n37Cyl0xbmfzQm0pAhlVPHj4gP04SoBt4q1U2/XHxxI=; b=VaVV67HPcjFdONvpGUEGgAvU8MCfL5WdDdvNvoVYR5ssh2ZaIVyKnJ96RBLrDlP+Jo ODe96RqMjBnl1R8dHTE3DD7tnkdAeT+7O4E0//iJ4M5f1LTE1IQxFaEPWovsHZTDSk5W Vfx+bm3b/BrCcYfOZxYRVb+N8LgDZn+q3/Cn0km6xchGYMaODC0t/J0mR4YV7fl7q7Yo SPzsFBhHdLs8oBrDLDtWY2B0SZj5kwNsWqBy9DDrCZyWfyV/MW28oWQZJS7dIY/4VJzO 4PAdkqa560o4liPdwV7/XC0y5ga+JU610tC/U/ZnIGsVn1urEhevrtjeZYN1mknWiexy vH2A== Received: by 10.216.202.73 with SMTP id c51mr4365411weo.102.1355070948743; Sun, 09 Dec 2012 08:35:48 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-76-30.w90-32.abo.wanadoo.fr. [90.32.155.30]) by mx.google.com with ESMTPS id fv2sm6587947wib.4.2012.12.09.08.35.47 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:35:47 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:34:49 +0100 Message-Id: <1355070924-8009-17-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> References: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 16/51] 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 6e6233d..846bee1 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -40,4 +40,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 350c4a9..80fbf22 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