From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 10 22:48:06 2022 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 To: 54335@debbugs.gnu.org Subject: [PATCH 10/14] gnu: Add go-github-com-vishvananda-netlink. 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 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54335 Cc: Dominic Martinez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * 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))) -- 2.34.0