gnunet: update to version v0.21.0
[feed/packages.git] / net / gnunet / patches / 010-DHTU-ship-dhtu-conf.patch
1 From 79b58e8a0c4155134bdf680899fab22a7c01f35a Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Sat, 9 Mar 2024 00:46:18 +0000
4 Subject: [PATCH] DHTU: ship dhtu.conf
5 To: gnunet-developers@gnu.org
6
7 Without dhtu.conf GNUnet will create infinite loglines
8 ERROR No DHT underlays configured!
9
10 Ship the new config file to fix that.
11 ---
12 src/service/dht/Makefile.am | 3 +++
13 src/service/dht/meson.build | 6 ++++++
14 2 files changed, 9 insertions(+)
15
16 --- a/src/service/dht/Makefile.am
17 +++ b/src/service/dht/Makefile.am
18 @@ -10,6 +10,9 @@ libexecdir= $(pkglibdir)/libexec/
19 pkgcfg_DATA = \
20 dht.conf
21
22 +dist_pkgcfg_DATA = \
23 + dhtu.conf
24 +
25 if USE_COVERAGE
26 AM_CFLAGS = --coverage -O0
27 XLIB = -lgcov
28 --- /dev/null
29 +++ b/src/service/dht/dhtu.conf
30 @@ -0,0 +1,7 @@
31 +[dhtu-gnunet]
32 +ENABLED = YES
33 +
34 +[dhtu-ip]
35 +ENABLED = NO
36 +NSE = 4
37 +UDP_PORT = 6666