From: Alexey Abramov via Guix-patches via <guix-patches@gnu.org>
To: 54335@debbugs.gnu.org
Subject: [bug#54335] [PATCH v4 10/12] gnu: Add nebula.
Date: Sun, 11 Feb 2024 19:28:24 +0100 [thread overview]
Message-ID: <20240211182830.3631-11-levenson@mmer.org> (raw)
In-Reply-To: <20240211182830.3631-1-levenson@mmer.org>
From: Dominic Martinez <dom@dominicm.dev>
* gnu/packages/networking.scm (nebula): New variable.
Co-authored-by: Alexey Abramov <levenson@mmer.org>
---
gnu/packages/networking.scm | 84 +++++++++++++++++++++++++++++++++++++
1 file changed, 84 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index ca826bf864..0addb3cedd 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -62,6 +62,8 @@
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2022 Dominic Martinez <dom@dominicm.dev>
+;;; Copyright © 2024 Alexey Abramov <levenson@mmer.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -125,6 +127,8 @@ (define-module (gnu packages networking)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gstreamer)
@@ -164,6 +168,7 @@ (define-module (gnu packages networking)
#:use-module (gnu packages shells)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages sqlite)
+ #:use-module (gnu packages syncthing)
#:use-module (gnu packages ssh)
#:use-module (gnu packages tcl)
#:use-module (gnu packages telephony)
@@ -4837,6 +4842,7 @@ (define-public putty
(home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/")
(license license:expat)))
+
(define-public vnstat
(package
(name "vnstat")
@@ -4935,3 +4941,81 @@ (define-public dropwatch
recording packets that are dropped by the kernel. It provides the commands
@command{dropwatch} and @command{dwdump}.")
(license license:gpl2+)))
+
+(define-public nebula
+ (package
+ (name "nebula")
+ (version "1.5.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/slackhq/nebula")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14b7wgx83w1fhcbhsn0mfg872hkml4wwbzimb3bjvc3xpzx6w44k"))
+ ;; Remove windows-related binary blobs and files
+ (snippet
+ #~(begin
+ (use-modules (guix build utils))
+ (delete-file-recursively "dist/windows")
+ (delete-file-recursively "wintun")))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/slackhq/nebula"
+ #:install-source? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ ;; Build nebula and nebula-cert
+ (let* ((dir "github.com/slackhq/nebula")
+ (nebula-cmd (string-append dir "/cmd/nebula"))
+ (cert-cmd (string-append dir "/cmd/nebula-cert")))
+ (invoke "go" "build" nebula-cmd)
+ (invoke "go" "build" cert-cmd))))
+
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bindir (string-append out "/bin")))
+ (install-file "nebula" bindir)
+ (install-file "nebula-cert" bindir)))))))
+ (inputs
+ (list go-golang-org-x-term
+ go-gopkg-in-yaml-v2
+ go-google-golang-org-protobuf
+ go-golang-org-x-sys
+ go-golang-org-x-net
+ go-golang-org-x-crypto
+ go-netns
+ go-netlink
+ go-github-com-skip2-go-qrcode
+ go-github-com-stretchr-testify
+ go-github-com-songgao-water
+ go-github-com-sirupsen-logrus
+ go-github-com-rcrowley-go-metrics
+ go-github-com-prometheus-procfs
+ go-github-com-prometheus-client-model
+ go-github-com-prometheus-client-golang
+ go-github-com-nbrownus-go-metrics-prometheus
+ go-github-com-miekg-dns
+ go-github-com-imdario-mergo
+ go-github-com-google-gopacket
+ go-github-com-gogo-protobuf
+ go-github-com-flynn-noise
+ go-github-com-cyberdelia-go-metrics-graphite
+ go-github-com-cespare-xxhash
+ go-github-com-armon-go-radix
+ go-github-com-anmitsu-go-shlex))
+ (home-page "https://github.com/slackhq/nebula")
+ (synopsis "Scalable, peer-to-peer overlay networking tool")
+ (description
+ "Nebula is a peer-to-peer networking tool based on the
+@url{https://noiseprotocol.org/, Noise Protocol Framework}. It is not a fully
+decentralized network, but instead uses central discovery nodes and a
+certificate authority to facilitate direct, encrypted peer-to-peer connections
+from behind most firewalls and @acronym{NAT, Network Address Translation}
+layers.")
+ (license license:expat)))
--
2.41.0
next prev parent reply other threads:[~2024-02-11 18:30 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 3:13 [bug#54335] [PATCH 00/14] gnu: Add nebula Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 01/14] gnu: Add go-github-com-anmitsu-go-shlex Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 02/14] gnu: Add go-github-com-armon-go-radix Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 03/14] gnu: Add go-github-com-cespare-xxhash-v2 Dominic Martinez
2022-03-11 16:20 ` Maxime Devos
2022-03-11 3:18 ` [bug#54335] [PATCH 04/14] gnu: Add go-github-com-cyberdelia-go-metrics-graphite Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 05/14] gnu: Add go-github-com-google-gopacket Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 06/14] gnu: Add go-github-com-miekg-dns Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 07/14] gnu: Add go-github-com-nbrownus-go-metrics-prometheus Dominic Martinez
2022-03-11 7:46 ` Maxime Devos
2022-03-11 20:24 ` Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 08/14] gnu: Add go-github-com-songgao-water Dominic Martinez
2022-03-11 3:18 ` [bug#54335] [PATCH 09/14] gnu: Add go-github-com-vishvananda-netns Dominic Martinez
2022-03-11 7:47 ` Maxime Devos
2022-03-11 16:06 ` Maxime Devos
2022-03-11 20:26 ` Dominic Martinez
2022-03-11 3:47 ` [bug#54335] [PATCH 10/14] gnu: Add go-github-com-vishvananda-netlink Dominic Martinez
2022-03-11 3:47 ` [bug#54335] [PATCH 11/14] gnu: Add go-google-golang-org-protobuf Dominic Martinez
2022-03-11 13:46 ` Maxime Devos
2022-03-11 20:41 ` Dominic Martinez
2022-03-11 16:14 ` Maxime Devos
2022-03-11 20:38 ` Dominic Martinez
2022-03-11 16:16 ` Maxime Devos
2022-03-11 20:32 ` Dominic Martinez
2022-03-12 22:45 ` Maxime Devos
2022-03-11 16:17 ` Maxime Devos
2022-03-11 3:47 ` [bug#54335] [PATCH 12/14] gnu: Add go-github-com-matttproud-golang-protobuf-extensions Dominic Martinez
2022-03-11 3:47 ` [bug#54335] [PATCH 13/14] gnu: Add go-github-com-skip2-go-qrcode Dominic Martinez
2022-03-11 7:49 ` Maxime Devos
2022-03-11 20:46 ` Dominic Martinez
2022-03-11 7:49 ` Maxime Devos
2022-03-11 20:47 ` Dominic Martinez
2022-03-11 20:49 ` Dominic Martinez
2022-03-12 22:10 ` Maxime Devos
2022-03-11 3:47 ` [bug#54335] [PATCH 14/14] gnu: Add nebula Dominic Martinez
2022-03-11 7:51 ` Maxime Devos
2022-03-11 20:53 ` Dominic Martinez
2022-03-12 22:20 ` Maxime Devos
2022-03-11 13:48 ` Maxime Devos
2022-03-11 21:02 ` Dominic Martinez
2022-03-12 22:33 ` Maxime Devos
2022-03-11 21:10 ` Dominic Martinez
2022-03-11 13:59 ` Maxime Devos
2022-03-11 20:59 ` Dominic Martinez
2022-03-11 7:48 ` [bug#54335] [PATCH 10/14] gnu: Add go-github-com-vishvananda-netlink Maxime Devos
2022-03-11 16:05 ` Maxime Devos
2022-03-11 4:51 ` [bug#54335] [PATCH v2 01/14] gnu: Add go-github-com-anmitsu-go-shlex Dominic Martinez
2022-03-19 17:09 ` [bug#54335] [PATCH 00/14] gnu: Add nebula Ludovic Courtès
2022-03-19 17:27 ` Dominic Martinez
2022-03-11 16:09 ` [bug#54335] [PATCH 01/14] gnu: Add go-github-com-anmitsu-go-shlex Maxime Devos
2022-03-11 20:28 ` Dominic Martinez
2022-04-04 19:31 ` [bug#54335] [PATCH v3 00/10] gnu: Add nebula Dominic Martinez
2022-04-04 19:31 ` [bug#54335] [PATCH v3 01/10] gnu: Add go-github-com-anmitsu-go-shlex Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 02/10] gnu: Add go-github-com-armon-go-radix Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 03/10] gnu: Add go-github-com-cyberdelia-go-metrics-graphite Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 04/10] gnu: Add go-github-com-google-gopacket Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 05/10] gnu: Add go-github-com-miekg-dns Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 06/10] gnu: Add go-github-com-nbrownus-go-metrics-prometheus Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 07/10] gnu: Add go-github-com-songgao-water Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 08/10] gnu: Add go-google-golang-org-protobuf Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 09/10] gnu: Add go-github-com-skip2-go-qrcode Dominic Martinez
2022-04-04 19:32 ` [bug#54335] [PATCH v3 10/10] gnu: Add nebula Dominic Martinez
2022-04-04 22:01 ` Maxime Devos
2022-05-26 1:40 ` [bug#54335] [PATCH v3 00/10] " Dominic Martinez
2022-10-05 18:30 ` [bug#54335] Status check Sharlatan Hellseher
2022-11-03 9:32 ` [bug#54335] [PATCH 00/14] gnu: Add nebula zimoun
2022-11-03 17:55 ` [bug#54335] Status check Dominic Martinez via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 00/12] gnu: Add nebula Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 01/12] gnu: Add go-github-com-anmitsu-go-shlex Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 02/12] gnu: Add go-github-com-armon-go-radix Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 03/12] gnu: Add go-github-com-cyberdelia-go-metrics-graphite Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 04/12] gnu: Add go-github-com-google-gopacket Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 05/12] gnu: Add go-github-com-miekg-dns Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 06/12] gnu: Add go-github-com-nbrownus-go-metrics-prometheus Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 07/12] gnu: Add go-github-com-songgao-water Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 08/12] gnu: Add go-google-golang-org-protobuf Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 09/12] gnu: Add go-github-com-skip2-go-qrcode Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` Alexey Abramov via Guix-patches via [this message]
2024-02-11 18:28 ` [bug#54335] [PATCH v4 11/12] gnu: Add go-dario-cat-mergo Alexey Abramov via Guix-patches via
2024-02-11 18:28 ` [bug#54335] [PATCH v4 12/12] gnu: nebula: Update to 1.8.2 Alexey Abramov via Guix-patches via
2024-02-12 23:51 ` bug#54335: [PATCH 00/14] gnu: Add nebula 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240211182830.3631-11-levenson@mmer.org \
--to=guix-patches@gnu.org \
--cc=54335@debbugs.gnu.org \
--cc=levenson@mmer.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.