From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 72810@debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Subject: [bug#72810] [PATCH 1/4] gnu: Add go-github-com-libp2p-go-reuseport.
Date: Mon, 26 Aug 2024 00:23:34 +0300 [thread overview]
Message-ID: <2958b8ffa51d4f31122951caa381e4980be4611d.1724620806.git.poptsov.artyom@gmail.com> (raw)
In-Reply-To: <cover.1724620806.git.poptsov.artyom@gmail.com>
* 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")
--
2.45.2
next prev parent reply other threads:[~2024-08-25 21:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-25 21:22 [bug#72810] [PATCH 0/4] Add four libp2p libraries Artyom V. Poptsov
2024-08-25 21:23 ` Artyom V. Poptsov [this message]
2024-08-25 21:23 ` [bug#72810] [PATCH 2/4] gnu: Add go-github-com-libp2p-go-libp2p-asn-util Artyom V. Poptsov
2024-08-25 21:23 ` [bug#72810] [PATCH 3/4] gnu: Add go-github-com-libp2p-go-yamux-v4 Artyom V. Poptsov
2024-08-25 21:23 ` [bug#72810] [PATCH 4/4] gnu: Add go-github-com-libp2p-go-cidranger Artyom V. Poptsov
2024-08-26 23:42 ` bug#72810: [PATCH 0/4] Add four libp2p libraries Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2958b8ffa51d4f31122951caa381e4980be4611d.1724620806.git.poptsov.artyom@gmail.com \
--to=poptsov.artyom@gmail.com \
--cc=72810@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).