From patchwork Wed Dec 22 07:33:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timmy Douglas X-Patchwork-Id: 35575 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BE93A27BBEA; Wed, 22 Dec 2021 07:35:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8BE7C27BBE9 for ; Wed, 22 Dec 2021 07:35:38 +0000 (GMT) Received: from localhost ([::1]:54006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzw9x-0004dF-EO for patchwork@mira.cbaines.net; Wed, 22 Dec 2021 02:35:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzw9P-0004ac-4W for guix-patches@gnu.org; Wed, 22 Dec 2021 02:35:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzw9O-00006i-R1 for guix-patches@gnu.org; Wed, 22 Dec 2021 02:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzw9O-0002r6-P7 for guix-patches@gnu.org; Wed, 22 Dec 2021 02:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52174] [PATCH v3 3/6] gnu: add libslirp Resent-From: Timmy Douglas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Dec 2021 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52174@debbugs.gnu.org Cc: ludo@gnu.org, mail@timmydouglas.com Received: via spool by 52174-submit@debbugs.gnu.org id=B52174.164015848210919 (code B ref 52174); Wed, 22 Dec 2021 07:35:02 +0000 Received: (at 52174) by debbugs.gnu.org; 22 Dec 2021 07:34:42 +0000 Received: from localhost ([127.0.0.1]:56527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzw93-0002q2-T2 for submit@debbugs.gnu.org; Wed, 22 Dec 2021 02:34:42 -0500 Received: from out1.migadu.com ([91.121.223.63]:26863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzw92-0002pv-Ta for 52174@debbugs.gnu.org; Wed, 22 Dec 2021 02:34:41 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timmydouglas.com; s=key1; t=1640158480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uKjGvYqjUaOJH6Q1dw0YI0tdRZ/RWfmw00y2193DCtI=; b=dOI6VUiCQPaDlXFevkJ4ZnPhGbcYaYpidC5s59hKTqWyCtG6tFTK/1O3sjIrADdG04MSci OQERk8oNCXWe5JDc6bjx8hR5bqKS4xTyZNed4L3xYu/Qk8DVqke60p8vTVCKWNIRdJRRkD 0T4D0xm3esUlmFmE3OzaGRUNT0IHScE= Date: Tue, 21 Dec 2021 23:33:50 -0800 Message-Id: <470eb4eeaf43a6e7596a35205ba6db5c52e7fdc7.1640158278.git.mail@timmydouglas.com> In-Reply-To: <87sfunjtfi.fsf@gnu.org> References: <87sfunjtfi.fsf@gnu.org> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: timmydouglas.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Timmy Douglas X-ACL-Warn: , Timmy Douglas via Guix-patches X-Patchwork-Original-From: Timmy Douglas via Guix-patches via From: Timmy Douglas X-getmail-retrieved-from-mailbox: Patches * gnu/packages/containers.scm (libslirp): New variable. --- gnu/packages/containers.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index ff61219c41..7ba39b5c69 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm @@ -148,3 +148,28 @@ (define-public conmon manager (like Podman or CRI-O) and an Open Container Initiative (OCI) runtime (like runc or crun) for a single container.") (license license:asl2.0))) + +(define-public libslirp + (package + (name "libslirp") + (version "4.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/slirp/libslirp") + (commit (string-append "v" version)))) + (sha256 + (base32 "1b4cn51xvzbrxd63g6w1033prvbxfxsnsn1l0fa5i311xv28vkh0")) + (file-name (git-file-name name version)))) + (build-system meson-build-system) + (inputs + (list glib)) + (native-inputs + (list pkg-config)) + (home-page "https://gitlab.freedesktop.org/slirp/libslirp") + (synopsis "User-mode networking library") + (description + "libslirp is a user-mode networking library used by virtual machines, +containers or various tools.") + (license license:bsd-3)))