From unknown Mon Jun 23 07:48:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#65944] [PATCH 04/33] gnu: Add go-github-com-vishvananda-netns. 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:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65944 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65944@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.169467596226374 (code B ref -1); Thu, 14 Sep 2023 07:20:06 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2023 07:19:22 +0000 Received: from localhost ([127.0.0.1]:36682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qggdG-0006r6-Av for submit@debbugs.gnu.org; Thu, 14 Sep 2023 03:19:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:50832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qggdA-0006pZ-0f for submit@debbugs.gnu.org; Thu, 14 Sep 2023 03:19:17 -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-0008V6-Oy 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-0008Cs-M6 for guix-patches@gnu.org; Thu, 14 Sep 2023 03:18:46 -0400 Delivered-To: edk@beaver-labs.com ARC-Seal: i=1; a=rsa-sha256; t=1694675913; cv=none; d=zohomail.eu; s=zohoarc; b=KyWfp++kUHPQU+UKIjoHntsqGvxfqKLFGdtVSAWFZoyEHA4mjAvrPE1c3OTg0TbZqDGRgzXT4gYknSk35Fw+VyiJDheJxo48Zh9kc5Uh565PVp7+H7NnoHQawzFdcBXIopHkekiLQClu1qA2tIdwqiKlO4lmdxn2U814MVCa1z8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1694675913; 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=4cO4Ov4XzuRohoQuuMvzhe11O1+rSRtYdi5QgP8/XoI=; b=eavbjL7oEyfuUd9h71LENjzgB+RBG0JtxiKEZ11Og8mdynKb29vQYMmY9rO2mOAkwTOcZtOaWcxz4qqihydOzMcr/yfQmXCbYDqSDsK3C+7iz4yVwB6fkNHANMq/3RQ4p5BbOPrjL2O6CBV2LH1DldZtmCQWTGT95S6rbdL/h1U= 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=1694675913; 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=4cO4Ov4XzuRohoQuuMvzhe11O1+rSRtYdi5QgP8/XoI=; b=XJ/Yh5Ji4PsXkZhbaMiIKOIbByPn8ncqJ79IeCXjbqzbmZrQRqHcyHpMcGP2o+Rv qVgJUSxe649MUrvKd0S4SxgEPB+Tyx4ofbL2AqYP58iijGeE/pfNejMnemsMCLNtUst v+WQlLbzAQV363C/KwjeIpc8h7S9H60/BODlNFI6BaHLFo9aA5BcjWzWAPQLn1U+KBa rJYCTxq7CCsnxBP1Eaa3KLp6S+YKEFiHWdBoqsYZB5L7M6mOWF7HQ73/gqEUmS8tx+C dkc71cUZHGJDGfd2slnMe5hGTmkbdGrmZ91yc5vkOitCsZxecWvfQSi+YuIAFT/BMx5 5VVw7z3sOg== 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 1694675912885139.77034598799514; Thu, 14 Sep 2023 09:18:32 +0200 (CEST) From: Edouard Klein Message-ID: Date: Thu, 14 Sep 2023 09:09:11 +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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) * gnu/packages/golang.scm (go-github-com-vishvananda-netns): 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 57dee78330..5a00fd0a2b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -13259,6 +13259,37 @@ (define-public go-src-elv-sh Windows.") (license license:bsd-2))) =20 +(define-public go-github-com-vishvananda-netns + (package + (name "go-github-com-vishvananda-netns") + (version "0.0.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vishvananda/netns") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rci8c211m57nya9il81fz6459pia3dj5i4b16fp34vjrkcxliml")))) + (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/netns")) + (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) + (home-page "https://github.com/vishvananda/netns") + (synopsis "netns - network namespaces in go") + (description + "Package netns allows ultra-simple network namespace handling. @code{= NsHandles} +can be retrieved and set. Note that the current namespace is thread local= so +actions that set and reset namespaces should use @code{LockOSThread} to ma= ke +sure the namespace doesn't change due to a goroutine switch. It is best t= o +close @code{NsHandles} when you are done with them. This can be accomplis= hed +via a `defer ns.Close()` on the handle. Changing namespaces requires elev= ated +privileges, so in most cases this code needs to be run as root.") + (license license:asl2.0))) + (define-public go-github-com-gorilla-websocket (package (name "go-github-com-gorilla-websocket") --=20 2.40.1 From unknown Mon Jun 23 07:48:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Edouard Klein Subject: bug#65944: closed (Re: bug#65944: Acknowledgement ([PATCH 04/33] gnu: Add go-github-com-vishvananda-netns.)) Message-ID: References: <871qf16w4c.fsf@rdklein.fr> X-Gnu-PR-Message: they-closed 65944 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 65944@debbugs.gnu.org Date: Thu, 14 Sep 2023 07:41:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1694677263-30126-1" This is a multi-part message in MIME format... ------------=_1694677263-30126-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #65944: [PATCH 04/33] gnu: Add go-github-com-vishvananda-netns. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 65944@debbugs.gnu.org. --=20 65944: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65944 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1694677263-30126-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 65944-done) by debbugs.gnu.org; 14 Sep 2023 07:40:33 +0000 Received: from localhost ([127.0.0.1]:37087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qggxk-0007oH-PZ for submit@debbugs.gnu.org; Thu, 14 Sep 2023 03:40:33 -0400 Received: from sender-op-o9.zoho.eu ([136.143.169.9]:17754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qggxj-0007o9-4p for 65944-done@debbugs.gnu.org; Thu, 14 Sep 2023 03:40:31 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1694677222; cv=none; d=zohomail.eu; s=zohoarc; b=F4QgyV3EPK7x3DWb7VxygrOBwP/AkfUW6LDDp8mr8m6URf/H55D9K0PspBYn5jpPvOxS/HCGDxvT9BRBqdGJpUPXRSO8+d2eY4Lx1Vb0pW+wG4fdS3rqc3+GSng3wIn+L0thrNxjMxiQyeU/SB/ZDWJy0xFaAbq5S3VFWK5b9XI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1694677222; h=Content-Type:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=C89SLtl/z8fUCBYVHbtvS5BDlXgTn/FFvBiZ5wQFL/Y=; b=d4AE6TYig+vJUgexvcFMuXeahBQyI97XDznmnU9sANx09n0ZI2vh8QjAo2z1tg2abj/K3OrXQ9I1rueWkrXGLU2vN2hxvpJwk8IR9COrsXmm2qbFqCjjvNETQCFu+owOhAIfhfAmkUJJHxg7qPJsajdekIRLj4OhP6EvqoIWK5M= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1694677222; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:From:To:To:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=C89SLtl/z8fUCBYVHbtvS5BDlXgTn/FFvBiZ5wQFL/Y=; b=ZB3Ilo6KB+MCw07KbhMWFv/X5G3Cux/JBoJQuQVZJkV0vUCDLMsAXxPC+RgXt/Lh DADIy6CB+7zlJ0MHmrYgsWZIS8PMwuc1vJvFBaD9Xqxa4c1a+BY6UevcE5VNWexAaBU DdWkg2A0qLPr2nwtY58hNWH3SwxO8EY8kawJULsU9RkGpIAbhTqIK5Le6/TF9csDipL 4Drh15QuxWRHYzqhpSBovADsIcE1YBlm6vbNH6dhugOZ+KS3VF2iZvyX2V4hHtVmkcM wymhtDi7o6sJYOoMQ0dbuqaabPkgYvnCVI0kbfgtEj8F8/Z2OBw6bwUA2RYZmsxHm6o R+bToiNMNQ== Received: from schwarzy (lfbn-idf3-1-667-244.w86-252.abo.wanadoo.fr [86.252.237.244]) by mx.zoho.eu with SMTPS id 1694677220402314.6833973152345; Thu, 14 Sep 2023 09:40:20 +0200 (CEST) References: User-agent: mu4e 1.10.2; emacs 28.2 From: Edouard Klein To: 65944-done@debbugs.gnu.org Subject: Re: bug#65944: Acknowledgement ([PATCH 04/33] gnu: Add go-github-com-vishvananda-netns.) Date: Thu, 14 Sep 2023 09:40:13 +0200 In-reply-to: Message-ID: <871qf16w4c.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65944-done 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 (-) help-debbugs@gnu.org (GNU bug Tracking System) writes: > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > As you requested using X-Debbugs-CC, your message was also forwarded to > Katherine Cox-Buday > (after having been given a bug report number, if it did not have one). > > Your message has been sent to the package maintainer(s): > guix-patches@gnu.org > > If you wish to submit further information on this problem, please > send it to 65944@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. ------------=_1694677263-30126-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Sep 2023 07:19:22 +0000 Received: from localhost ([127.0.0.1]:36682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qggdG-0006r6-Av for submit@debbugs.gnu.org; Thu, 14 Sep 2023 03:19:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:50832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qggdA-0006pZ-0f for submit@debbugs.gnu.org; Thu, 14 Sep 2023 03:19:17 -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-0008V6-Oy 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-0008Cs-M6 for guix-patches@gnu.org; Thu, 14 Sep 2023 03:18:46 -0400 Delivered-To: edk@beaver-labs.com ARC-Seal: i=1; a=rsa-sha256; t=1694675913; cv=none; d=zohomail.eu; s=zohoarc; b=KyWfp++kUHPQU+UKIjoHntsqGvxfqKLFGdtVSAWFZoyEHA4mjAvrPE1c3OTg0TbZqDGRgzXT4gYknSk35Fw+VyiJDheJxo48Zh9kc5Uh565PVp7+H7NnoHQawzFdcBXIopHkekiLQClu1qA2tIdwqiKlO4lmdxn2U814MVCa1z8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1694675913; 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=4cO4Ov4XzuRohoQuuMvzhe11O1+rSRtYdi5QgP8/XoI=; b=eavbjL7oEyfuUd9h71LENjzgB+RBG0JtxiKEZ11Og8mdynKb29vQYMmY9rO2mOAkwTOcZtOaWcxz4qqihydOzMcr/yfQmXCbYDqSDsK3C+7iz4yVwB6fkNHANMq/3RQ4p5BbOPrjL2O6CBV2LH1DldZtmCQWTGT95S6rbdL/h1U= 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=1694675913; 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=4cO4Ov4XzuRohoQuuMvzhe11O1+rSRtYdi5QgP8/XoI=; b=XJ/Yh5Ji4PsXkZhbaMiIKOIbByPn8ncqJ79IeCXjbqzbmZrQRqHcyHpMcGP2o+Rv qVgJUSxe649MUrvKd0S4SxgEPB+Tyx4ofbL2AqYP58iijGeE/pfNejMnemsMCLNtUst v+WQlLbzAQV363C/KwjeIpc8h7S9H60/BODlNFI6BaHLFo9aA5BcjWzWAPQLn1U+KBa rJYCTxq7CCsnxBP1Eaa3KLp6S+YKEFiHWdBoqsYZB5L7M6mOWF7HQ73/gqEUmS8tx+C dkc71cUZHGJDGfd2slnMe5hGTmkbdGrmZ91yc5vkOitCsZxecWvfQSi+YuIAFT/BMx5 5VVw7z3sOg== 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 1694675912885139.77034598799514; Thu, 14 Sep 2023 09:18:32 +0200 (CEST) From: Edouard Klein To: guix-patches@gnu.org Message-ID: Subject: [PATCH 04/33] gnu: Add go-github-com-vishvananda-netns. Date: Thu, 14 Sep 2023 09:09:11 +0200 X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Katherine Cox-Buday 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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Edouard Klein 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: -0.0 (/) * gnu/packages/golang.scm (go-github-com-vishvananda-netns): 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 57dee78330..5a00fd0a2b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -13259,6 +13259,37 @@ (define-public go-src-elv-sh Windows.") (license license:bsd-2))) =20 +(define-public go-github-com-vishvananda-netns + (package + (name "go-github-com-vishvananda-netns") + (version "0.0.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vishvananda/netns") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rci8c211m57nya9il81fz6459pia3dj5i4b16fp34vjrkcxliml")))) + (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/netns")) + (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) + (home-page "https://github.com/vishvananda/netns") + (synopsis "netns - network namespaces in go") + (description + "Package netns allows ultra-simple network namespace handling. @code{= NsHandles} +can be retrieved and set. Note that the current namespace is thread local= so +actions that set and reset namespaces should use @code{LockOSThread} to ma= ke +sure the namespace doesn't change due to a goroutine switch. It is best t= o +close @code{NsHandles} when you are done with them. This can be accomplis= hed +via a `defer ns.Close()` on the handle. Changing namespaces requires elev= ated +privileges, so in most cases this code needs to be run as root.") + (license license:asl2.0))) + (define-public go-github-com-gorilla-websocket (package (name "go-github-com-gorilla-websocket") --=20 2.40.1 ------------=_1694677263-30126-1--