Control: tags 1082180 + patch
Control: tags 1082180 + pending
Dear maintainer,
I've prepared an NMU for nebula (versioned as 1.6.1+dfsg-3.1) and
uploaded it.
diff -Nru nebula-1.6.1+dfsg/debian/changelog nebula-1.6.1+dfsg/debian/changelog
--- nebula-1.6.1+dfsg/debian/changelog 2022-12-18 21:48:19.000000000 +0100
+++ nebula-1.6.1+dfsg/debian/changelog 2025-03-07 13:44:27.000000000 +0100
@@ -1,3 +1,11 @@
+nebula (1.6.1+dfsg-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ [ zhaixiaoj...@loongson.cn, zhangdandan <zhangdan...@loongson.cn> ]
+ * Cherry-pick upstream patch to add support for loong64 (Closes: #1082180)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org> Fri, 07 Mar 2025 13:44:27 +0100
+
nebula (1.6.1+dfsg-3) unstable; urgency=medium
* Team upload.
diff -Nru nebula-1.6.1+dfsg/debian/patches/loong64.diff nebula-1.6.1+dfsg/debian/patches/loong64.diff
--- nebula-1.6.1+dfsg/debian/patches/loong64.diff 1970-01-01 01:00:00.000000000 +0100
+++ nebula-1.6.1+dfsg/debian/patches/loong64.diff 2025-03-07 13:44:24.000000000 +0100
@@ -0,0 +1,37 @@
+From cdd121c06c221e793ac87cc428f600e855cff271 Mon Sep 17 00:00:00 2001
+From: YalingFang <fangyal...@loongson.cn>
+Date: Mon, 30 Oct 2023 06:45:10 +0000
+Subject: [PATCH] Add support for LoongArch64
+
+---
+ Makefile | 3 ++-
+ udp/udp_linux_64.go | 4 ++--
+ 2 files changed, 4 insertions(+), 3 deletions(-)
+
+Index: nebula-1.6.1+dfsg/Makefile
+===================================================================
+--- nebula-1.6.1+dfsg.orig/Makefile
++++ nebula-1.6.1+dfsg/Makefile
+@@ -42,7 +42,8 @@
+ linux-mips64 \
+ linux-mips64le \
+ linux-mips-softfloat \
+- linux-riscv64
++ linux-riscv64 \
++ linux-loong64
+
+ ALL = $(ALL_LINUX) \
+ darwin-amd64 \
+Index: nebula-1.6.1+dfsg/udp/udp_linux_64.go
+===================================================================
+--- 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
+
diff -Nru nebula-1.6.1+dfsg/debian/patches/series nebula-1.6.1+dfsg/debian/patches/series
--- nebula-1.6.1+dfsg/debian/patches/series 2022-12-18 21:48:19.000000000 +0100
+++ nebula-1.6.1+dfsg/debian/patches/series 2025-03-07 13:44:13.000000000 +0100
@@ -1 +1,2 @@
backport-sshd-to-go-1.13.diff
+loong64.diff