diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-19 09:37:26 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-19 09:37:26 +0200 |
commit | b7a1d4379ebcff1c878d068cbd8df34fd16d81d4 (patch) | |
tree | f7f1c37fb5f106ca165a79a5c5fb4f3e13abbdc2 /src | |
parent | 54a37c4239d34fc3b681df78a5a8b4d6a7bde902 (diff) | |
download | gnunet-b7a1d4379ebcff1c878d068cbd8df34fd16d81d4.tar.gz gnunet-b7a1d4379ebcff1c878d068cbd8df34fd16d81d4.zip |
BUILD: Move namestore to service
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/cli/Makefile.am | 1 | ||||
-rw-r--r-- | src/cli/namestore/.gitignore | 6 | ||||
-rw-r--r-- | src/cli/namestore/Makefile.am | 71 | ||||
-rw-r--r-- | src/cli/namestore/example_zonefile (renamed from src/namestore/example_zonefile) | 0 | ||||
-rw-r--r-- | src/cli/namestore/gnunet-namestore-dbtool.c (renamed from src/namestore/gnunet-namestore-dbtool.c) | 0 | ||||
-rw-r--r-- | src/cli/namestore/gnunet-namestore-zonefile.c (renamed from src/namestore/gnunet-namestore-zonefile.c) | 0 | ||||
-rw-r--r-- | src/cli/namestore/gnunet-namestore.c (renamed from src/namestore/gnunet-namestore.c) | 0 | ||||
-rw-r--r-- | src/cli/namestore/gnunet-zoneimport.c (renamed from src/namestore/gnunet-zoneimport.c) | 0 | ||||
-rwxr-xr-x | src/cli/namestore/test_namestore_delete.sh (renamed from src/namestore/test_namestore_delete.sh) | 0 | ||||
-rwxr-xr-x | src/cli/namestore/test_namestore_lookup.sh (renamed from src/namestore/test_namestore_lookup.sh) | 0 | ||||
-rwxr-xr-x | src/cli/namestore/test_namestore_put.sh (renamed from src/namestore/test_namestore_put.sh) | 0 | ||||
-rwxr-xr-x | src/cli/namestore/test_namestore_put_multiple.sh (renamed from src/namestore/test_namestore_put_multiple.sh) | 0 | ||||
-rwxr-xr-x | src/cli/namestore/test_namestore_put_stdin.sh (renamed from src/namestore/test_namestore_put_stdin.sh) | 0 | ||||
-rwxr-xr-x | src/cli/namestore/test_namestore_zonefile_import.sh (renamed from src/namestore/test_namestore_zonefile_import.sh) | 0 | ||||
-rw-r--r-- | src/contrib/service/abd/Makefile.am | 4 | ||||
-rw-r--r-- | src/conversation/Makefile.am | 10 | ||||
-rw-r--r-- | src/gns/Makefile.am | 2 | ||||
-rw-r--r-- | src/plugin/Makefile.am | 3 | ||||
-rw-r--r-- | src/plugin/namestore/Makefile.am (renamed from src/namestore/Makefile.am) | 168 | ||||
-rw-r--r-- | src/plugin/namestore/namestore-0001.sql (renamed from src/namestore/namestore-0001.sql) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/namestore-drop.sql (renamed from src/namestore/namestore-drop.sql) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/perf_namestore_api_import.c (renamed from src/namestore/perf_namestore_api_import.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/perf_namestore_api_postgres.conf (renamed from src/namestore/perf_namestore_api_postgres.conf) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/perf_namestore_api_sqlite.conf (renamed from src/namestore/perf_namestore_api_sqlite.conf) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/perf_namestore_api_zone_iteration.c (renamed from src/namestore/perf_namestore_api_zone_iteration.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/plugin_namestore_flat.c (renamed from src/namestore/plugin_namestore_flat.c) | 1 | ||||
-rw-r--r-- | src/plugin/namestore/plugin_namestore_postgres.c (renamed from src/namestore/plugin_namestore_postgres.c) | 1 | ||||
-rw-r--r-- | src/plugin/namestore/plugin_namestore_sqlite.c (renamed from src/namestore/plugin_namestore_sqlite.c) | 1 | ||||
-rw-r--r-- | src/plugin/namestore/plugin_rest_namestore.c (renamed from src/namestore/plugin_rest_namestore.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_common.c (renamed from src/namestore/test_common.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_hostkey (renamed from src/namestore/test_hostkey) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api.conf (renamed from src/namestore/test_namestore_api.conf) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_edit_records.c (renamed from src/namestore/test_namestore_api_edit_records.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_lookup_nick.c (renamed from src/namestore/test_namestore_api_lookup_nick.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_monitoring.c (renamed from src/namestore/test_namestore_api_monitoring.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_monitoring_existing.c (renamed from src/namestore/test_namestore_api_monitoring_existing.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_postgres.conf (renamed from src/namestore/test_namestore_api_postgres.conf) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_remove.c (renamed from src/namestore/test_namestore_api_remove.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_remove_not_existing_record.c (renamed from src/namestore/test_namestore_api_remove_not_existing_record.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_sqlite.conf (renamed from src/namestore/test_namestore_api_sqlite.conf) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_store.c (renamed from src/namestore/test_namestore_api_store.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_store_update.c (renamed from src/namestore/test_namestore_api_store_update.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_tx_rollback.c (renamed from src/namestore/test_namestore_api_tx_rollback.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_zone_iteration.c (renamed from src/namestore/test_namestore_api_zone_iteration.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_zone_iteration_nick.c (renamed from src/namestore/test_namestore_api_zone_iteration_nick.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_zone_iteration_specific_zone.c (renamed from src/namestore/test_namestore_api_zone_iteration_specific_zone.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_zone_iteration_stop.c (renamed from src/namestore/test_namestore_api_zone_iteration_stop.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_namestore_api_zone_to_name.c (renamed from src/namestore/test_namestore_api_zone_to_name.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_plugin_namestore.c (renamed from src/namestore/test_plugin_namestore.c) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_plugin_namestore_postgres.conf (renamed from src/namestore/test_plugin_namestore_postgres.conf) | 0 | ||||
-rw-r--r-- | src/plugin/namestore/test_plugin_namestore_sqlite.conf (renamed from src/namestore/test_plugin_namestore_sqlite.conf) | 0 | ||||
-rwxr-xr-x | src/plugin/namestore/test_plugin_rest_namestore.sh (renamed from src/namestore/test_plugin_rest_namestore.sh) | 0 | ||||
-rw-r--r-- | src/pt/Makefile.am | 2 | ||||
-rw-r--r-- | src/reclaim/Makefile.am | 14 | ||||
-rw-r--r-- | src/service/Makefile.am | 1 | ||||
-rw-r--r-- | src/service/namestore/.gitignore (renamed from src/namestore/.gitignore) | 4 | ||||
-rw-r--r-- | src/service/namestore/Makefile.am | 63 | ||||
-rw-r--r-- | src/service/namestore/gnunet-namestore-fcfsd.c (renamed from src/namestore/gnunet-namestore-fcfsd.c) | 0 | ||||
-rw-r--r-- | src/service/namestore/gnunet-service-namestore.c (renamed from src/namestore/gnunet-service-namestore.c) | 0 | ||||
-rw-r--r-- | src/service/namestore/meson.build (renamed from src/namestore/meson.build) | 0 | ||||
-rw-r--r-- | src/service/namestore/namestore.conf.in (renamed from src/namestore/namestore.conf.in) | 0 | ||||
-rw-r--r-- | src/service/namestore/namestore.h (renamed from src/namestore/namestore.h) | 0 | ||||
-rw-r--r-- | src/service/namestore/namestore_api.c (renamed from src/namestore/namestore_api.c) | 0 | ||||
-rw-r--r-- | src/service/namestore/namestore_api_monitor.c (renamed from src/namestore/namestore_api_monitor.c) | 0 | ||||
-rw-r--r-- | src/zonemaster/Makefile.am | 2 |
66 files changed, 193 insertions, 162 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d166fd788..208049b50 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -17,7 +17,6 @@ SUBDIRS = \ | |||
17 | rest-plugin \ | 17 | rest-plugin \ |
18 | cli \ | 18 | cli \ |
19 | contrib \ | 19 | contrib \ |
20 | namestore \ | ||
21 | set \ | 20 | set \ |
22 | seti \ | 21 | seti \ |
23 | setu \ | 22 | setu \ |
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am index 0235c0a1c..78ff8b07b 100644 --- a/src/cli/Makefile.am +++ b/src/cli/Makefile.am | |||
@@ -9,4 +9,5 @@ SUBDIRS = \ | |||
9 | datastore \ | 9 | datastore \ |
10 | dht \ | 10 | dht \ |
11 | namecache \ | 11 | namecache \ |
12 | namestore \ | ||
12 | cadet | 13 | cadet |
diff --git a/src/cli/namestore/.gitignore b/src/cli/namestore/.gitignore new file mode 100644 index 000000000..3c0282e8c --- /dev/null +++ b/src/cli/namestore/.gitignore | |||
@@ -0,0 +1,6 @@ | |||
1 | gnunet-namestore | ||
2 | gnunet-namestore-dbtool | ||
3 | gnunet-namestore-zonefile | ||
4 | gnunet-namestore-fcfsd | ||
5 | gnunet-zoneimport | ||
6 | |||
diff --git a/src/cli/namestore/Makefile.am b/src/cli/namestore/Makefile.am new file mode 100644 index 000000000..86ab2f0f7 --- /dev/null +++ b/src/cli/namestore/Makefile.am | |||
@@ -0,0 +1,71 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS) | ||
3 | |||
4 | plugindir = $(libdir)/gnunet | ||
5 | |||
6 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
7 | |||
8 | libexecdir= $(pkglibdir)/libexec/ | ||
9 | |||
10 | sqldir = $(prefix)/share/gnunet/sql/ | ||
11 | |||
12 | if USE_COVERAGE | ||
13 | AM_CFLAGS = --coverage -O0 | ||
14 | XLIBS = -lgcov | ||
15 | endif | ||
16 | |||
17 | |||
18 | bin_PROGRAMS = \ | ||
19 | gnunet-namestore \ | ||
20 | gnunet-namestore-dbtool \ | ||
21 | gnunet-namestore-zonefile \ | ||
22 | gnunet-zoneimport | ||
23 | |||
24 | gnunet_namestore_zonefile_SOURCES = \ | ||
25 | gnunet-namestore-zonefile.c | ||
26 | gnunet_namestore_zonefile_LDADD = \ | ||
27 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ | ||
28 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
29 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
30 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
31 | $(GN_LIBINTL) | ||
32 | |||
33 | gnunet_zoneimport_SOURCES = \ | ||
34 | gnunet-zoneimport.c | ||
35 | gnunet_zoneimport_LDADD = \ | ||
36 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ | ||
37 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
38 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
39 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
40 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
41 | $(GN_LIBINTL) | ||
42 | |||
43 | gnunet_namestore_SOURCES = \ | ||
44 | gnunet-namestore.c | ||
45 | gnunet_namestore_LDADD = \ | ||
46 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
47 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
48 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
49 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ | ||
50 | $(GN_LIBINTL) | ||
51 | |||
52 | gnunet_namestore_dbtool_SOURCES = \ | ||
53 | gnunet-namestore-dbtool.c | ||
54 | gnunet_namestore_dbtool_LDADD = \ | ||
55 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
56 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ | ||
57 | $(GN_LIBINTL) | ||
58 | |||
59 | |||
60 | |||
61 | check_SCRIPTS = \ | ||
62 | test_namestore_put.sh \ | ||
63 | test_namestore_put_stdin.sh \ | ||
64 | test_namestore_lookup.sh \ | ||
65 | test_namestore_delete.sh \ | ||
66 | test_namestore_zonefile_import.sh | ||
67 | |||
68 | EXTRA_DIST = \ | ||
69 | test_hostkey \ | ||
70 | example_zonefile \ | ||
71 | $(check_SCRIPTS) | ||
diff --git a/src/namestore/example_zonefile b/src/cli/namestore/example_zonefile index 5e380ff90..5e380ff90 100644 --- a/src/namestore/example_zonefile +++ b/src/cli/namestore/example_zonefile | |||
diff --git a/src/namestore/gnunet-namestore-dbtool.c b/src/cli/namestore/gnunet-namestore-dbtool.c index 835d7a228..835d7a228 100644 --- a/src/namestore/gnunet-namestore-dbtool.c +++ b/src/cli/namestore/gnunet-namestore-dbtool.c | |||
diff --git a/src/namestore/gnunet-namestore-zonefile.c b/src/cli/namestore/gnunet-namestore-zonefile.c index dfd438e94..dfd438e94 100644 --- a/src/namestore/gnunet-namestore-zonefile.c +++ b/src/cli/namestore/gnunet-namestore-zonefile.c | |||
diff --git a/src/namestore/gnunet-namestore.c b/src/cli/namestore/gnunet-namestore.c index baa036ac7..baa036ac7 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/cli/namestore/gnunet-namestore.c | |||
diff --git a/src/namestore/gnunet-zoneimport.c b/src/cli/namestore/gnunet-zoneimport.c index c7e0cf65f..c7e0cf65f 100644 --- a/src/namestore/gnunet-zoneimport.c +++ b/src/cli/namestore/gnunet-zoneimport.c | |||
diff --git a/src/namestore/test_namestore_delete.sh b/src/cli/namestore/test_namestore_delete.sh index b861a4bc0..b861a4bc0 100755 --- a/src/namestore/test_namestore_delete.sh +++ b/src/cli/namestore/test_namestore_delete.sh | |||
diff --git a/src/namestore/test_namestore_lookup.sh b/src/cli/namestore/test_namestore_lookup.sh index 1c96e102a..1c96e102a 100755 --- a/src/namestore/test_namestore_lookup.sh +++ b/src/cli/namestore/test_namestore_lookup.sh | |||
diff --git a/src/namestore/test_namestore_put.sh b/src/cli/namestore/test_namestore_put.sh index eaf7d44b4..eaf7d44b4 100755 --- a/src/namestore/test_namestore_put.sh +++ b/src/cli/namestore/test_namestore_put.sh | |||
diff --git a/src/namestore/test_namestore_put_multiple.sh b/src/cli/namestore/test_namestore_put_multiple.sh index 4c7340440..4c7340440 100755 --- a/src/namestore/test_namestore_put_multiple.sh +++ b/src/cli/namestore/test_namestore_put_multiple.sh | |||
diff --git a/src/namestore/test_namestore_put_stdin.sh b/src/cli/namestore/test_namestore_put_stdin.sh index deb7bc4cb..deb7bc4cb 100755 --- a/src/namestore/test_namestore_put_stdin.sh +++ b/src/cli/namestore/test_namestore_put_stdin.sh | |||
diff --git a/src/namestore/test_namestore_zonefile_import.sh b/src/cli/namestore/test_namestore_zonefile_import.sh index d6345257f..d6345257f 100755 --- a/src/namestore/test_namestore_zonefile_import.sh +++ b/src/cli/namestore/test_namestore_zonefile_import.sh | |||
diff --git a/src/contrib/service/abd/Makefile.am b/src/contrib/service/abd/Makefile.am index 6eff980f4..d08a6a4a7 100644 --- a/src/contrib/service/abd/Makefile.am +++ b/src/contrib/service/abd/Makefile.am | |||
@@ -44,7 +44,7 @@ gnunet_abd_LDADD = \ | |||
44 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 44 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
45 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 45 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
46 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 46 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
47 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 47 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
48 | $(GN_LIBINTL) | 48 | $(GN_LIBINTL) |
49 | 49 | ||
50 | 50 | ||
@@ -66,7 +66,7 @@ gnunet_service_abd_LDADD = \ | |||
66 | libgnunetabd.la \ | 66 | libgnunetabd.la \ |
67 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 67 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
68 | $(top_builddir)/src/gns/libgnunetgns.la \ | 68 | $(top_builddir)/src/gns/libgnunetgns.la \ |
69 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 69 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
70 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 70 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
71 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | 71 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ |
72 | $(GN_LIBINTL) | 72 | $(GN_LIBINTL) |
diff --git a/src/conversation/Makefile.am b/src/conversation/Makefile.am index 4fca1ee79..720d543ca 100644 --- a/src/conversation/Makefile.am +++ b/src/conversation/Makefile.am | |||
@@ -71,7 +71,7 @@ libgnunetconversation_la_SOURCES = \ | |||
71 | libgnunetconversation_la_LIBADD = \ | 71 | libgnunetconversation_la_LIBADD = \ |
72 | $(top_builddir)/src/gns/libgnunetgns.la \ | 72 | $(top_builddir)/src/gns/libgnunetgns.la \ |
73 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 73 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
74 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 74 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
75 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 75 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
76 | $(top_builddir)/src/lib/util/libgnunetutil.la | 76 | $(top_builddir)/src/lib/util/libgnunetutil.la |
77 | 77 | ||
@@ -198,7 +198,7 @@ gnunet_conversation_LDADD = \ | |||
198 | libgnunetconversation.la \ | 198 | libgnunetconversation.la \ |
199 | $(top_builddir)/src/gns/libgnunetgns.la \ | 199 | $(top_builddir)/src/gns/libgnunetgns.la \ |
200 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 200 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
201 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 201 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
202 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 202 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
203 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 203 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
204 | $(INTLLIBS) | 204 | $(INTLLIBS) |
@@ -223,7 +223,7 @@ test_conversation_api_LDADD = \ | |||
223 | libgnunetspeaker.la \ | 223 | libgnunetspeaker.la \ |
224 | libgnunetmicrophone.la \ | 224 | libgnunetmicrophone.la \ |
225 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 225 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
226 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 226 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
227 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 227 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
228 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 228 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
229 | $(top_builddir)/src/lib/util/libgnunetutil.la | 229 | $(top_builddir)/src/lib/util/libgnunetutil.la |
@@ -237,7 +237,7 @@ test_conversation_api_twocalls_LDADD = \ | |||
237 | libgnunetspeaker.la \ | 237 | libgnunetspeaker.la \ |
238 | libgnunetmicrophone.la \ | 238 | libgnunetmicrophone.la \ |
239 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 239 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
240 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 240 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
241 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 241 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
242 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 242 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
243 | $(top_builddir)/src/lib/util/libgnunetutil.la | 243 | $(top_builddir)/src/lib/util/libgnunetutil.la |
@@ -251,7 +251,7 @@ test_conversation_api_reject_LDADD = \ | |||
251 | libgnunetspeaker.la \ | 251 | libgnunetspeaker.la \ |
252 | libgnunetmicrophone.la \ | 252 | libgnunetmicrophone.la \ |
253 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 253 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
254 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 254 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
255 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 255 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
256 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 256 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
257 | $(top_builddir)/src/lib/util/libgnunetutil.la | 257 | $(top_builddir)/src/lib/util/libgnunetutil.la |
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am index 379d6697a..08d85c903 100644 --- a/src/gns/Makefile.am +++ b/src/gns/Makefile.am | |||
@@ -186,7 +186,7 @@ test_gns_proxy_CFLAGS = $(MHD_CFLAGS) @LIBCURL_CPPFLAGS@ $(AM_CFLAGS) | |||
186 | # gnunet-gns-import.c | 186 | # gnunet-gns-import.c |
187 | #gnunet_gns_import_LDADD = \ | 187 | #gnunet_gns_import_LDADD = \ |
188 | # $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 188 | # $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
189 | # $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 189 | # $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
190 | # $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 190 | # $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
191 | # $(top_builddir)/src/lib/util/libgnunetutil.la \ | 191 | # $(top_builddir)/src/lib/util/libgnunetutil.la \ |
192 | # $(GN_LIBINTL) | 192 | # $(GN_LIBINTL) |
diff --git a/src/plugin/Makefile.am b/src/plugin/Makefile.am index 2939d3379..62036f206 100644 --- a/src/plugin/Makefile.am +++ b/src/plugin/Makefile.am | |||
@@ -2,4 +2,5 @@ SUBDIRS = \ | |||
2 | block \ | 2 | block \ |
3 | gnsrecord \ | 3 | gnsrecord \ |
4 | dhtu \ | 4 | dhtu \ |
5 | namecache | 5 | namecache \ |
6 | namestore | ||
diff --git a/src/namestore/Makefile.am b/src/plugin/namestore/Makefile.am index 685829cc2..3c8e9d170 100644 --- a/src/namestore/Makefile.am +++ b/src/plugin/namestore/Makefile.am | |||
@@ -13,9 +13,6 @@ sql_DATA = \ | |||
13 | namestore-0001.sql \ | 13 | namestore-0001.sql \ |
14 | namestore-drop.sql | 14 | namestore-drop.sql |
15 | 15 | ||
16 | pkgcfg_DATA = \ | ||
17 | namestore.conf | ||
18 | |||
19 | if USE_COVERAGE | 16 | if USE_COVERAGE |
20 | AM_CFLAGS = --coverage -O0 | 17 | AM_CFLAGS = --coverage -O0 |
21 | XLIBS = -lgcov | 18 | XLIBS = -lgcov |
@@ -81,23 +78,6 @@ endif | |||
81 | 78 | ||
82 | REST_PLUGIN = libgnunet_plugin_rest_namestore.la | 79 | REST_PLUGIN = libgnunet_plugin_rest_namestore.la |
83 | 80 | ||
84 | lib_LTLIBRARIES = \ | ||
85 | libgnunetnamestore.la | ||
86 | |||
87 | |||
88 | libexec_PROGRAMS = \ | ||
89 | gnunet-service-namestore | ||
90 | |||
91 | bin_PROGRAMS = \ | ||
92 | gnunet-namestore \ | ||
93 | gnunet-namestore-dbtool \ | ||
94 | gnunet-namestore-zonefile \ | ||
95 | gnunet-zoneimport | ||
96 | |||
97 | libexec_PROGRAMS += \ | ||
98 | gnunet-namestore-fcfsd | ||
99 | |||
100 | |||
101 | plugin_LTLIBRARIES = \ | 81 | plugin_LTLIBRARIES = \ |
102 | $(SQLITE_PLUGIN) \ | 82 | $(SQLITE_PLUGIN) \ |
103 | $(POSTGRES_PLUGIN) \ | 83 | $(POSTGRES_PLUGIN) \ |
@@ -107,7 +87,7 @@ plugin_LTLIBRARIES = \ | |||
107 | libgnunet_plugin_rest_namestore_la_SOURCES = \ | 87 | libgnunet_plugin_rest_namestore_la_SOURCES = \ |
108 | plugin_rest_namestore.c | 88 | plugin_rest_namestore.c |
109 | libgnunet_plugin_rest_namestore_la_LIBADD = \ | 89 | libgnunet_plugin_rest_namestore_la_LIBADD = \ |
110 | libgnunetnamestore.la \ | 90 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
111 | $(top_builddir)/src/service/rest/libgnunetrest.la \ | 91 | $(top_builddir)/src/service/rest/libgnunetrest.la \ |
112 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 92 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
113 | $(top_builddir)/src/lib/json/libgnunetjson.la \ | 93 | $(top_builddir)/src/lib/json/libgnunetjson.la \ |
@@ -120,82 +100,6 @@ libgnunet_plugin_rest_namestore_la_LDFLAGS = \ | |||
120 | libgnunet_plugin_rest_namestore_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS) | 100 | libgnunet_plugin_rest_namestore_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS) |
121 | 101 | ||
122 | 102 | ||
123 | libgnunetnamestore_la_SOURCES = \ | ||
124 | namestore_api.c \ | ||
125 | namestore_api_monitor.c \ | ||
126 | namestore.h | ||
127 | libgnunetnamestore_la_LIBADD = \ | ||
128 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
129 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
130 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
131 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
132 | $(GN_LIBINTL) | ||
133 | libgnunetnamestore_la_LDFLAGS = \ | ||
134 | $(GN_LIB_LDFLAGS) \ | ||
135 | -version-info 0:1:0 | ||
136 | |||
137 | gnunet_namestore_zonefile_SOURCES = \ | ||
138 | gnunet-namestore-zonefile.c | ||
139 | gnunet_namestore_zonefile_LDADD = \ | ||
140 | libgnunetnamestore.la \ | ||
141 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
142 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
143 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
144 | $(GN_LIBINTL) | ||
145 | |||
146 | gnunet_zoneimport_SOURCES = \ | ||
147 | gnunet-zoneimport.c | ||
148 | gnunet_zoneimport_LDADD = \ | ||
149 | libgnunetnamestore.la \ | ||
150 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
151 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
152 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
153 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
154 | $(GN_LIBINTL) | ||
155 | |||
156 | gnunet_namestore_SOURCES = \ | ||
157 | gnunet-namestore.c | ||
158 | gnunet_namestore_LDADD = \ | ||
159 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
160 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
161 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
162 | libgnunetnamestore.la \ | ||
163 | $(GN_LIBINTL) | ||
164 | |||
165 | gnunet_namestore_dbtool_SOURCES = \ | ||
166 | gnunet-namestore-dbtool.c | ||
167 | gnunet_namestore_dbtool_LDADD = \ | ||
168 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
169 | libgnunetnamestore.la \ | ||
170 | $(GN_LIBINTL) | ||
171 | |||
172 | |||
173 | |||
174 | gnunet_namestore_fcfsd_SOURCES = \ | ||
175 | gnunet-namestore-fcfsd.c | ||
176 | gnunet_namestore_fcfsd_LDADD = $(MHD_LIBS) \ | ||
177 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
178 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
179 | libgnunetnamestore.la \ | ||
180 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
181 | $(top_builddir)/src/lib/json/libgnunetjson.la \ | ||
182 | $(GN_LIBINTL) -ljansson | ||
183 | gnunet_namestore_fcfsd_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS) | ||
184 | |||
185 | |||
186 | gnunet_service_namestore_SOURCES = \ | ||
187 | gnunet-service-namestore.c | ||
188 | gnunet_service_namestore_LDADD = \ | ||
189 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ | ||
190 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
191 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
192 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
193 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
194 | libgnunetnamestore.la \ | ||
195 | $(GN_LIBINTL) | ||
196 | |||
197 | |||
198 | |||
199 | libgnunet_plugin_namestore_sqlite_la_SOURCES = \ | 103 | libgnunet_plugin_namestore_sqlite_la_SOURCES = \ |
200 | plugin_namestore_sqlite.c | 104 | plugin_namestore_sqlite.c |
201 | libgnunet_plugin_namestore_sqlite_la_LIBADD = \ | 105 | libgnunet_plugin_namestore_sqlite_la_LIBADD = \ |
@@ -227,7 +131,7 @@ test_namestore_api_store_sqlite_LDADD = \ | |||
227 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 131 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
228 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 132 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
229 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 133 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
230 | libgnunetnamestore.la | 134 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
231 | 135 | ||
232 | test_namestore_api_store_postgres_SOURCES = \ | 136 | test_namestore_api_store_postgres_SOURCES = \ |
233 | test_namestore_api_store.c | 137 | test_namestore_api_store.c |
@@ -236,7 +140,7 @@ test_namestore_api_store_postgres_LDADD = \ | |||
236 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 140 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
237 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 141 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
238 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 142 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
239 | libgnunetnamestore.la | 143 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
240 | 144 | ||
241 | test_namestore_api_store_update_sqlite_SOURCES = \ | 145 | test_namestore_api_store_update_sqlite_SOURCES = \ |
242 | test_namestore_api_store_update.c | 146 | test_namestore_api_store_update.c |
@@ -246,7 +150,7 @@ test_namestore_api_store_update_sqlite_LDADD = \ | |||
246 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 150 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
247 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 151 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
248 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ | 152 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ |
249 | libgnunetnamestore.la | 153 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
250 | 154 | ||
251 | test_namestore_api_store_update_postgres_SOURCES = \ | 155 | test_namestore_api_store_update_postgres_SOURCES = \ |
252 | test_namestore_api_store_update.c | 156 | test_namestore_api_store_update.c |
@@ -256,7 +160,7 @@ test_namestore_api_store_update_postgres_LDADD = \ | |||
256 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 160 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
257 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 161 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
258 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ | 162 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ |
259 | libgnunetnamestore.la | 163 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
260 | 164 | ||
261 | test_namestore_api_lookup_nick_sqlite_SOURCES = \ | 165 | test_namestore_api_lookup_nick_sqlite_SOURCES = \ |
262 | test_namestore_api_lookup_nick.c | 166 | test_namestore_api_lookup_nick.c |
@@ -266,7 +170,7 @@ test_namestore_api_lookup_nick_sqlite_LDADD = \ | |||
266 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 170 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
267 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 171 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
268 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ | 172 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ |
269 | libgnunetnamestore.la | 173 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
270 | 174 | ||
271 | test_namestore_api_lookup_nick_postgres_SOURCES = \ | 175 | test_namestore_api_lookup_nick_postgres_SOURCES = \ |
272 | test_namestore_api_lookup_nick.c | 176 | test_namestore_api_lookup_nick.c |
@@ -276,7 +180,7 @@ test_namestore_api_lookup_nick_postgres_LDADD = \ | |||
276 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 180 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
277 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 181 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
278 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ | 182 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ |
279 | libgnunetnamestore.la | 183 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
280 | 184 | ||
281 | test_namestore_api_remove_sqlite_SOURCES = \ | 185 | test_namestore_api_remove_sqlite_SOURCES = \ |
282 | test_namestore_api_remove.c | 186 | test_namestore_api_remove.c |
@@ -285,7 +189,7 @@ test_namestore_api_remove_sqlite_LDADD = \ | |||
285 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 189 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
286 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 190 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
287 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 191 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
288 | libgnunetnamestore.la | 192 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
289 | 193 | ||
290 | test_namestore_api_remove_postgres_SOURCES = \ | 194 | test_namestore_api_remove_postgres_SOURCES = \ |
291 | test_namestore_api_remove.c | 195 | test_namestore_api_remove.c |
@@ -294,7 +198,7 @@ test_namestore_api_remove_postgres_LDADD = \ | |||
294 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 198 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
295 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 199 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
296 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 200 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
297 | libgnunetnamestore.la | 201 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
298 | 202 | ||
299 | test_namestore_api_remove_not_existing_record_sqlite_SOURCES = \ | 203 | test_namestore_api_remove_not_existing_record_sqlite_SOURCES = \ |
300 | test_namestore_api_remove_not_existing_record.c | 204 | test_namestore_api_remove_not_existing_record.c |
@@ -303,7 +207,7 @@ test_namestore_api_remove_not_existing_record_sqlite_LDADD = \ | |||
303 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 207 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
304 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 208 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
305 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 209 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
306 | libgnunetnamestore.la | 210 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
307 | 211 | ||
308 | test_namestore_api_remove_not_existing_record_postgres_SOURCES = \ | 212 | test_namestore_api_remove_not_existing_record_postgres_SOURCES = \ |
309 | test_namestore_api_remove_not_existing_record.c | 213 | test_namestore_api_remove_not_existing_record.c |
@@ -312,7 +216,7 @@ test_namestore_api_remove_not_existing_record_postgres_LDADD = \ | |||
312 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 216 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
313 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 217 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
314 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 218 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
315 | libgnunetnamestore.la | 219 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
316 | 220 | ||
317 | test_namestore_api_zone_to_name_sqlite_SOURCES = \ | 221 | test_namestore_api_zone_to_name_sqlite_SOURCES = \ |
318 | test_namestore_api_zone_to_name.c | 222 | test_namestore_api_zone_to_name.c |
@@ -320,7 +224,7 @@ test_namestore_api_zone_to_name_sqlite_LDADD = \ | |||
320 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 224 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
321 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 225 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
322 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 226 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
323 | libgnunetnamestore.la | 227 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
324 | 228 | ||
325 | test_namestore_api_zone_to_name_postgres_SOURCES = \ | 229 | test_namestore_api_zone_to_name_postgres_SOURCES = \ |
326 | test_namestore_api_zone_to_name.c | 230 | test_namestore_api_zone_to_name.c |
@@ -328,14 +232,14 @@ test_namestore_api_zone_to_name_postgres_LDADD = \ | |||
328 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 232 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
329 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 233 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
330 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 234 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
331 | libgnunetnamestore.la | 235 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
332 | 236 | ||
333 | test_namestore_api_monitoring_sqlite_SOURCES = \ | 237 | test_namestore_api_monitoring_sqlite_SOURCES = \ |
334 | test_namestore_api_monitoring.c | 238 | test_namestore_api_monitoring.c |
335 | test_namestore_api_monitoring_sqlite_LDADD = \ | 239 | test_namestore_api_monitoring_sqlite_LDADD = \ |
336 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 240 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
337 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 241 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
338 | libgnunetnamestore.la \ | 242 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
339 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 243 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
340 | $(top_builddir)/src/lib/util/libgnunetutil.la | 244 | $(top_builddir)/src/lib/util/libgnunetutil.la |
341 | 245 | ||
@@ -344,7 +248,7 @@ test_namestore_api_monitoring_postgres_SOURCES = \ | |||
344 | test_namestore_api_monitoring_postgres_LDADD = \ | 248 | test_namestore_api_monitoring_postgres_LDADD = \ |
345 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 249 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
346 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 250 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
347 | libgnunetnamestore.la \ | 251 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
348 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 252 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
349 | $(top_builddir)/src/lib/util/libgnunetutil.la | 253 | $(top_builddir)/src/lib/util/libgnunetutil.la |
350 | 254 | ||
@@ -353,7 +257,7 @@ test_namestore_api_monitoring_existing_sqlite_SOURCES = \ | |||
353 | test_namestore_api_monitoring_existing_sqlite_LDADD = \ | 257 | test_namestore_api_monitoring_existing_sqlite_LDADD = \ |
354 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 258 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
355 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 259 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
356 | libgnunetnamestore.la \ | 260 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
357 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 261 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
358 | $(top_builddir)/src/lib/util/libgnunetutil.la | 262 | $(top_builddir)/src/lib/util/libgnunetutil.la |
359 | 263 | ||
@@ -361,7 +265,7 @@ test_namestore_api_monitoring_existing_postgres_SOURCES = \ | |||
361 | test_namestore_api_monitoring_existing.c | 265 | test_namestore_api_monitoring_existing.c |
362 | test_namestore_api_monitoring_existing_postgres_LDADD = \ | 266 | test_namestore_api_monitoring_existing_postgres_LDADD = \ |
363 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 267 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
364 | libgnunetnamestore.la \ | 268 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
365 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 269 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
366 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 270 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
367 | $(top_builddir)/src/lib/util/libgnunetutil.la | 271 | $(top_builddir)/src/lib/util/libgnunetutil.la |
@@ -371,7 +275,7 @@ test_namestore_api_tx_rollback_sqlite_SOURCES = \ | |||
371 | test_namestore_api_tx_rollback_sqlite_LDADD = \ | 275 | test_namestore_api_tx_rollback_sqlite_LDADD = \ |
372 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 276 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
373 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 277 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
374 | libgnunetnamestore.la \ | 278 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
375 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 279 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
376 | $(top_builddir)/src/lib/util/libgnunetutil.la | 280 | $(top_builddir)/src/lib/util/libgnunetutil.la |
377 | 281 | ||
@@ -380,7 +284,7 @@ test_namestore_api_tx_rollback_postgres_SOURCES = \ | |||
380 | test_namestore_api_tx_rollback_postgres_LDADD = \ | 284 | test_namestore_api_tx_rollback_postgres_LDADD = \ |
381 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 285 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
382 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 286 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
383 | libgnunetnamestore.la \ | 287 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
384 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 288 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
385 | $(top_builddir)/src/lib/util/libgnunetutil.la | 289 | $(top_builddir)/src/lib/util/libgnunetutil.la |
386 | 290 | ||
@@ -390,7 +294,7 @@ test_namestore_api_edit_records_postgres_SOURCES = \ | |||
390 | test_namestore_api_edit_records_postgres_LDADD = \ | 294 | test_namestore_api_edit_records_postgres_LDADD = \ |
391 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 295 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
392 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 296 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
393 | libgnunetnamestore.la \ | 297 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
394 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 298 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
395 | $(top_builddir)/src/lib/util/libgnunetutil.la | 299 | $(top_builddir)/src/lib/util/libgnunetutil.la |
396 | endif | 300 | endif |
@@ -402,7 +306,7 @@ test_namestore_api_zone_iteration_sqlite_LDADD = \ | |||
402 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 306 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
403 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 307 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
404 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 308 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
405 | libgnunetnamestore.la | 309 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
406 | 310 | ||
407 | test_namestore_api_zone_iteration_postgres_SOURCES = \ | 311 | test_namestore_api_zone_iteration_postgres_SOURCES = \ |
408 | test_namestore_api_zone_iteration.c | 312 | test_namestore_api_zone_iteration.c |
@@ -411,7 +315,7 @@ test_namestore_api_zone_iteration_postgres_LDADD = \ | |||
411 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 315 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
412 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 316 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
413 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 317 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
414 | libgnunetnamestore.la | 318 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
415 | 319 | ||
416 | perf_namestore_api_zone_iteration_postgres_SOURCES = \ | 320 | perf_namestore_api_zone_iteration_postgres_SOURCES = \ |
417 | perf_namestore_api_zone_iteration.c | 321 | perf_namestore_api_zone_iteration.c |
@@ -420,7 +324,7 @@ perf_namestore_api_zone_iteration_postgres_LDADD = \ | |||
420 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 324 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
421 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 325 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
422 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 326 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
423 | libgnunetnamestore.la | 327 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
424 | 328 | ||
425 | perf_namestore_api_import_sqlite_SOURCES = \ | 329 | perf_namestore_api_import_sqlite_SOURCES = \ |
426 | perf_namestore_api_import.c | 330 | perf_namestore_api_import.c |
@@ -429,7 +333,7 @@ perf_namestore_api_import_sqlite_LDADD = \ | |||
429 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 333 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
430 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 334 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
431 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 335 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
432 | libgnunetnamestore.la | 336 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
433 | 337 | ||
434 | perf_namestore_api_import_postgres_SOURCES = \ | 338 | perf_namestore_api_import_postgres_SOURCES = \ |
435 | perf_namestore_api_import.c | 339 | perf_namestore_api_import.c |
@@ -438,7 +342,7 @@ perf_namestore_api_import_postgres_LDADD = \ | |||
438 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 342 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
439 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 343 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
440 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 344 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
441 | libgnunetnamestore.la | 345 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
442 | 346 | ||
443 | 347 | ||
444 | perf_namestore_api_zone_iteration_sqlite_SOURCES = \ | 348 | perf_namestore_api_zone_iteration_sqlite_SOURCES = \ |
@@ -448,7 +352,7 @@ perf_namestore_api_zone_iteration_sqlite_LDADD = \ | |||
448 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 352 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
449 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 353 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
450 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 354 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
451 | libgnunetnamestore.la | 355 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
452 | 356 | ||
453 | test_namestore_api_zone_iteration_nick_sqlite_SOURCES = \ | 357 | test_namestore_api_zone_iteration_nick_sqlite_SOURCES = \ |
454 | test_namestore_api_zone_iteration_nick.c | 358 | test_namestore_api_zone_iteration_nick.c |
@@ -457,7 +361,7 @@ test_namestore_api_zone_iteration_nick_sqlite_LDADD = \ | |||
457 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 361 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
458 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 362 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
459 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 363 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
460 | libgnunetnamestore.la | 364 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
461 | 365 | ||
462 | test_namestore_api_zone_iteration_nick_postgres_SOURCES = \ | 366 | test_namestore_api_zone_iteration_nick_postgres_SOURCES = \ |
463 | test_namestore_api_zone_iteration_nick.c | 367 | test_namestore_api_zone_iteration_nick.c |
@@ -466,7 +370,7 @@ test_namestore_api_zone_iteration_nick_postgres_LDADD = \ | |||
466 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 370 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
467 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 371 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
468 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 372 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
469 | libgnunetnamestore.la | 373 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
470 | 374 | ||
471 | test_namestore_api_zone_iteration_specific_zone_sqlite_SOURCES = \ | 375 | test_namestore_api_zone_iteration_specific_zone_sqlite_SOURCES = \ |
472 | test_namestore_api_zone_iteration_specific_zone.c | 376 | test_namestore_api_zone_iteration_specific_zone.c |
@@ -475,7 +379,7 @@ test_namestore_api_zone_iteration_specific_zone_sqlite_LDADD = \ | |||
475 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 379 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
476 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 380 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
477 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 381 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
478 | libgnunetnamestore.la | 382 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
479 | 383 | ||
480 | test_namestore_api_zone_iteration_specific_zone_postgres_SOURCES = \ | 384 | test_namestore_api_zone_iteration_specific_zone_postgres_SOURCES = \ |
481 | test_namestore_api_zone_iteration_specific_zone.c | 385 | test_namestore_api_zone_iteration_specific_zone.c |
@@ -484,7 +388,7 @@ test_namestore_api_zone_iteration_specific_zone_postgres_LDADD = \ | |||
484 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 388 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
485 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 389 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
486 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 390 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
487 | libgnunetnamestore.la | 391 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
488 | 392 | ||
489 | test_namestore_api_zone_iteration_stop_sqlite_SOURCES = \ | 393 | test_namestore_api_zone_iteration_stop_sqlite_SOURCES = \ |
490 | test_namestore_api_zone_iteration_stop.c | 394 | test_namestore_api_zone_iteration_stop.c |
@@ -493,7 +397,7 @@ test_namestore_api_zone_iteration_stop_sqlite_LDADD = \ | |||
493 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 397 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
494 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 398 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
495 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 399 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
496 | libgnunetnamestore.la | 400 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
497 | 401 | ||
498 | test_namestore_api_zone_iteration_stop_postgres_SOURCES = \ | 402 | test_namestore_api_zone_iteration_stop_postgres_SOURCES = \ |
499 | test_namestore_api_zone_iteration_stop.c | 403 | test_namestore_api_zone_iteration_stop.c |
@@ -502,7 +406,7 @@ test_namestore_api_zone_iteration_stop_postgres_LDADD = \ | |||
502 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 406 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
503 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 407 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
504 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 408 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
505 | libgnunetnamestore.la | 409 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la |
506 | 410 | ||
507 | test_plugin_namestore_sqlite_SOURCES = \ | 411 | test_plugin_namestore_sqlite_SOURCES = \ |
508 | test_plugin_namestore.c | 412 | test_plugin_namestore.c |
@@ -519,13 +423,6 @@ test_plugin_namestore_postgres_LDADD = \ | |||
519 | $(top_builddir)/src/lib/util/libgnunetutil.la | 423 | $(top_builddir)/src/lib/util/libgnunetutil.la |
520 | 424 | ||
521 | check_SCRIPTS = \ | 425 | check_SCRIPTS = \ |
522 | test_namestore_put.sh \ | ||
523 | test_namestore_put_stdin.sh \ | ||
524 | test_namestore_lookup.sh \ | ||
525 | test_namestore_delete.sh \ | ||
526 | test_namestore_zonefile_import.sh | ||
527 | |||
528 | check_SCRIPTS += \ | ||
529 | test_plugin_rest_namestore.sh | 426 | test_plugin_rest_namestore.sh |
530 | 427 | ||
531 | EXTRA_DIST = \ | 428 | EXTRA_DIST = \ |
@@ -538,6 +435,5 @@ EXTRA_DIST = \ | |||
538 | test_plugin_namestore_sqlite.conf \ | 435 | test_plugin_namestore_sqlite.conf \ |
539 | test_plugin_namestore_postgres.conf \ | 436 | test_plugin_namestore_postgres.conf \ |
540 | test_hostkey \ | 437 | test_hostkey \ |
541 | example_zonefile \ | ||
542 | $(check_SCRIPTS) \ | 438 | $(check_SCRIPTS) \ |
543 | $(sql_DATA) | 439 | $(sql_DATA) |
diff --git a/src/namestore/namestore-0001.sql b/src/plugin/namestore/namestore-0001.sql index bdfb31976..bdfb31976 100644 --- a/src/namestore/namestore-0001.sql +++ b/src/plugin/namestore/namestore-0001.sql | |||
diff --git a/src/namestore/namestore-drop.sql b/src/plugin/namestore/namestore-drop.sql index 231417af8..231417af8 100644 --- a/src/namestore/namestore-drop.sql +++ b/src/plugin/namestore/namestore-drop.sql | |||
diff --git a/src/namestore/perf_namestore_api_import.c b/src/plugin/namestore/perf_namestore_api_import.c index e56fb961c..e56fb961c 100644 --- a/src/namestore/perf_namestore_api_import.c +++ b/src/plugin/namestore/perf_namestore_api_import.c | |||
diff --git a/src/namestore/perf_namestore_api_postgres.conf b/src/plugin/namestore/perf_namestore_api_postgres.conf index 5e02c2df3..5e02c2df3 100644 --- a/src/namestore/perf_namestore_api_postgres.conf +++ b/src/plugin/namestore/perf_namestore_api_postgres.conf | |||
diff --git a/src/namestore/perf_namestore_api_sqlite.conf b/src/plugin/namestore/perf_namestore_api_sqlite.conf index 55c3dc812..55c3dc812 100644 --- a/src/namestore/perf_namestore_api_sqlite.conf +++ b/src/plugin/namestore/perf_namestore_api_sqlite.conf | |||
diff --git a/src/namestore/perf_namestore_api_zone_iteration.c b/src/plugin/namestore/perf_namestore_api_zone_iteration.c index e16748f5b..e16748f5b 100644 --- a/src/namestore/perf_namestore_api_zone_iteration.c +++ b/src/plugin/namestore/perf_namestore_api_zone_iteration.c | |||
diff --git a/src/namestore/plugin_namestore_flat.c b/src/plugin/namestore/plugin_namestore_flat.c index 8b574d2cf..716071ff3 100644 --- a/src/namestore/plugin_namestore_flat.c +++ b/src/plugin/namestore/plugin_namestore_flat.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include "gnunet_namestore_plugin.h" | 28 | #include "gnunet_namestore_plugin.h" |
29 | #include "gnunet_namestore_service.h" | 29 | #include "gnunet_namestore_service.h" |
30 | #include "gnunet_gnsrecord_lib.h" | 30 | #include "gnunet_gnsrecord_lib.h" |
31 | #include "namestore.h" | ||
32 | 31 | ||
33 | /** | 32 | /** |
34 | * Context for all functions in this plugin. | 33 | * Context for all functions in this plugin. |
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/plugin/namestore/plugin_namestore_postgres.c index c6debf3a9..1dc526dc2 100644 --- a/src/namestore/plugin_namestore_postgres.c +++ b/src/plugin/namestore/plugin_namestore_postgres.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include "gnunet_namestore_service.h" | 28 | #include "gnunet_namestore_service.h" |
29 | #include "gnunet_gnsrecord_lib.h" | 29 | #include "gnunet_gnsrecord_lib.h" |
30 | #include "gnunet_pq_lib.h" | 30 | #include "gnunet_pq_lib.h" |
31 | #include "namestore.h" | ||
32 | 31 | ||
33 | 32 | ||
34 | #define LOG(kind, ...) GNUNET_log_from (kind, "namestore-postgres", __VA_ARGS__) | 33 | #define LOG(kind, ...) GNUNET_log_from (kind, "namestore-postgres", __VA_ARGS__) |
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/plugin/namestore/plugin_namestore_sqlite.c index d66271ffa..ada9ca25b 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/plugin/namestore/plugin_namestore_sqlite.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include "gnunet_namestore_service.h" | 29 | #include "gnunet_namestore_service.h" |
30 | #include "gnunet_gnsrecord_lib.h" | 30 | #include "gnunet_gnsrecord_lib.h" |
31 | #include "gnunet_sq_lib.h" | 31 | #include "gnunet_sq_lib.h" |
32 | #include "namestore.h" | ||
33 | #include <sqlite3.h> | 32 | #include <sqlite3.h> |
34 | 33 | ||
35 | /** | 34 | /** |
diff --git a/src/namestore/plugin_rest_namestore.c b/src/plugin/namestore/plugin_rest_namestore.c index 31e78e6dd..31e78e6dd 100644 --- a/src/namestore/plugin_rest_namestore.c +++ b/src/plugin/namestore/plugin_rest_namestore.c | |||
diff --git a/src/namestore/test_common.c b/src/plugin/namestore/test_common.c index 4df24a7f7..4df24a7f7 100644 --- a/src/namestore/test_common.c +++ b/src/plugin/namestore/test_common.c | |||
diff --git a/src/namestore/test_hostkey b/src/plugin/namestore/test_hostkey index e69de29bb..e69de29bb 100644 --- a/src/namestore/test_hostkey +++ b/src/plugin/namestore/test_hostkey | |||
diff --git a/src/namestore/test_namestore_api.conf b/src/plugin/namestore/test_namestore_api.conf index 1648c7cae..1648c7cae 100644 --- a/src/namestore/test_namestore_api.conf +++ b/src/plugin/namestore/test_namestore_api.conf | |||
diff --git a/src/namestore/test_namestore_api_edit_records.c b/src/plugin/namestore/test_namestore_api_edit_records.c index a6bce7c17..a6bce7c17 100644 --- a/src/namestore/test_namestore_api_edit_records.c +++ b/src/plugin/namestore/test_namestore_api_edit_records.c | |||
diff --git a/src/namestore/test_namestore_api_lookup_nick.c b/src/plugin/namestore/test_namestore_api_lookup_nick.c index 21fc1ef79..21fc1ef79 100644 --- a/src/namestore/test_namestore_api_lookup_nick.c +++ b/src/plugin/namestore/test_namestore_api_lookup_nick.c | |||
diff --git a/src/namestore/test_namestore_api_monitoring.c b/src/plugin/namestore/test_namestore_api_monitoring.c index 74dad3749..74dad3749 100644 --- a/src/namestore/test_namestore_api_monitoring.c +++ b/src/plugin/namestore/test_namestore_api_monitoring.c | |||
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/plugin/namestore/test_namestore_api_monitoring_existing.c index fe17833c8..fe17833c8 100644 --- a/src/namestore/test_namestore_api_monitoring_existing.c +++ b/src/plugin/namestore/test_namestore_api_monitoring_existing.c | |||
diff --git a/src/namestore/test_namestore_api_postgres.conf b/src/plugin/namestore/test_namestore_api_postgres.conf index 007168280..007168280 100644 --- a/src/namestore/test_namestore_api_postgres.conf +++ b/src/plugin/namestore/test_namestore_api_postgres.conf | |||
diff --git a/src/namestore/test_namestore_api_remove.c b/src/plugin/namestore/test_namestore_api_remove.c index 1a4a7c867..1a4a7c867 100644 --- a/src/namestore/test_namestore_api_remove.c +++ b/src/plugin/namestore/test_namestore_api_remove.c | |||
diff --git a/src/namestore/test_namestore_api_remove_not_existing_record.c b/src/plugin/namestore/test_namestore_api_remove_not_existing_record.c index 11a69bea1..11a69bea1 100644 --- a/src/namestore/test_namestore_api_remove_not_existing_record.c +++ b/src/plugin/namestore/test_namestore_api_remove_not_existing_record.c | |||
diff --git a/src/namestore/test_namestore_api_sqlite.conf b/src/plugin/namestore/test_namestore_api_sqlite.conf index 342356247..342356247 100644 --- a/src/namestore/test_namestore_api_sqlite.conf +++ b/src/plugin/namestore/test_namestore_api_sqlite.conf | |||
diff --git a/src/namestore/test_namestore_api_store.c b/src/plugin/namestore/test_namestore_api_store.c index 22b92fbe5..22b92fbe5 100644 --- a/src/namestore/test_namestore_api_store.c +++ b/src/plugin/namestore/test_namestore_api_store.c | |||
diff --git a/src/namestore/test_namestore_api_store_update.c b/src/plugin/namestore/test_namestore_api_store_update.c index 86495e261..86495e261 100644 --- a/src/namestore/test_namestore_api_store_update.c +++ b/src/plugin/namestore/test_namestore_api_store_update.c | |||
diff --git a/src/namestore/test_namestore_api_tx_rollback.c b/src/plugin/namestore/test_namestore_api_tx_rollback.c index 4a701f60e..4a701f60e 100644 --- a/src/namestore/test_namestore_api_tx_rollback.c +++ b/src/plugin/namestore/test_namestore_api_tx_rollback.c | |||
diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/plugin/namestore/test_namestore_api_zone_iteration.c index fb69fffcc..fb69fffcc 100644 --- a/src/namestore/test_namestore_api_zone_iteration.c +++ b/src/plugin/namestore/test_namestore_api_zone_iteration.c | |||
diff --git a/src/namestore/test_namestore_api_zone_iteration_nick.c b/src/plugin/namestore/test_namestore_api_zone_iteration_nick.c index c494051d0..c494051d0 100644 --- a/src/namestore/test_namestore_api_zone_iteration_nick.c +++ b/src/plugin/namestore/test_namestore_api_zone_iteration_nick.c | |||
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/plugin/namestore/test_namestore_api_zone_iteration_specific_zone.c index 02587706c..02587706c 100644 --- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c +++ b/src/plugin/namestore/test_namestore_api_zone_iteration_specific_zone.c | |||
diff --git a/src/namestore/test_namestore_api_zone_iteration_stop.c b/src/plugin/namestore/test_namestore_api_zone_iteration_stop.c index b6b0787ef..b6b0787ef 100644 --- a/src/namestore/test_namestore_api_zone_iteration_stop.c +++ b/src/plugin/namestore/test_namestore_api_zone_iteration_stop.c | |||
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/plugin/namestore/test_namestore_api_zone_to_name.c index c70eef53a..c70eef53a 100644 --- a/src/namestore/test_namestore_api_zone_to_name.c +++ b/src/plugin/namestore/test_namestore_api_zone_to_name.c | |||
diff --git a/src/namestore/test_plugin_namestore.c b/src/plugin/namestore/test_plugin_namestore.c index 388b23f57..388b23f57 100644 --- a/src/namestore/test_plugin_namestore.c +++ b/src/plugin/namestore/test_plugin_namestore.c | |||
diff --git a/src/namestore/test_plugin_namestore_postgres.conf b/src/plugin/namestore/test_plugin_namestore_postgres.conf index 140d54623..140d54623 100644 --- a/src/namestore/test_plugin_namestore_postgres.conf +++ b/src/plugin/namestore/test_plugin_namestore_postgres.conf | |||
diff --git a/src/namestore/test_plugin_namestore_sqlite.conf b/src/plugin/namestore/test_plugin_namestore_sqlite.conf index 365198db2..365198db2 100644 --- a/src/namestore/test_plugin_namestore_sqlite.conf +++ b/src/plugin/namestore/test_plugin_namestore_sqlite.conf | |||
diff --git a/src/namestore/test_plugin_rest_namestore.sh b/src/plugin/namestore/test_plugin_rest_namestore.sh index 4f117db8b..4f117db8b 100755 --- a/src/namestore/test_plugin_rest_namestore.sh +++ b/src/plugin/namestore/test_plugin_rest_namestore.sh | |||
diff --git a/src/pt/Makefile.am b/src/pt/Makefile.am index 567cbb6d7..5ecaaa10c 100644 --- a/src/pt/Makefile.am +++ b/src/pt/Makefile.am | |||
@@ -53,7 +53,7 @@ EXTRA_DIST = \ | |||
53 | test_gns_vpn_SOURCES = \ | 53 | test_gns_vpn_SOURCES = \ |
54 | test_gns_vpn.c | 54 | test_gns_vpn.c |
55 | test_gns_vpn_LDADD = $(MHD_LIBS) @LIBCURL@ \ | 55 | test_gns_vpn_LDADD = $(MHD_LIBS) @LIBCURL@ \ |
56 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 56 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
57 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 57 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
58 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 58 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
59 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | 59 | $(top_builddir)/src/service/testing/libgnunettesting.la \ |
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am index c052dd2a8..406aad081 100644 --- a/src/reclaim/Makefile.am +++ b/src/reclaim/Makefile.am | |||
@@ -63,7 +63,7 @@ libgnunet_plugin_rest_reclaim_la_LIBADD = \ | |||
63 | $(top_builddir)/src/lib/json/libgnunetjson.la \ | 63 | $(top_builddir)/src/lib/json/libgnunetjson.la \ |
64 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 64 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
65 | $(top_builddir)/src/service/rest/libgnunetrest.la \ | 65 | $(top_builddir)/src/service/rest/libgnunetrest.la \ |
66 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 66 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
67 | $(top_builddir)/src/lib/util/libgnunetutil.la $(XLIBS) \ | 67 | $(top_builddir)/src/lib/util/libgnunetutil.la $(XLIBS) \ |
68 | $(LTLIBINTL) -ljansson $(MHD_LIBS) | 68 | $(LTLIBINTL) -ljansson $(MHD_LIBS) |
69 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ | 69 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ |
@@ -79,7 +79,7 @@ libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | |||
79 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 79 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
80 | libgnunetreclaim.la \ | 80 | libgnunetreclaim.la \ |
81 | $(top_builddir)/src/service/rest/libgnunetrest.la \ | 81 | $(top_builddir)/src/service/rest/libgnunetrest.la \ |
82 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 82 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
83 | $(top_builddir)/src/gns/libgnunetgns.la \ | 83 | $(top_builddir)/src/gns/libgnunetgns.la \ |
84 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 84 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
85 | $(top_builddir)/src/lib/util/libgnunetutil.la $(XLIBS) \ | 85 | $(top_builddir)/src/lib/util/libgnunetutil.la $(XLIBS) \ |
@@ -123,7 +123,7 @@ gnunet_service_reclaim_LDADD = \ | |||
123 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 123 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
124 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 124 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
125 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 125 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
126 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 126 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
127 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | 127 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ |
128 | libgnunetreclaim.la \ | 128 | libgnunetreclaim.la \ |
129 | $(top_builddir)/src/gns/libgnunetgns.la \ | 129 | $(top_builddir)/src/gns/libgnunetgns.la \ |
@@ -154,7 +154,7 @@ libgnunetdid_la_LIBADD = \ | |||
154 | $(top_builddir)/src/gns/libgnunetgns.la \ | 154 | $(top_builddir)/src/gns/libgnunetgns.la \ |
155 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 155 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
156 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 156 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
157 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 157 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
158 | -ljansson \ | 158 | -ljansson \ |
159 | $(GN_LIBINTL) $(XLIB) | 159 | $(GN_LIBINTL) $(XLIB) |
160 | libgnunetdid_la_LDFLAGS = \ | 160 | libgnunetdid_la_LDFLAGS = \ |
@@ -200,7 +200,7 @@ gnunet_reclaim_SOURCES = \ | |||
200 | gnunet-reclaim.c | 200 | gnunet-reclaim.c |
201 | gnunet_reclaim_LDADD = \ | 201 | gnunet_reclaim_LDADD = \ |
202 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 202 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
203 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 203 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
204 | libgnunetreclaim.la \ | 204 | libgnunetreclaim.la \ |
205 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 205 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
206 | $(GN_LIBINTL) | 206 | $(GN_LIBINTL) |
@@ -219,7 +219,7 @@ gnunet_did_LDADD = \ | |||
219 | $(top_builddir)/src/gns/libgnunetgns.la \ | 219 | $(top_builddir)/src/gns/libgnunetgns.la \ |
220 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 220 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
221 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 221 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
222 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 222 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
223 | libgnunetdid.la \ | 223 | libgnunetdid.la \ |
224 | -ljansson | 224 | -ljansson |
225 | 225 | ||
@@ -231,7 +231,7 @@ test_did_helper_LDADD = \ | |||
231 | $(top_builddir)/src/gns/libgnunetgns.la \ | 231 | $(top_builddir)/src/gns/libgnunetgns.la \ |
232 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | 232 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ |
233 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 233 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
234 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 234 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
235 | libgnunetdid.la \ | 235 | libgnunetdid.la \ |
236 | -ljansson | 236 | -ljansson |
237 | 237 | ||
diff --git a/src/service/Makefile.am b/src/service/Makefile.am index 02148d0c7..636caa985 100644 --- a/src/service/Makefile.am +++ b/src/service/Makefile.am | |||
@@ -18,5 +18,6 @@ SUBDIRS = \ | |||
18 | datastore \ | 18 | datastore \ |
19 | dht \ | 19 | dht \ |
20 | namecache \ | 20 | namecache \ |
21 | namestore \ | ||
21 | regex \ | 22 | regex \ |
22 | cadet | 23 | cadet |
diff --git a/src/namestore/.gitignore b/src/service/namestore/.gitignore index 2265f9815..7b99c6163 100644 --- a/src/namestore/.gitignore +++ b/src/service/namestore/.gitignore | |||
@@ -1,7 +1,4 @@ | |||
1 | gnunet-service-namestore | 1 | gnunet-service-namestore |
2 | gnunet-namestore | ||
3 | gnunet-namestore-dbtool | ||
4 | gnunet-namestore-zonefile | ||
5 | gnunet-namestore-fcfsd | 2 | gnunet-namestore-fcfsd |
6 | test_namestore_api_lookup_nick.nc | 3 | test_namestore_api_lookup_nick.nc |
7 | test_namestore_api_lookup_private.nc | 4 | test_namestore_api_lookup_private.nc |
@@ -20,7 +17,6 @@ test_namestore_api_zone_iteration_specific_zone.nc | |||
20 | test_namestore_api_zone_iteration_stop.nc | 17 | test_namestore_api_zone_iteration_stop.nc |
21 | test_plugin_namestore_postgres | 18 | test_plugin_namestore_postgres |
22 | test_plugin_namestore_sqlite | 19 | test_plugin_namestore_sqlite |
23 | gnunet-zoneimport | ||
24 | test_namestore_api_lookup_nick_postgres | 20 | test_namestore_api_lookup_nick_postgres |
25 | test_namestore_api_lookup_nick_sqlite | 21 | test_namestore_api_lookup_nick_sqlite |
26 | test_namestore_api_lookup_private_postgres | 22 | test_namestore_api_lookup_private_postgres |
diff --git a/src/service/namestore/Makefile.am b/src/service/namestore/Makefile.am new file mode 100644 index 000000000..7f49e680f --- /dev/null +++ b/src/service/namestore/Makefile.am | |||
@@ -0,0 +1,63 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS) | ||
3 | |||
4 | plugindir = $(libdir)/gnunet | ||
5 | |||
6 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
7 | |||
8 | libexecdir= $(pkglibdir)/libexec/ | ||
9 | |||
10 | pkgcfg_DATA = \ | ||
11 | namestore.conf | ||
12 | |||
13 | if USE_COVERAGE | ||
14 | AM_CFLAGS = --coverage -O0 | ||
15 | XLIBS = -lgcov | ||
16 | endif | ||
17 | |||
18 | lib_LTLIBRARIES = \ | ||
19 | libgnunetnamestore.la | ||
20 | |||
21 | libexec_PROGRAMS = \ | ||
22 | gnunet-service-namestore | ||
23 | |||
24 | libexec_PROGRAMS += \ | ||
25 | gnunet-namestore-fcfsd | ||
26 | |||
27 | |||
28 | libgnunetnamestore_la_SOURCES = \ | ||
29 | namestore_api.c \ | ||
30 | namestore_api_monitor.c \ | ||
31 | namestore.h | ||
32 | libgnunetnamestore_la_LIBADD = \ | ||
33 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
34 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
35 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
36 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
37 | $(GN_LIBINTL) | ||
38 | libgnunetnamestore_la_LDFLAGS = \ | ||
39 | $(GN_LIB_LDFLAGS) \ | ||
40 | -version-info 0:1:0 | ||
41 | |||
42 | gnunet_namestore_fcfsd_SOURCES = \ | ||
43 | gnunet-namestore-fcfsd.c | ||
44 | gnunet_namestore_fcfsd_LDADD = $(MHD_LIBS) \ | ||
45 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
46 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
47 | libgnunetnamestore.la \ | ||
48 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
49 | $(top_builddir)/src/lib/json/libgnunetjson.la \ | ||
50 | $(GN_LIBINTL) -ljansson | ||
51 | gnunet_namestore_fcfsd_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS) | ||
52 | |||
53 | |||
54 | gnunet_service_namestore_SOURCES = \ | ||
55 | gnunet-service-namestore.c | ||
56 | gnunet_service_namestore_LDADD = \ | ||
57 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ | ||
58 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
59 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | ||
60 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
61 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
62 | libgnunetnamestore.la \ | ||
63 | $(GN_LIBINTL) | ||
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/service/namestore/gnunet-namestore-fcfsd.c index 4948ae441..4948ae441 100644 --- a/src/namestore/gnunet-namestore-fcfsd.c +++ b/src/service/namestore/gnunet-namestore-fcfsd.c | |||
diff --git a/src/namestore/gnunet-service-namestore.c b/src/service/namestore/gnunet-service-namestore.c index 26de295bf..26de295bf 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/service/namestore/gnunet-service-namestore.c | |||
diff --git a/src/namestore/meson.build b/src/service/namestore/meson.build index fd7cfe553..fd7cfe553 100644 --- a/src/namestore/meson.build +++ b/src/service/namestore/meson.build | |||
diff --git a/src/namestore/namestore.conf.in b/src/service/namestore/namestore.conf.in index d817f3f95..d817f3f95 100644 --- a/src/namestore/namestore.conf.in +++ b/src/service/namestore/namestore.conf.in | |||
diff --git a/src/namestore/namestore.h b/src/service/namestore/namestore.h index 35d54d317..35d54d317 100644 --- a/src/namestore/namestore.h +++ b/src/service/namestore/namestore.h | |||
diff --git a/src/namestore/namestore_api.c b/src/service/namestore/namestore_api.c index 7a4438e30..7a4438e30 100644 --- a/src/namestore/namestore_api.c +++ b/src/service/namestore/namestore_api.c | |||
diff --git a/src/namestore/namestore_api_monitor.c b/src/service/namestore/namestore_api_monitor.c index ec4ba879b..ec4ba879b 100644 --- a/src/namestore/namestore_api_monitor.c +++ b/src/service/namestore/namestore_api_monitor.c | |||
diff --git a/src/zonemaster/Makefile.am b/src/zonemaster/Makefile.am index 8f4e74588..5a96afa83 100644 --- a/src/zonemaster/Makefile.am +++ b/src/zonemaster/Makefile.am | |||
@@ -26,7 +26,7 @@ gnunet_service_zonemaster_LDADD = \ | |||
26 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ | 26 | $(top_builddir)/src/service/identity/libgnunetidentity.la \ |
27 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | 27 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ |
28 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 28 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
29 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 29 | $(top_builddir)/src/service/namestore/libgnunetnamestore.la \ |
30 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ | 30 | $(top_builddir)/src/service/namecache/libgnunetnamecache.la \ |
31 | $(GN_LIBINTL) \ | 31 | $(GN_LIBINTL) \ |
32 | -lpthread | 32 | -lpthread |