From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8ORcBQe/AmVuKgAAG6o9tA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 10:06:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8ORcBQe/AmVuKgAAG6o9tA (envelope-from ) for ; Thu, 14 Sep 2023 10:06:31 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F07AEA07F for ; Thu, 14 Sep 2023 10:06:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beaver-labs.com header.s=zoho header.b="RXP/zTD0"; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.eu:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694678791; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=chMYzdqm+jU8cmxQVH6M+0fv/nQX+TxbqNwNpIONN5k=; b=YbWo03Y9IUQLeicdcK2TFuo/kNQWguFuUfzZXA5QAXzi7TFzehcYHaT0Wdwig2GaW9kdFe uLjbanB5R+TLQMLMi90q3sJYkeM3RYKYdU4wvr4Az4prUqHEk7C6NtOSq5pS7tirojWZOj jBEDDfB5jM46MLIjPXoIfzKghEDW+PzwGrNwrdT0NBeOPu7i018VDzp1HR3KXdOCuVLk0s ce+ftZ5fg+w2B/zaqN14vpn8qiRaBnqAmiBjTyRU2hRLKXAizik2kteVkj/0jUBffznhwm bTOQWddmbswElUgWJ4tbzexTc1fF6tqEkTVc7PDKXCgJbqfJcWlIjqlaP35N/g== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1694678791; a=rsa-sha256; cv=fail; b=czWslrYSaPy/VTVowrbpzD7sqqxJi/8o5p6g4BBCFOUHICBzW7G6XQzX/JbrT7AeSfMyXt l3F/uF91zv10JtmDwnk++mnshDJvvcLHxW1WL5YbTZ5H/ggV9jBdlesjDETYrJxKBR96kd 0F6pZop2wJntZOLZToIecf7gCDz7B9cIALV8IE5cp6TJsjNMJKGcxox7ZO+yEgzXBIACef dlZawyBN0II2G/onW3NDcNVV1Ozg7DesTdicg2YWTLJ8Wprprue2n3cXPqfCfieL2ZMYRP vFIPkI30A4ik+rJXUO/QbpPp8NUMpN7FuPfpUuelNaQ89gKjN19Jnj9KdnQIxA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beaver-labs.com header.s=zoho header.b="RXP/zTD0"; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.eu:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qghLP-0006pt-Bl; Thu, 14 Sep 2023 04:04:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qghLM-0006ol-OT for guix-patches@gnu.org; Thu, 14 Sep 2023 04:04:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qghLM-0005Rj-GT for guix-patches@gnu.org; Thu, 14 Sep 2023 04:04:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qghLS-0000Ok-5c; Thu, 14 Sep 2023 04:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65974] [PATCH 05/33] gnu: Add go-github-com-vishvananda-netlink. Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 14 Sep 2023 08:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65974@debbugs.gnu.org Cc: Edouard Klein , Katherine Cox-Buday X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by 65974-submit@debbugs.gnu.org id=B65974.16946786451174 (code B ref 65974); Thu, 14 Sep 2023 08:05:02 +0000 Received: (at 65974) by debbugs.gnu.org; 14 Sep 2023 08:04:05 +0000 Received: from localhost ([127.0.0.1]:37371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qghKS-0000HQ-Je for submit@debbugs.gnu.org; Thu, 14 Sep 2023 04:04:04 -0400 Received: from sender11-op-o11.zoho.eu ([31.186.226.225]:17111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qghKM-0000FU-59 for 65974@debbugs.gnu.org; Thu, 14 Sep 2023 04:03:55 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1694678626; cv=none; d=zohomail.eu; s=zohoarc; b=VjpnwwaysupHaQ3BYpp9F78fIOoSvXZ4Vbgqpf3ABd1mWbdVF8MquhJhD+klJmon/qgWgZHkL3Uv3ktPEacf0f1pk6NkzWpgNTMXJlkoZuUW2JFRETYjsmQfIRmIAElzu5OcEEP7bEeuvc7X4cpqCNqz1lcTk62KAroEXJmSL/A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1694678626; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=chMYzdqm+jU8cmxQVH6M+0fv/nQX+TxbqNwNpIONN5k=; b=Bv2XqS7S8B9e3x+MeXKA2qZ9l43h4ggCGc5Fcl9iWasTmBnX4Iolsb5dT80+I9E9+YJZ1sX7KP6uXLkLNYKM4GQJ8DR+Quh5/bY3XBLCuf27OXxpZiXR6rI24fa076oalGAx8baMC8a277jM3WO8TjZCs/VFbXgEMEQcRyDef/Y= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1694678626; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=chMYzdqm+jU8cmxQVH6M+0fv/nQX+TxbqNwNpIONN5k=; b=RXP/zTD0RXXRwxJv4Kax0/uMhbi3/BizSdBm04pjN4AfViafYN8DMW5N2WIMLVlM jOpqdVUMj2oY7yZIBNsoaj+wliuDbUPy+JuYwdIBl7RGMk2qmgkkTRuqmDr0+b0q1cY Ccn/itx6jyrsMTMxsgUgNABVu53giylbshdekGvsNlUmN1lo/wlbm/6y/p+6jkse8fX Cpa4DEltFOL0lF8gTPxJ6vw3x3cpbuo+QPoJpmhpnTQq9wIGtz3T4FNSbJQ37VPohe3 Im9FTljM65+MvERlKS8jzltbA5BmE+B6wx5ne3FLjUS+JGpf247TAKkZ93yowNhFOBo Vi9W3NjCWg== Received: from schwarzy.home (lfbn-idf3-1-667-244.w86-252.abo.wanadoo.fr [86.252.237.244]) by mx.zoho.eu with SMTPS id 16946786245431002.227151100062; Thu, 14 Sep 2023 10:03:44 +0200 (CEST) From: Edouard Klein Message-ID: <298436ca5e94ea3037d69b0b78c11a3b516f1438.1694678167.git.edk@beaver-labs.com> Date: Thu, 14 Sep 2023 10:02:50 +0200 X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset=utf8 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 4.22 X-Spam-Score: 4.22 X-Migadu-Queue-Id: F07AEA07F X-Migadu-Scanner: mx0.migadu.com X-TUID: YuiAafDck8NK * gnu/packages/golang.scm (go-github-com-vishvananda-netlink): New variable= . --- gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5a00fd0a2b..0f64892d56 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -13259,6 +13259,38 @@ (define-public go-src-elv-sh Windows.") (license license:bsd-2))) =20 +(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 ;; From what I understand, and I may very well be wrong= , + ;; the tests require root access. At least they fail with "operatio= n not permitted". + #:import-path "github.com/vishvananda/netlink")) + (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-github-com-vishvananda-netns" ,go-github-com= -vishvananda-netns))) + (home-page "https://github.com/vishvananda/netlink") + (synopsis "netlink - netlink library for go") + (description + "Package netlink provides a simple library for netlink. Netlink is t= he 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 con= fiugre +ipsec. Netlink communication requires elevated privileges, so in most cas= es +this code needs to be run as root. The low level primitives for netlink a= re +contained in the nl subpackage. This package attempts to provide a high-l= evel +interface that is loosly modeled on the iproute2 cli.") + (license license:asl2.0))) + (define-public go-github-com-vishvananda-netns (package (name "go-github-com-vishvananda-netns") --=20 2.40.1