[PATCH 7/8] namecache: install sql files

Daniel Golle <[email protected]> Fri, 10 Oct 2025 02:13:57 +0100
Newsgroups gmane.network.gnunet.devel
Message-ID <[email protected]>
--b/n6Z8Y4lEhrv+eu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Install namecache-0001.sql and namecache-drop.sql which have been
forgotten in the transision to meson.
---
 src/plugin/namecache/meson.build | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/src/plugin/namecache/meson.build b/src/plugin/namecache/meson.=
build
index f53e8d892..f1600fcc6 100644
--- a/src/plugin/namecache/meson.build
+++ b/src/plugin/namecache/meson.build
@@ -1,3 +1,19 @@
+configure_file(
+    input: 'namecache-0001.sql',
+    output: 'namecache-0001.sql',
+    configuration: cdata,
+    install: true,
+    install_dir: get_option('datadir') / 'gnunet' / 'sql',
+)
+
+configure_file(
+    input: 'namecache-drop.sql',
+    output: 'namecache-drop.sql',
+    configuration: cdata,
+    install: true,
+    install_dir: get_option('datadir') / 'gnunet' / 'sql',
+)
+
 shared_module(
     'gnunet_plugin_namecache_sqlite',
     ['plugin_namecache_sqlite.c'],
--=20
2.51.0

--b/n6Z8Y4lEhrv+eu
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABEIAB0WIQQ8WXOkSQLJP/KOu5qX7zeyq+FyywUCaOhd1QAKCRCX7zeyq+Fy
y12oAP0ZAul0NoHYHgWspX0G0hmf7DT9O6g1fP7On8FnLLFw0AEAk2QRFMlhde90
2xZ6FWUWqq4oAEM0Z+IaZH1iDf7zAuE=
=u3w+
-----END PGP SIGNATURE-----

--b/n6Z8Y4lEhrv+eu--