From patchwork Fri Mar 11 03:47:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 37741 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 038BF27BBE9; Fri, 11 Mar 2022 03:49:14 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,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 107CC27BBEA for ; Fri, 11 Mar 2022 03:49:13 +0000 (GMT) Received: from localhost ([::1]:52862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSWHA-0006O8-2m for patchwork@mira.cbaines.net; Thu, 10 Mar 2022 22:49:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSWH0-0006NM-Jf for guix-patches@gnu.org; Thu, 10 Mar 2022 22:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSWH0-00065d-B7 for guix-patches@gnu.org; Thu, 10 Mar 2022 22:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nSWH0-0002Ji-A2 for guix-patches@gnu.org; Thu, 10 Mar 2022 22:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH 10/14] gnu: Add go-github-com-vishvananda-netlink. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Mar 2022 03:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.16469704868767 (code B ref 54335); Fri, 11 Mar 2022 03:49:02 +0000 Received: (at 54335) by debbugs.gnu.org; 11 Mar 2022 03:48:06 +0000 Received: from localhost ([127.0.0.1]:36177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSWG6-0002HJ-Ex for submit@debbugs.gnu.org; Thu, 10 Mar 2022 22:48:06 -0500 Received: from mailout-pe-a.jellyfish.systems ([198.54.127.66]:42861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSWG5-0002Gn-5h for 54335@debbugs.gnu.org; Thu, 10 Mar 2022 22:48:05 -0500 Received: from NEW-01-3.privateemail.com (unknown [10.35.5.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout-pe-a.jellyfish.systems (Postfix) with ESMTPSA id 4KFBjB5WLyz3wbY for <54335@debbugs.gnu.org>; Fri, 11 Mar 2022 03:47:58 +0000 (UTC) Received: from MTA-05.privateemail.com (unknown [10.50.14.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by NEW-01-3.privateemail.com (Postfix) with ESMTPS id A42DC1005882 for <54335@debbugs.gnu.org>; Thu, 10 Mar 2022 22:47:56 -0500 (EST) Received: from mta-05.privateemail.com (localhost [127.0.0.1]) by mta-05.privateemail.com (Postfix) with ESMTP id 7882F18000AE; Thu, 10 Mar 2022 22:47:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1646970476; bh=Zaw5Dk+YLME6riFa1Jau7EbAIAUVDaMHhUNo6e1lAsA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uufQYblGzCaqOOV5A5hfIfftybnDQNb9/tLqF+ihUnRVOz7p9BOmXCT2oZyW8DkCJ 6Z/bC2w2/+yZ1zyEzmQSEbZVTrp67+/ogp9GKHovGlmVOhHXdh/WtYXLbxJCfkXWFS YT/amD63jrm6tseHyUIGvD3DJoKBzpnxeJTXPGPiyppwPeCdOGM5fYsMW10Y/SrC6V fpjeLaCSOXPaDi/2ZvgrdxlMHMbQ9VA553WkKLgcf+YN+7eOWWAyEtT4tu2dKPMwih UKhf1cBYDX5r1pzujj/oILQvSqtEKXA/5fBn476cLQ3fO+u2nmTxr1NG4sIaR0eYNk +uxK7UcRQiOpA== Received: from localhost.localdomain (unknown [10.20.151.197]) by mta-05.privateemail.com (Postfix) with ESMTPA id 07EE018000A6; Thu, 10 Mar 2022 22:47:54 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1646970476; bh=Zaw5Dk+YLME6riFa1Jau7EbAIAUVDaMHhUNo6e1lAsA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uufQYblGzCaqOOV5A5hfIfftybnDQNb9/tLqF+ihUnRVOz7p9BOmXCT2oZyW8DkCJ 6Z/bC2w2/+yZ1zyEzmQSEbZVTrp67+/ogp9GKHovGlmVOhHXdh/WtYXLbxJCfkXWFS YT/amD63jrm6tseHyUIGvD3DJoKBzpnxeJTXPGPiyppwPeCdOGM5fYsMW10Y/SrC6V fpjeLaCSOXPaDi/2ZvgrdxlMHMbQ9VA553WkKLgcf+YN+7eOWWAyEtT4tu2dKPMwih UKhf1cBYDX5r1pzujj/oILQvSqtEKXA/5fBn476cLQ3fO+u2nmTxr1NG4sIaR0eYNk +uxK7UcRQiOpA== From: Dominic Martinez Date: Thu, 10 Mar 2022 22:47:37 -0500 Message-Id: <20220311034741.14377-1-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220311031849.12681-1-dom@dominicm.dev> References: <20220311031849.12681-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-vishvananda-netlink): New variable. --- gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 24585e447e..5070981cfd 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9986,3 +9986,34 @@ (define-public go-github-com-vishvananda-netns the handle. Changing namespaces requires elevated privileges, so in most cases this code needs to be run as root.") (license license:asl2.0))) + +(define-public go-github-com-vishvananda-netlink + (package + (name "go-github-com-vishvananda-netlink") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vishvananda/netlink") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vhl30p1gx636a088ls4h6a0l8jjyfvz79fr5w0qzdrg4qg9h08h")))) + (build-system go-build-system) + (arguments '(#:tests? #f + #:import-path "github.com/vishvananda/netlink")) + (native-inputs + (list go-golang-org-x-sys + go-github-com-vishvananda-netns)) + (home-page "https://github.com/vishvananda/netlink") + (synopsis "Netlink library for Go") + (description + "Package netlink provides a simple library for netlink. Netlink is the interface +a user-space program in linux uses to communicate with the kernel. It can be +used to add and remove interfaces, set up ip addresses and routes, and confiugre +ipsec. Netlink communication requires elevated privileges, so in most cases +this code needs to be run as root. The low level primitives for netlink are +contained in the nl subpackage. This package attempts to provide a high-level +interface that is loosly modeled on the iproute2 cli.") + (license license:asl2.0)))