aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build6
-rw-r--r--src/plugin/datastore/test_defaults.conf10
-rw-r--r--src/plugin/reclaim/meson.build4
-rw-r--r--src/plugin/revocation/meson.build1
-rw-r--r--src/service/core/meson.build1
-rw-r--r--src/service/meson.build1
-rw-r--r--src/service/nat/gnunet-service-nat.c2
-rw-r--r--src/service/nse/gnunet-service-nse.c2
-rw-r--r--src/service/regex/gnunet-daemon-regexprofiler.c2
-rw-r--r--src/service/testing/meson.build3
-rw-r--r--src/service/topology/gnunet-daemon-topology.c2
-rw-r--r--src/service/transport/gnunet-communicator-unix.c2
-rw-r--r--src/service/transport/meson.build1
13 files changed, 28 insertions, 9 deletions
diff --git a/meson.build b/meson.build
index d88b5432f..f307791ab 100644
--- a/meson.build
+++ b/meson.build
@@ -28,13 +28,13 @@ gnunet_user = false
28getent_bin = find_program('getent', '/usr/bin/getent', required : false) 28getent_bin = find_program('getent', '/usr/bin/getent', required : false)
29if getent_bin.found() 29if getent_bin.found()
30 gnunet_user = true 30 gnunet_user = true
31 if not run_command('getent', 'passwd', 'gnunet', check: false).returncode() == 0 31 if run_command('getent', 'passwd', 'gnunet', check: false).returncode() != 0
32 gnunet_user = false 32 gnunet_user = false
33 endif 33 endif
34 if not run_command('getent', 'group', 'gnunet', check: false).returncode() == 0 34 if run_command('getent', 'group', 'gnunet', check: false).returncode() != 0
35 gnunet_user = false 35 gnunet_user = false
36 endif 36 endif
37 if not run_command('getent', 'group', 'gnunetdns', check: false).returncode() == 0 37 if run_command('getent', 'group', 'gnunetdns', check: false).returncode() != 0
38 gnunet_user = false 38 gnunet_user = false
39 endif 39 endif
40endif 40endif
diff --git a/src/plugin/datastore/test_defaults.conf b/src/plugin/datastore/test_defaults.conf
new file mode 100644
index 000000000..1f971de8f
--- /dev/null
+++ b/src/plugin/datastore/test_defaults.conf
@@ -0,0 +1,10 @@
1@inline@ ../../contrib/conf/gnunet/no_autostart_above_core.conf
2@inline@ ../../contrib/conf/gnunet/no_forcestart.conf
3
4[datastore]
5PORT = 22654
6QUOTA = 1 MB
7START_ON_DEMAND = YES
8
9[nse]
10WORKBITS = 1
diff --git a/src/plugin/reclaim/meson.build b/src/plugin/reclaim/meson.build
index df0289ca2..cde9fc726 100644
--- a/src/plugin/reclaim/meson.build
+++ b/src/plugin/reclaim/meson.build
@@ -15,7 +15,9 @@ shared_module('gnunet_plugin_reclaim_attribute_basic',
15 install: true, 15 install: true,
16 install_dir: get_option('libdir') / 'gnunet') 16 install_dir: get_option('libdir') / 'gnunet')
17shared_module('gnunet_plugin_reclaim_credential_jwt', 17shared_module('gnunet_plugin_reclaim_credential_jwt',
18 ['plugin_reclaim_credential_jwt.c'], 18 ['plugin_reclaim_credential_jwt.c',
19 '../../service/reclaim/reclaim_attribute.c',
20 '../../service/reclaim/reclaim_credential.c'],
19 dependencies: [ 21 dependencies: [
20 libgnunetjson_dep, 22 libgnunetjson_dep,
21 libgnunetutil_dep, 23 libgnunetutil_dep,
diff --git a/src/plugin/revocation/meson.build b/src/plugin/revocation/meson.build
index c4405e9b8..0ac8df28d 100644
--- a/src/plugin/revocation/meson.build
+++ b/src/plugin/revocation/meson.build
@@ -1,6 +1,7 @@
1shared_module('gnunet_plugin_block_revocation', 1shared_module('gnunet_plugin_block_revocation',
2 ['plugin_block_revocation.c'], 2 ['plugin_block_revocation.c'],
3 dependencies: [libgnunetutil_dep, 3 dependencies: [libgnunetutil_dep,
4 libgnunetgnsrecord_dep,
4 libgnunetblock_dep], 5 libgnunetblock_dep],
5 include_directories: [incdir, configuration_inc], 6 include_directories: [incdir, configuration_inc],
6 install: true, 7 install: true,
diff --git a/src/service/core/meson.build b/src/service/core/meson.build
index 6de15cd6d..483aa0a11 100644
--- a/src/service/core/meson.build
+++ b/src/service/core/meson.build
@@ -50,6 +50,7 @@ libgnunetcoretesting_dep = declare_dependency(link_with : libgnunetcoretesting)
50shared_module('gnunet_test_core_plugin_cmd_just_run', 50shared_module('gnunet_test_core_plugin_cmd_just_run',
51 ['test_core_plugin_cmd_just_run.c'], 51 ['test_core_plugin_cmd_just_run.c'],
52 dependencies: [libgnunetutil_dep, 52 dependencies: [libgnunetutil_dep,
53 libgnunettesting_dep,
53 libgnunetcoretesting_dep, 54 libgnunetcoretesting_dep,
54 libgnunettransportcore_dep, 55 libgnunettransportcore_dep,
55 libgnunettransportapplication_dep, 56 libgnunettransportapplication_dep,
diff --git a/src/service/meson.build b/src/service/meson.build
index b089c9794..57e885899 100644
--- a/src/service/meson.build
+++ b/src/service/meson.build
@@ -47,6 +47,7 @@ libgnunet = library('gnunet',
47 libgnunetgnsrecord_dep, 47 libgnunetgnsrecord_dep,
48 libgnunetgnsrecordjson_dep, 48 libgnunetgnsrecordjson_dep,
49 jose_dep, 49 jose_dep,
50 m_dep,
50 libgnunetcurl_dep], 51 libgnunetcurl_dep],
51 c_args: ['-DHAVE_GNUNET_MONOLITH=1'], 52 c_args: ['-DHAVE_GNUNET_MONOLITH=1'],
52 include_directories: [incdir, configuration_inc, exitdir]) 53 include_directories: [incdir, configuration_inc, exitdir])
diff --git a/src/service/nat/gnunet-service-nat.c b/src/service/nat/gnunet-service-nat.c
index dde269819..08c87d0be 100644
--- a/src/service/nat/gnunet-service-nat.c
+++ b/src/service/nat/gnunet-service-nat.c
@@ -2070,7 +2070,7 @@ GNUNET_SERVICE_MAIN
2070 * MINIMIZE heap size (way below 128k) since this process doesn't need much. 2070 * MINIMIZE heap size (way below 128k) since this process doesn't need much.
2071 */ 2071 */
2072void __attribute__ ((constructor)) 2072void __attribute__ ((constructor))
2073GNUNET_ARM_memory_init () 2073GNUNET_NATM_memory_init ()
2074{ 2074{
2075 mallopt (M_TRIM_THRESHOLD, 4 * 1024); 2075 mallopt (M_TRIM_THRESHOLD, 4 * 1024);
2076 mallopt (M_TOP_PAD, 1 * 1024); 2076 mallopt (M_TOP_PAD, 1 * 1024);
diff --git a/src/service/nse/gnunet-service-nse.c b/src/service/nse/gnunet-service-nse.c
index ee1cb025f..ddb720d26 100644
--- a/src/service/nse/gnunet-service-nse.c
+++ b/src/service/nse/gnunet-service-nse.c
@@ -1573,7 +1573,7 @@ GNUNET_SERVICE_MAIN ("nse",
1573 * MINIMIZE heap size (way below 128k) since this process doesn't need much. 1573 * MINIMIZE heap size (way below 128k) since this process doesn't need much.
1574 */ 1574 */
1575void __attribute__ ((constructor)) 1575void __attribute__ ((constructor))
1576GNUNET_ARM_memory_init () 1576GNUNET_NSE_memory_init ()
1577{ 1577{
1578 mallopt (M_TRIM_THRESHOLD, 4 * 1024); 1578 mallopt (M_TRIM_THRESHOLD, 4 * 1024);
1579 mallopt (M_TOP_PAD, 1 * 1024); 1579 mallopt (M_TOP_PAD, 1 * 1024);
diff --git a/src/service/regex/gnunet-daemon-regexprofiler.c b/src/service/regex/gnunet-daemon-regexprofiler.c
index 70301338f..8aa2a2a30 100644
--- a/src/service/regex/gnunet-daemon-regexprofiler.c
+++ b/src/service/regex/gnunet-daemon-regexprofiler.c
@@ -393,7 +393,7 @@ main (int argc, char *const *argv)
393 * MINIMIZE heap size (way below 128k) since this process doesn't need much. 393 * MINIMIZE heap size (way below 128k) since this process doesn't need much.
394 */ 394 */
395void __attribute__ ((constructor)) 395void __attribute__ ((constructor))
396GNUNET_ARM_memory_init () 396GNUNET_REGEX_memory_init ()
397{ 397{
398 mallopt (M_TRIM_THRESHOLD, 4 * 1024); 398 mallopt (M_TRIM_THRESHOLD, 4 * 1024);
399 mallopt (M_TOP_PAD, 1 * 1024); 399 mallopt (M_TOP_PAD, 1 * 1024);
diff --git a/src/service/testing/meson.build b/src/service/testing/meson.build
index 7e2069fb0..5605a2afb 100644
--- a/src/service/testing/meson.build
+++ b/src/service/testing/meson.build
@@ -1,4 +1,7 @@
1libgnunettesting_src = [ 1libgnunettesting_src = [
2 'testing_api_cmd_stop_peer.c',
3 'testing_api_cmd_start_peer.c',
4 'testing_api_cmd_exec_bash_script.c',
2 'testing_api_cmd_barrier.c', 5 'testing_api_cmd_barrier.c',
3 'testing_api_cmd_barrier_reached.c', 6 'testing_api_cmd_barrier_reached.c',
4 'testing_api_cmd_finish.c', 7 'testing_api_cmd_finish.c',
diff --git a/src/service/topology/gnunet-daemon-topology.c b/src/service/topology/gnunet-daemon-topology.c
index 71cc5bd19..f68b838d4 100644
--- a/src/service/topology/gnunet-daemon-topology.c
+++ b/src/service/topology/gnunet-daemon-topology.c
@@ -1010,7 +1010,7 @@ main (int argc, char *const *argv)
1010 * MINIMIZE heap size (way below 128k) since this process doesn't need much. 1010 * MINIMIZE heap size (way below 128k) since this process doesn't need much.
1011 */ 1011 */
1012void __attribute__ ((constructor)) 1012void __attribute__ ((constructor))
1013GNUNET_ARM_memory_init () 1013GNUNET_TOPOLOGY_memory_init ()
1014{ 1014{
1015 mallopt (M_TRIM_THRESHOLD, 4 * 1024); 1015 mallopt (M_TRIM_THRESHOLD, 4 * 1024);
1016 mallopt (M_TOP_PAD, 1 * 1024); 1016 mallopt (M_TOP_PAD, 1 * 1024);
diff --git a/src/service/transport/gnunet-communicator-unix.c b/src/service/transport/gnunet-communicator-unix.c
index 0ff16ab08..1cdc85b8a 100644
--- a/src/service/transport/gnunet-communicator-unix.c
+++ b/src/service/transport/gnunet-communicator-unix.c
@@ -1153,7 +1153,7 @@ main (int argc, char *const *argv)
1153 * MINIMIZE heap size (way below 128k) since this process doesn't need much. 1153 * MINIMIZE heap size (way below 128k) since this process doesn't need much.
1154 */ 1154 */
1155void __attribute__ ((constructor)) 1155void __attribute__ ((constructor))
1156GNUNET_ARM_memory_init () 1156GNUNET_TRANSPORT_communicator_unix_memory_init ()
1157{ 1157{
1158 mallopt (M_TRIM_THRESHOLD, 4 * 1024); 1158 mallopt (M_TRIM_THRESHOLD, 4 * 1024);
1159 mallopt (M_TOP_PAD, 1 * 1024); 1159 mallopt (M_TOP_PAD, 1 * 1024);
diff --git a/src/service/transport/meson.build b/src/service/transport/meson.build
index 4f8b592fd..3cacc53f6 100644
--- a/src/service/transport/meson.build
+++ b/src/service/transport/meson.build
@@ -111,6 +111,7 @@ executable ('gnunet-service-transport',
111 libgnunethello_dep, 111 libgnunethello_dep,
112 libgnunetnat_dep, 112 libgnunetnat_dep,
113 gcrypt_dep, 113 gcrypt_dep,
114 m_dep,
114 libgnunetutil_dep], 115 libgnunetutil_dep],
115 include_directories: [incdir, configuration_inc], 116 include_directories: [incdir, configuration_inc],
116 install: true, 117 install: true,