kadnode: Update to version 2.4.0
authorMoritz Warning <moritzwarning@web.de>
Fri, 1 Nov 2024 19:09:27 +0000 (20:09 +0100)
committerRosen Penev <rosenp@gmail.com>
Sun, 3 Nov 2024 22:53:29 +0000 (14:53 -0800)
* add support for mbedtls 3.0.0
* fix newline in init script

Signed-off-by: Moritz Warning <moritzwarning@web.de>
net/kadnode/Makefile
net/kadnode/files/kadnode.init

index 2b93f6a5106463389008229ea5fc03423111e706..67b0c948606f403e8762bafc1e139dd356170190 100644 (file)
@@ -2,13 +2,13 @@ include $(TOPDIR)/rules.mk
 
 
 PKG_NAME:=kadnode
-PKG_VERSION:=2.3.0
-PKG_RELEASE:=4
+PKG_VERSION:=2.4.0
+PKG_RELEASE:=1
 
-PKG_SOURCE_URL:=https://codeload.github.com/mwarning/KadNode/tar.gz/v$(PKG_VERSION)?
-PKG_SOURCE:=kadnode-$(PKG_VERSION).tar.gz
-PKG_HASH:=abb2ca66fb525fab53157d5486bbb43e3a522a4bdc9280a3dcb8cb403ee08583
-PKG_BUILD_DIR:=$(BUILD_DIR)/KadNode-$(PKG_VERSION)
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/mwarning/KadNode
+PKG_SOURCE_VERSION:=v$(PKG_VERSION)
+PKG_MIRROR_HASH:=9e5f503785f5f894f951c747c00586233b75254e91d2555f83b14ee2f07214c9
 
 PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de>
 PKG_LICENSE:=MIT
index 89a10dedf879499527816b7a5aaeb5b0f44eaf9c..a810cf0951e2b2f6a7e3264aa12458ba5bbfd7c5 100755 (executable)
@@ -15,7 +15,7 @@ boot()
 
 xappend() {
        local name="$2" value="$1"
-       OPTS="\n$OPTS--${name//_/-} ${value//'/\\'}"
+       OPTS="$OPTS\n--${name//_/-} ${value//'/\\'}"
 }
 
 append_opts_list() {
@@ -55,7 +55,7 @@ start_instance() {
        OPTS=""
 
        append_opts "$cfg" lpd_addr dns_server dns_port verbosity peerfile config \
-               query_tld user port ifname cmd_port
+               query_tld user port ifname cmd_port dht_isolation_prefix
 
        append_opts_list "$cfg" announce peer tls_client_cert tls_server_cert bob_load_key