From patchwork Sun Aug 25 21:23:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 67283 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 597C727BBEA; Sun, 25 Aug 2024 22:25:39 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham 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 83D0A27BBE2 for ; Sun, 25 Aug 2024 22:25:38 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siKjd-0005aM-JP; Sun, 25 Aug 2024 17:25: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 1siKjZ-0005Ye-E4 for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:13 -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 1siKjZ-000894-5Q for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=sIQlpenF16d2uix+I0jzCKmyqVvQeI3eqWda6Iv6zOM=; b=bctGNkIQzIRL2JWkp4VT9Ud5sRZEOMk/HJscY4deLSGV8rvPXUy04DnD+j9ERWzxkGoDFgQjp9z+hVGJB16FuxHLKutogwqdRV4qMOFLvgJ3lwQf6ZDeyNUR+YZBwcApWVv3GUqj6IZrzPgDafjOuoC2e9ZKi3GncnMCkYZrUHIAKTyaplnkj6JIM73TDEL0I0nCrEPPK1z+neLShZXcOh9RlqsSjDJM3QHFzt64E88mFNyf4nvcV5z5cvrwXvjfyapNlZxynZW3HHawKbdiWQxjG/HVOh76UeFxNWbsW9n038czJe6pbC3p3y5bl0+43OpITwHuKgwOZ7PtD9UCoA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siKkM-0003AH-Gz for guix-patches@gnu.org; Sun, 25 Aug 2024 17:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72810] [PATCH 1/4] gnu: Add go-github-com-libp2p-go-reuseport. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Aug 2024 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72810 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72810@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 72810-submit@debbugs.gnu.org id=B72810.172462114112091 (code B ref 72810); Sun, 25 Aug 2024 21:26:02 +0000 Received: (at 72810) by debbugs.gnu.org; 25 Aug 2024 21:25:41 +0000 Received: from localhost ([127.0.0.1]:43391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKk1-00038w-5z for submit@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:41 -0400 Received: from mail-lf1-f45.google.com ([209.85.167.45]:38031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKjz-00038e-44 for 72810@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:39 -0400 Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5334832fb94so833622e87.0 for <72810@debbugs.gnu.org>; Sun, 25 Aug 2024 14:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724621022; x=1725225822; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sIQlpenF16d2uix+I0jzCKmyqVvQeI3eqWda6Iv6zOM=; b=Sm5qttr6xQ9a34bCa/nP1MkTm1LV5EwSh4J61cgcIMg5CoxWtE73boqht5gtN3dbbT bJ53R8V8dEeA3kbp37JeKCPxej3A3ImlckVdYT1k/90cbdlVnXaAVqrmDpwiApzEiBF/ oVnnZZRltenuJtyTxB70BmHmO/7Lwj2NgCLASHP4Z2q+SMwhjfToFQ3fdYnFsTKMP7PN aB2xo2wc+/VAcFqyShOX6LA3Zd6e0/uh9pJdCpkgybE9cC4Vqtk9CkYMuImStIBis9FA QYaGSPXvhBrHGvSyVQKsEUedYAeaqm9sPAqzY6+rCjMwHlgl15qTEuKMjJdgpWN7hlmO 0xeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724621022; x=1725225822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sIQlpenF16d2uix+I0jzCKmyqVvQeI3eqWda6Iv6zOM=; b=k6EnhYJW3QqNVSMsn2OdtrM5D6+NhEvU4H+7jH/MqRlWCuQyLtEdA1Mjgl+VxH3l9j ypv6VplV2nGCgOtMlQFnpeC9PgpLH6/liuvQ4xY6p4sc8rJpILloMs8NQg0DP+m04Q97 r3hlDn5MSYNd0wJMBz2rgiNwJc3PG/qF8g3Xvwz9NhV3X9ri+CsTaAyPAjfCHU+MDERm //a/qiN+LkSJ8h/DQAZILJ02l80VlFcyoOTiFfXyb/0YIboSu/BLaOcJ48AF/eKibVi3 KP1mRfcIXK9q7jKpi4Q2UGRfFB/bIjoi+tKeia9VQ3ievENbWgMWCPUxrEf7mc/S3C8r 0BQA== X-Gm-Message-State: AOJu0YxNPeEBnwNYU4jSyfrGchhz/421KRdFfNcbeun2a9v4jtO9ytg2 6wUP3XpWV26g8/Yuq8+F0u+xVzCwEM+kVr5Ol5BN8kAtq72wOAyMc6o8T2dU X-Google-Smtp-Source: AGHT+IFTd+H7j6K4cu7KqmKqF4YiEb+A0omy485l37FGHlLGM7SvbRZJytUM8BVrPYBtb1yZQDc1/g== X-Received: by 2002:a05:6512:3ba7:b0:52c:def2:d8af with SMTP id 2adb3069b0e04-534387be36fmr3623787e87.4.1724621021571; Sun, 25 Aug 2024 14:23:41 -0700 (PDT) Received: from elephant.. ([5.164.196.227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5334ea29a87sm1272741e87.30.2024.08.25.14.23.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 14:23:41 -0700 (PDT) From: "Artyom V. Poptsov" Date: Mon, 26 Aug 2024 00:23:34 +0300 Message-ID: <2958b8ffa51d4f31122951caa381e4980be4611d.1724620806.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-web.scm (go-github-com-libp2p-go-reuseport): New variable. Change-Id: Iafbf09d6537cd5a92825830b64f952ad903ed96d --- gnu/packages/golang-web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 28eba7f5d2..dd226b6c96 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2266,6 +2266,37 @@ (define-public go-github-com-libp2p-go-netroute gopacket/routing.Router} interface for Golang.") (license license:bsd-3))) +(define-public go-github-com-libp2p-go-reuseport + (package + (name "go-github-com-libp2p-go-reuseport") + (version "0.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-reuseport") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "012kgriw1bchf0apk6ff4y34n9mffbh0cmi15348v9vj3h4w3sa5")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/libp2p/go-reuseport")) + (native-inputs (list go-github-com-stretchr-testify)) + (propagated-inputs (list go-github-com-google-gopacket go-golang-org-x-net + go-golang-org-x-sys)) + (home-page "https://github.com/libp2p/go-reuseport") + (synopsis "Reuse TCP/UDP ports in Golang") + (description + "@code{go-reuseport} enables listening and dialing from the same TCP or UDP +port. This means that @code{SO_REUSEADDR} and @code{SO_REUSEPORT} socket options may +be set. This is particularly important when attempting to do TCP NAT hole-punching, +which requires a process to both @code{Listen} and @code{Dial} on the same TCP port. +@code{go-reuseport} provides some utilities around enabling this behaviour on various +operating systems.") + (license license:isc))) + (define-public go-github-com-makeworld-the-better-one-go-gemini (package (name "go-github-com-makeworld-the-better-one-go-gemini") From patchwork Sun Aug 25 21:23:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 67282 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 06A9527BBEA; Sun, 25 Aug 2024 22:25:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham 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 1424A27BBE2 for ; Sun, 25 Aug 2024 22:25:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siKjb-0005ZV-1a; Sun, 25 Aug 2024 17:25:15 -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 1siKjY-0005YU-To for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:12 -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 1siKjY-000898-LQ for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=BcazDV4PzFTFB7w3lCzkIN5u9Gm/ECEqrfAGAygAgzQ=; b=Yif4JLwoeeLAl5TzNb7OFoku+x/buOTWrKqsdjfzMPWOBV0yJ1u9f2MYndeuta4PNdhwgRCsuY2i8s8SiNDTcWVvnPC4e2Go3ix7H5kfGDWuAKGGlGSMs97k7A7HOClX1DaSgL0CnCDOdTAY3g5IoK6Gd7ke9FT9IPEuh5fyqr70rDGXuTrw7WPqJHBmx5G3SHyLe7HHEMg75cbPBRtek7KolbB/hSl9QE/d/nK/ugOJV6MSyuR2OGOm18Xv2jMYpVZUFQcKhDULwQU/pBG72lQqlxpq95b0MG4/Vl1GxJ+swdSSkIr8hqXVTUjMFZr2NZ6PuwXkXeLUZ+wZJP88Fg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siKkM-0003AO-UJ for guix-patches@gnu.org; Sun, 25 Aug 2024 17:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72810] [PATCH 2/4] gnu: Add go-github-com-libp2p-go-libp2p-asn-util. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Aug 2024 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72810 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72810@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 72810-submit@debbugs.gnu.org id=B72810.172462114412121 (code B ref 72810); Sun, 25 Aug 2024 21:26:02 +0000 Received: (at 72810) by debbugs.gnu.org; 25 Aug 2024 21:25:44 +0000 Received: from localhost ([127.0.0.1]:43395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKk3-00039O-HT for submit@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:43 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:40740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKjz-00038g-J8 for 72810@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:42 -0400 Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5334eec7485so687350e87.3 for <72810@debbugs.gnu.org>; Sun, 25 Aug 2024 14:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724621023; x=1725225823; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BcazDV4PzFTFB7w3lCzkIN5u9Gm/ECEqrfAGAygAgzQ=; b=ZiEcZzldgP437Y3StnxC/ogdDl7Pu2NicCKk43imC4+XKfG6nq/HvS3usfRdRJg0d5 myKl+BojTTstq9hOhdVh6jUowCIKe9QBAps38q1nztnsSX2JvgdVsnCpiKf7wmllqPKK kmCTUXlNljXGh0fjwRaj8YSaIOhxI+XQaTYKuFQk6m6q+Ig6JRv+zK/sXI3qmheACCmr 67U10LEOpHA54WxrxvWih+1mYZ89XgljLCJkAGB+/EWSD9T9j0P+Z944aG6eTaRo6UqP ONpsDHuTPFCg5EZGMzDTBvyIf1aQU7gFRifvN46z/h/FWZVPJ/LOwwizjdRIwbwEtsfW v7xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724621023; x=1725225823; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BcazDV4PzFTFB7w3lCzkIN5u9Gm/ECEqrfAGAygAgzQ=; b=PK2vgcOGDWca5zk45s9VbEJsG8s3O897wLJTNWULTxbEKJYPCu+vigXcytVSRVXgGy eNviDhMqeb2BlfI7jYSoP+eSsHd6GM1r+6DAhg/2Q5CZdhkvt5F5bxqMmN98omJuK1UH ywURSRx6I4HlAT6C83AWuQ7lETpV2Iw1ega73Y001cdIoHgjwqAcrWSq7czQYN5Mql/j 7/wUzHBA83N7Pc2uiitDtp7eO6wgtYpZqW3ucLGMfIKmHOFBLRJIe3glPxKgxWOsx8rd QTkvBC73T9NyphzETQcUB4FlR1kCdeYEuo/tZpqlskWKNOwwPERF9/5DfTEZM/fxjB2l 0EGQ== X-Gm-Message-State: AOJu0YxpWKAqb7KgLgYrEJHaebKkDfPy0J20yT9rowlBDbpcAmIXJWqp 2YDn2cqCEWVHGG8JqSeIwRaw1gVM8+dAK/0JiPXZeJHxx7a2+DqTw81lmNqQ X-Google-Smtp-Source: AGHT+IHMZPz2EkP518mQcsRvk+PZik4sTYAsiVzqKcu0md30UsEnK2CK8l/BlghvSrhfDcril7tbhA== X-Received: by 2002:a05:6512:ea8:b0:52f:cf7e:b1bc with SMTP id 2adb3069b0e04-5343876c2a6mr3236466e87.1.1724621022511; Sun, 25 Aug 2024 14:23:42 -0700 (PDT) Received: from elephant.. ([5.164.196.227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5334ea29a87sm1272741e87.30.2024.08.25.14.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 14:23:42 -0700 (PDT) From: "Artyom V. Poptsov" Date: Mon, 26 Aug 2024 00:23:35 +0300 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-web.scm (go-github-com-libp2p-go-libp2p-asn-util): New variable. Change-Id: Ieb69266f5d637fcbe6b7b5ef1f687852a1a8df20 --- gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index dd226b6c96..28d5b89040 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2201,6 +2201,33 @@ (define-public go-github-com-koron-go-ssdp @acronym{Simple Service Discovery Protocol, SSDP}} library for Golang.") (license license:expat))) +(define-public go-github-com-libp2p-go-libp2p-asn-util + (package + (name "go-github-com-libp2p-go-libp2p-asn-util") + (version "0.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-libp2p-asn-util") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1c94sq43bl1kp04lllcfrfyiy5z3zcfz0s65sm1vgb2s40zrwpr7")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/libp2p/go-libp2p-asn-util")) + (native-inputs (list go-github-com-stretchr-testify)) + (propagated-inputs (list go-golang-org-x-exp)) + (home-page "https://github.com/libp2p/go-libp2p-asn-util") + (synopsis "Golang library for IP to ASN mapping") + (description + "@code{go-libp2p-asn-util} is a Golang library to lookup the ASN (Autonomous +System Number) for an IP address. It uses the IPv6 to ASN database downloaded from +https://iptoasn.com/. Supports only IPv6 addresses for now.") + (license license:expat))) + (define-public go-github-com-libp2p-go-nat (package (name "go-github-com-libp2p-go-nat") From patchwork Sun Aug 25 21:23:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 67284 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 AD93327BBEA; Sun, 25 Aug 2024 22:25:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham 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 1D40927BBE2 for ; Sun, 25 Aug 2024 22:25:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siKja-0005ZL-QY; Sun, 25 Aug 2024 17:25:14 -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 1siKjZ-0005Yu-OP for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:13 -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 1siKjZ-00089O-FB for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=xc3M2EyFcmAa9dTbucHNJcfoXzo1Bh6VCyKgA79ffsU=; b=Im4+0miR6M1LBqJscjF5mfVO0fuGzDvwhK9DY42IV3lG6iuIFnp8QD9pWwvjc2AuT+54Fxxnw7p4DI5K1svuqkAgCKXGPeaHE9ThnQIVuiWNHoSuQsLdtcYsawDiT+JyD/hgS6tSvGJYwcZsXYk1mwF/JGhss3ha0uLgD17WOk7jK3CYKFs4kFYZqANIO9BnFWQ2Fk3vVzvU0n/VP2o3HbnL2aoKzjrwe3PkzYzOG9fyfnbAPIkgtF930UxHNaon91/0uFwhrKHjomLBz55K8rA6DdNXIWvCUn70wtv/edf99xGSwvgI/lOO68UMdnNMLqzRnI4ZtCPoi9Iqb1YHHQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siKkN-0003Af-Px for guix-patches@gnu.org; Sun, 25 Aug 2024 17:26:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72810] [PATCH 3/4] gnu: Add go-github-com-libp2p-go-yamux-v4. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Aug 2024 21:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72810 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72810@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 72810-submit@debbugs.gnu.org id=B72810.172462114412135 (code B ref 72810); Sun, 25 Aug 2024 21:26:03 +0000 Received: (at 72810) by debbugs.gnu.org; 25 Aug 2024 21:25:44 +0000 Received: from localhost ([127.0.0.1]:43399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKk4-00039a-Ej for submit@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:44 -0400 Received: from mail-lf1-f41.google.com ([209.85.167.41]:38868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKk1-00038h-Id for 72810@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:42 -0400 Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-53347a8a28eso607547e87.3 for <72810@debbugs.gnu.org>; Sun, 25 Aug 2024 14:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724621024; x=1725225824; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xc3M2EyFcmAa9dTbucHNJcfoXzo1Bh6VCyKgA79ffsU=; b=Ez6CbBmo9cZ2tCdL4cn2UIS3G/eFs2LsCuNjpKi4L6/iRWMxaxtOVSymBA4vzqIId2 Tn3pHtBWjrrfbpqGL3mepH/LLlQnam7XyzF3V7rf4+W7iswVcMD3HqYW18lhnCqm/XGy pB6oto5/3RRfNHaBeLFM4lT09axDm2r7r1Y060/cP8XnwJzsv1bxT+0FpyHdU7oPJZyj bNNXLzmPd7X1/R9P9cjRw35evUH6OUXoqGJlfpLUFYGN+jvZ3KT888Wz/1JOrbLAGC+3 dqTQWiwad3+Hex1R56KQIQWh/OpmCy4mO45BSVPXAVlGoQ0+MndRaL/o0jXgEvxcXJz5 RPAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724621024; x=1725225824; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xc3M2EyFcmAa9dTbucHNJcfoXzo1Bh6VCyKgA79ffsU=; b=L37KVy+1hwHGCUUlfx3rSPDHrcAtNr7GKLe39LWJUNKy/kPt/wZYivSZhafOBlzQ4Y aGEY2nKkGXsC0L2gG+FJGbOCKdYxAzYAB/OOp6jib5776/ECHBUNAt63pz8qdDq1WQ1Z ml7tBEk5b0Sx2pBcfE4KH1qkn/fK9BHdolmJSurzH2+4klyho7a3bc+eE752IZdGXGIq C5Z+lCzYT02AlbOclZG4yaE1On2JmR8ggrxyatbdf0zBj2K7qEgu9TBiVCB4vWDkzMg1 wgMFgvVATQ0cpQa7dlf3NScnHGsXMxX0rdSeJA0GQPG9ydE/Pseqn5WvkB3HWDAaFbb7 4wpQ== X-Gm-Message-State: AOJu0YxO3jjHarfmC9azC/iyNA8D7KEDQz9MUAwcD489yhcR6bwuWzHj 6OcAYf2Gw9j3XW2SU/dy12vd3Wa5/5E/zVUrDywMqSltZHA3GeIMqAhGtOid X-Google-Smtp-Source: AGHT+IE3oLIkAsB/BezPGdPBs77KM/geSiVDzeDK5eNVLTj9Cz5Lz9dx4zLvVJTVxT7edUon8XT7Dg== X-Received: by 2002:a05:6512:234b:b0:52f:287:a083 with SMTP id 2adb3069b0e04-5343870c3d1mr2934307e87.0.1724621023426; Sun, 25 Aug 2024 14:23:43 -0700 (PDT) Received: from elephant.. ([5.164.196.227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5334ea29a87sm1272741e87.30.2024.08.25.14.23.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 14:23:42 -0700 (PDT) From: "Artyom V. Poptsov" Date: Mon, 26 Aug 2024 00:23:36 +0300 Message-ID: <47b11f65fcc7a7b008f0f76fc0de38d34bcb674d.1724620806.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-web.scm (go-github-com-libp2p-go-yamux-v4): New variable. Change-Id: I2c0303c8253bbadde69aee0f15a83fe504fd7b12 --- gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 28d5b89040..288d81b7dd 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2324,6 +2324,34 @@ (define-public go-github-com-libp2p-go-reuseport operating systems.") (license license:isc))) +(define-public go-github-com-libp2p-go-yamux-v4 + (package + (name "go-github-com-libp2p-go-yamux-v4") + (version "4.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-yamux") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "13px8fcjjp02cricabbf3x410jkr8sb6r369nqq1zrgr7v90s22j")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/libp2p/go-yamux/v4")) + (native-inputs (list go-github-com-stretchr-testify)) + (propagated-inputs (list go-github-com-libp2p-go-buffer-pool)) + (home-page "https://github.com/libp2p/go-yamux") + (synopsis "Reuse TCP/UDP ports in Golang") + (description + "Yamux (Yet another Multiplexer) is a multiplexing library for Golang. It +relies on an underlying connection to provide reliability and ordering, such as TCP +or Unix domain sockets, and provides stream-oriented multiplexing. It is inspired by +SPDY but is not interoperable with it.") + (license (list license:mpl2.0 license:bsd-3)))) + (define-public go-github-com-makeworld-the-better-one-go-gemini (package (name "go-github-com-makeworld-the-better-one-go-gemini") From patchwork Sun Aug 25 21:23:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 67281 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 67BEB27BBE9; Sun, 25 Aug 2024 22:25:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS 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 B166B27BBE2 for ; Sun, 25 Aug 2024 22:25:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siKja-0005Z5-Kc; Sun, 25 Aug 2024 17:25:14 -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 1siKjZ-0005Yf-FS for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:13 -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 1siKjZ-00089F-6n for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Ut4Usr2uFaYKICXx+7l22qcsZ8845aO4s2AM+Ut/gf4=; b=tnQqhz2HlWLjIE/iveqJPjxiblJqtYY0t25BK9ou8WTG8lVdluGq79z6MypNzKU+GCVYoxHpwBHZ4BvKBRDrgzf0Y+r9VvnJ1oRoOvY4EBlGDU/0toYPJNNsM3Mk81LtqqoUiaEreevRnUSB0JvVUWE54CkKSlnp2lOSXw6VNB5qdDGvvJ8uGvq95Vzv82ykjVQcVsBQrIXhA9xPgvA1u4XXsYb3Rd5xqdixp1DLL3d2LKcwwg6bMivFp2n1YDBrr1arFG85tcNfpqgEGs3DkKMatxRZhC8O1v9SGG9W3PqsSCGGxeaoKc74Fpl84zw38Y26c8M71Gk8XQ/Cao3UrQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siKkN-0003AY-DL for guix-patches@gnu.org; Sun, 25 Aug 2024 17:26:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72810] [PATCH 4/4] gnu: Add go-github-com-libp2p-go-cidranger. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Aug 2024 21:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72810 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72810@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 72810-submit@debbugs.gnu.org id=B72810.172462114412129 (code B ref 72810); Sun, 25 Aug 2024 21:26:03 +0000 Received: (at 72810) by debbugs.gnu.org; 25 Aug 2024 21:25:44 +0000 Received: from localhost ([127.0.0.1]:43397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKk3-00039S-St for submit@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:44 -0400 Received: from mail-lf1-f50.google.com ([209.85.167.50]:40160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKk1-00038j-H0 for 72810@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:42 -0400 Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-53345676179so725449e87.0 for <72810@debbugs.gnu.org>; Sun, 25 Aug 2024 14:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724621025; x=1725225825; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ut4Usr2uFaYKICXx+7l22qcsZ8845aO4s2AM+Ut/gf4=; b=Zhgy1jGOs/5Jn8F78b+j05VuCPFBe6U9xsLWkx/gObwGSENUNur60R804I5cKI385m A6upe7gM4Is7dwg5fj1K6NpGjRrub5WZorYIuIFMkUtEHZielf+BJL66FMtfHNFRCnVB /yh0VioZZ71Gr+pGiV8tPUYavcWLIChSF8Im7GY724RJ6KfEQckLruKK1kB8+a+Jq1q3 ls8d0VOizWFILNDIW5dsmhPNlhy2+xMOUCiPUeZfwl0EU9oL4cjQkWZ5cIh3jO+c7z4I OT9RsqvLE4wwbYPrsQxNMVM40IqM654LDlar1L9Cwda3BDsSJPi4X+PAmhrpjjK0fnMV 8VZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724621025; x=1725225825; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ut4Usr2uFaYKICXx+7l22qcsZ8845aO4s2AM+Ut/gf4=; b=FpEBNe/qVhZyWwt23EzfW935xhWzxlpNE14gTRQymnfF7y8gX1wX1QiZIFMtAGjncI 3rV61NYJ7aaT96KkqsFMyLh2QSc+Awa2jd2RqVOr2H7/jwFI4IxzFg8dsxO2lH6Jyu4z TtUSto3bVPn1VMBoC+/zxqGWG9u5Q8BXlOIIVi2WoftI51kzjFUw+qfW1+hy0zAJvL3D krkEtZY0yNeXP1lptH+mDdR7drOIpgETu1JgrqY8pB8KqlK9+zOWyCrj+sjPQlXyA7S7 ypAZaIk8ywEiJw+oAeUoQm4A3u36bnZ376UBSW04wevFj+Kbn4xxF80YZEqZYkN4pV27 Q0Vw== X-Gm-Message-State: AOJu0YzW3CSXa9pajgCddHAG0JXImmJgGvcEZ4T6xG4NhFjex7whFS8Y 75XXkgR9dIcepv//DjFtMZkkk8l2/FJKuG/7rdDqeCnFhY/vBeJ2Ktmb50Jq X-Google-Smtp-Source: AGHT+IE18nVkhQVIbL1SYQ7HmAU3toxR0jKr7Lt4DLBDptwdBeLXdovxkuNFEfb6ml1Q3ao8dN04gg== X-Received: by 2002:a05:6512:1089:b0:52f:c337:4c1f with SMTP id 2adb3069b0e04-5343870bfe1mr3368655e87.0.1724621024381; Sun, 25 Aug 2024 14:23:44 -0700 (PDT) Received: from elephant.. ([5.164.196.227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5334ea29a87sm1272741e87.30.2024.08.25.14.23.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 14:23:43 -0700 (PDT) From: "Artyom V. Poptsov" Date: Mon, 26 Aug 2024 00:23:37 +0300 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-web.scm (go-github-com-libp2p-go-cidranger): New variable. Change-Id: I4e21f87c7b77ae8a5f7fa2e098330ec15bff079e --- gnu/packages/golang-web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 288d81b7dd..ab5333cf6e 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2201,6 +2201,36 @@ (define-public go-github-com-koron-go-ssdp @acronym{Simple Service Discovery Protocol, SSDP}} library for Golang.") (license license:expat))) +(define-public go-github-com-libp2p-go-cidranger + (package + (name "go-github-com-libp2p-go-cidranger") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-cidranger") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05hzlk5hx7qna5znr3q1crr0qb7h8yrv1v96pj015dh0kbdkdaba")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/libp2p/go-cidranger")) + (native-inputs (list go-github-com-stretchr-testify)) + (propagated-inputs (list go-github-com-ipfs-go-detect-race)) + (home-page "https://github.com/libp2p/go-cidranger") + (synopsis "Fast IP to CIDR lookup in Golang") + (description + "Fast IP to @url{https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing, +CIDR} block(s) lookup using trie in Golang, inspired by +@url{https://vincent.bernat.im/en/blog/2017-ipv4-route-lookup-linux, IPv4 route +lookup Linux}. Possible use cases include detecting if a IP address is from +published cloud provider CIDR blocks (e.g. 52.95.110.1 is contained in published AWS +Route53 CIDR 52.95.110.0/24), IP routing rules, etc.") + (license license:expat))) + (define-public go-github-com-libp2p-go-libp2p-asn-util (package (name "go-github-com-libp2p-go-libp2p-asn-util")