aboutsummaryrefslogtreecommitdiff
path: root/src/setu
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2023-10-03 17:17:16 +0200
committert3sserakt <t3ss@posteo.de>2023-10-03 17:17:16 +0200
commit6f68c34aa3deed8e1b5df30d3de1342386523920 (patch)
tree940221996f82d1edd77530ac2b1abbb61ccf08ac /src/setu
parented76bf2ece671e9543477a9bb9130dfbe5fa5a4d (diff)
parent109f3188ba65b788990427d6d26ba8874a9b84f5 (diff)
downloadgnunet-6f68c34aa3deed8e1b5df30d3de1342386523920.tar.gz
gnunet-6f68c34aa3deed8e1b5df30d3de1342386523920.zip
Merge branch 'master' into l20integration
Diffstat (limited to 'src/setu')
-rw-r--r--src/setu/gnunet-service-setu.c2
-rw-r--r--src/setu/meson.build50
2 files changed, 51 insertions, 1 deletions
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index f85ddb224..46d027cca 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -2432,7 +2432,7 @@ handle_union_p2p_strata_estimator (void *cls,
2432 if (op->byzantine_upper_bound < op->remote_element_count) 2432 if (op->byzantine_upper_bound < op->remote_element_count)
2433 { 2433 {
2434 LOG (GNUNET_ERROR_TYPE_ERROR, 2434 LOG (GNUNET_ERROR_TYPE_ERROR,
2435 "Exceeded configured upper bound <%lu> of element: %u\n", 2435 "Exceeded configured upper bound <%"PRIu64"> of element: %u\n",
2436 op->byzantine_upper_bound, 2436 op->byzantine_upper_bound,
2437 op->remote_element_count); 2437 op->remote_element_count);
2438 fail_union_operation (op); 2438 fail_union_operation (op);
diff --git a/src/setu/meson.build b/src/setu/meson.build
new file mode 100644
index 000000000..fe5611fd2
--- /dev/null
+++ b/src/setu/meson.build
@@ -0,0 +1,50 @@
1libgnunetsetu_src = ['setu_api.c']
2
3gnunetservicesetu_src = ['gnunet-service-setu.c',
4 'ibf.c',
5 'gnunet-service-setu_strata_estimator.c']
6
7configure_file(input : 'setu.conf.in',
8 output : 'setu.conf',
9 configuration : cdata,
10 install: true,
11 install_dir: pkgcfgdir)
12
13
14if get_option('monolith')
15 foreach p : libgnunetsetu_src + gnunetservicesetu_src
16 gnunet_src += 'setu/' + p
17 endforeach
18 subdir_done()
19endif
20
21libgnunetsetu = library('gnunetsetu',
22 libgnunetsetu_src,
23 soversion: '0',
24 version: '0.0.0',
25 dependencies: libgnunetutil_dep,
26 include_directories: [incdir, configuration_inc],
27 install: true,
28 install_dir: get_option('libdir'))
29pkg.generate(libgnunetsetu, url: 'https://www.gnunet.org',
30 description : 'Provides API for accessing the set union service')
31libgnunetsetu_dep = declare_dependency(link_with : libgnunetsetu)
32shared_module('gnunet_plugin_block_setu_test',
33 ['plugin_block_setu_test.c'],
34 dependencies: libgnunetutil_dep,
35 include_directories: [incdir, configuration_inc],
36 install:true,
37 install_dir: get_option('libdir')/'gnunet')
38executable ('gnunet-service-setu',
39 gnunetservicesetu_src,
40 dependencies: [libgnunetsetu_dep,
41 libgnunetutil_dep,
42 m_dep,
43 libgnunetstatistics_dep,
44 libgnunetcore_dep,
45 libgnunetcadet_dep,
46 libgnunetblock_dep],
47 include_directories: [incdir, configuration_inc],
48 install: true,
49 install_dir: get_option('libdir') / 'gnunet' / 'libexec')
50