Hello,
this was done on purpose because we want to deprecate/remove the flat
file/heap DB implementations as they are slow and buggy and hard to
maintain because not really used. I guess I forgot to delete the source
file.
Also, sqlite is pretty close already to a flat file implementation but
a lot faster than anything we will come up with.
What is the requirement to keep it from you?
BR
Martin
On Fri, 2025-10-10 at 02:14 +0100, Daniel Golle wrote:
> Build flat namecache plugin which was dropped with the transition to
> meson, leaving behind the sourcecode without a way to build it.
> ---
> src/plugin/namecache/meson.build | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/src/plugin/namecache/meson.build
> b/src/plugin/namecache/meson.build
> index f1600fcc6..3dee0c761 100644
> --- a/src/plugin/namecache/meson.build
> +++ b/src/plugin/namecache/meson.build
> @@ -29,6 +29,16 @@ shared_module(
> install_dir: get_option('libdir') / 'gnunet',
> )
>
> +shared_module(
> + 'gnunet_plugin_namecache_flat',
> + ['plugin_namecache_flat.c'],
> + install_rpath: rpath_option,
> + dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep],
> + include_directories: [incdir, configuration_inc],
> + install: true,
> + install_dir: get_option('libdir') / 'gnunet',
> +)
> +
> if pq_dep.found()
> shared_module(
> 'gnunet_plugin_namecache_postgres',