From 24dc5175d1494255ebe4bc7c8a14e1d4f92036c4 Mon Sep 17 00:00:00 2001 From: Wesley Gimenes Date: Thu, 18 Dec 2025 09:59:41 -0300 Subject: [PATCH] netbird: update to 0.60.8 (breaking change) Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.60.8 This is the first `netbird` release that introduces a breaking change[1]. Therefore, versions after the `0.60.x` will not be backported to OpenWrt 24.10. They will be backported to OpenWrt 25.12, because that release has not been officially launched yet. By default netbird now creates/updates[2] `/etc/ssh/ssh_config.d/99-netbird.conf` for use with `openssh-client`. OpenWrt uses `dropbear`, and this behavior may cause storage wear. This behavior has been disabled with `NB_DISABLE_SSH_CONFIG="1"`[3] in the init file. [1]: https://forum.netbird.io/t/netbird-v0-60-0-released/334#p-610-upgrade-compatibility-notes-4 [2]: https://docs.netbird.io/manage/peers/ssh#native-ssh-clients-open-ssh [3]: https://github.com/netbirdio/netbird/blob/v0.60.8/client/ssh/config/manager.go#L167-L172 Signed-off-by: Wesley Gimenes --- net/netbird/Makefile | 4 ++-- net/netbird/files/netbird.init | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/net/netbird/Makefile b/net/netbird/Makefile index 5537319bb7..d349b525d2 100644 --- a/net/netbird/Makefile +++ b/net/netbird/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netbird -PKG_VERSION:=0.59.13 +PKG_VERSION:=0.60.8 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/netbirdio/netbird/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=43b96a4df6c5c77285b47aa7ecc4d9b37527c1fb9bac4a5c776a86e9878a2afe +PKG_HASH:=c7d13a75dc1e245cafff371e63d20b7f8c977179a3b956ef4ba6caafa7998425 PKG_MAINTAINER:=Wesley Gimenes PKG_LICENSE:=BSD-3-Clause diff --git a/net/netbird/files/netbird.init b/net/netbird/files/netbird.init index 84ad691285..6072e2d2c3 100755 --- a/net/netbird/files/netbird.init +++ b/net/netbird/files/netbird.init @@ -8,8 +8,11 @@ USE_PROCD=1 start_service() { procd_open_instance procd_set_param command /usr/bin/netbird - procd_set_param env NB_STATE_DIR="/root/.config/netbird" procd_append_param command service run + + procd_set_param env NB_STATE_DIR="/root/.config/netbird" + procd_append_param env NB_DISABLE_SSH_CONFIG="1" + procd_set_param pidfile /var/run/netbird.pid procd_close_instance }