From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mPp+OTO0AmVhQAEA9RJhRA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 09:20:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mPp+OTO0AmVhQAEA9RJhRA (envelope-from ) for ; Thu, 14 Sep 2023 09:20:20 +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 C520B5B5BF for ; Thu, 14 Sep 2023 09:20:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beaver-labs.com header.s=zoho header.b=dIbJ+FXm; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.eu:reject}"); 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"; dmarc=none ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694676019; 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=EL31swEtme2QKKPqcsKmo1UBV+/Vbi0meMQ8bB7/K3pM7SiBQD8s37fxtZOppoHSAZ9iF1 7F9ee+hlabc1srfO4r3pvII9ymqmi0xrQ7bYpeYKeYRV7AJahV3Srx5kfAtUi/Hz/T5B8H xxGxDcO7iRCi0JCJpqpTfWyY9oUqjIFg7lZCQtsD1fezNeCKICo4Tqvm1dKgKS7lZrFND9 D8qjhPiPnLyyluGyIYDnzqqScvuI51jXYnUqB+6C5QVL6CH98KsoRE7gmem2M1dl3BE+rE tyg0k68/g2+kNO/rvs1lv5cNF5Naz3c1rhf6qJCAeRZb7ZwxmnAPkU/9ZnDRTA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beaver-labs.com header.s=zoho header.b=dIbJ+FXm; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.eu:reject}"); 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"; dmarc=none ARC-Seal: i=2; s=key1; d=yhetil.org; t=1694676019; a=rsa-sha256; cv=fail; b=rLgL10gquTEDzJ+98py0QOw1lIHPPQZYMQTS/bK9LaGfDkfavXycPIu6nUohfmvyj+2huF GMtU28S2yGOuDNr676/V4eZgfg4aRxJge+23DskmD/uXog4g/JP1w2RcjwD3C/993a0bup 5tq6ihWyN8/b08nBNxBbpgtiUTHkDxbEhlkKPa/lqY2dI5ng8KapzU5GepQ0/AYsfhPrAF 3QOTktbGQ9+TWiohXkZsW6aCDHPaYcU3osHFcV5PGX+Zh6OH0phxFPk56vCqz+oEB+dDUj osgj8OPmeAYCYbm5gbT1qnQ0vFJ0eu/iC74v2NBbNg0zUuAqiub4p5BlMelyew== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qggdu-0000VA-TW; Thu, 14 Sep 2023 03:20:02 -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 1qggdr-0000Sx-9L for guix-patches@gnu.org; Thu, 14 Sep 2023 03:19:59 -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 1qggdr-00005D-19 for guix-patches@gnu.org; Thu, 14 Sep 2023 03:19:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qggdw-0006yJ-Do; Thu, 14 Sep 2023 03:20:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65941] [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 07:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65941 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65941@debbugs.gnu.org Cc: Edouard Klein , Katherine Cox-Buday X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by submit@debbugs.gnu.org id=B.169467596126344 (code B ref -1); Thu, 14 Sep 2023 07:20:04 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2023 07:19:21 +0000 Received: from localhost ([127.0.0.1]:36675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qggdF-0006qn-28 for submit@debbugs.gnu.org; Thu, 14 Sep 2023 03:19:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:50818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qggdA-0006pY-09 for submit@debbugs.gnu.org; Thu, 14 Sep 2023 03:19:16 -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 1qggcj-0008V5-Ow for guix-patches@gnu.org; Thu, 14 Sep 2023 03:18:52 -0400 Received: from sender11-op-o11.zoho.eu ([31.186.226.225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qggcZ-0008D7-Lb for guix-patches@gnu.org; Thu, 14 Sep 2023 03:18:47 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1694675914; cv=none; d=zohomail.eu; s=zohoarc; b=W7LJI+3s8OiNN4mB+z2wJYvQZ+6a90dzl7JZYPgCW1V0VdVd91mP48ZN2GuMBjfmFrZo9CCZNLttQyhU9ppS08dpqwlccOqj/28uiM0XUBbtV5nVynFGS4KEl93sRQGV2+dUDD0EaVasgxBrjVCjrQ4iZHkgS6L6F+bX8fILzYg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1694675914; 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=M+XxcqWESIrOq1NPJgbMApRt8AASFuhlIRNoXm2dp3edS1guoSy9jlZ8mdOlA4lFn5GjaS9GCncaqT8IuJpQK0aCReag97xvv0C7gDJCRhH7hT58rEQgS1gaocphOaYrej80KRVDIi6U+yVn0xTus2Q1lzu1HhYR5IHzHEGq+Xw= 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=1694675914; 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=dIbJ+FXm1VpblYUeu3cWhoFWuoBCaiRQE1kbQeY5/uvCaD8IYvxEq7QtrjfRlcav bhxj7ZqNew5KVCd1eQDxPrA/OAIjX7LZuZJ2wy46BcvUxt+mkU5NUnJQf+icRJVgl0n l08ISjND9DpSXrttZyA51OUpWrV0BoYB0+Sge9wG1VWijgIQtzzjMy6zzQx6nfIp0YK ZeesqP1/i8fGhEAlneN2AH4TabeA0U3I2PS6oI9s46wgEFHRl7WFxcWWPkqwaQtVW0f zmsJd+C0wVjrRiDSrw4Im0AMj0L8aaXuPE9inVHsgAeYpvmJRwO6s4SfyhIrjQCtMCW RfQsP5dW8w== 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 1694675913443727.845277184448; Thu, 14 Sep 2023 09:18:33 +0200 (CEST) From: Edouard Klein Message-ID: <298436ca5e94ea3037d69b0b78c11a3b516f1438.1694675380.git.edk@beaver-labs.com> Date: Thu, 14 Sep 2023 09:09:12 +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 Received-SPF: pass client-ip=31.186.226.225; envelope-from=edk@beaver-labs.com; helo=sender11-op-o11.zoho.eu X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 3.09 X-Spam-Score: 3.09 X-Migadu-Queue-Id: C520B5B5BF X-TUID: YlZXY79VXPsb * 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