Package: nebula
Version: 1.6.1
Severity: wishlist
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64
Dear nebula maintainers,
The upstream code of nebula has supported loongarch64 since version
1.9.0. Could you consider upgrading the nebula code ?
Nebula upstream PR link:
https://github.com/slackhq/nebula/pull/1003
The attachment is a patch I made locally, which has been verified and
can be used for reference.
If you have any questions or suggestions, you can contact me at any time.
thanks,
Xiaojuan Zhai
Description: add support for loong64
Author: Xiaojuan Zhai <zhaixiaoj...@loongson.cn>
Origin: https://github.com/slackhq/nebula/pull/1003
Applied-Upstream: 1.9.0
Last-Update: 2024-09-12
--- nebula-1.6.1+dfsg.orig/Makefile
+++ nebula-1.6.1+dfsg/Makefile
@@ -42,7 +42,8 @@ ALL_LINUX = linux-amd64 \
linux-mips64 \
linux-mips64le \
linux-mips-softfloat \
- linux-riscv64
+ linux-riscv64 \
+ linux-loong64
ALL = $(ALL_LINUX) \
darwin-amd64 \
--- nebula-1.6.1+dfsg.orig/udp/udp_linux_64.go
+++ nebula-1.6.1+dfsg/udp/udp_linux_64.go
@@ -1,6 +1,6 @@
-//go:build linux && (amd64 || arm64 || ppc64 || ppc64le || mips64 || mips64le || s390x || riscv64) && !android && !e2e_testing
+//go:build linux && (amd64 || arm64 || ppc64 || ppc64le || mips64 || mips64le || s390x || riscv64 || loong64) && !android && !e2e_testing
// +build linux
-// +build amd64 arm64 ppc64 ppc64le mips64 mips64le s390x riscv64
+// +build amd64 arm64 ppc64 ppc64le mips64 mips64le s390x riscv64 loong64
// +build !android
// +build !e2e_testing