summaryrefslogtreecommitdiff
path: root/net-dns/knot-resolver/files/knot-resolver-6.0.9-config-example.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/knot-resolver/files/knot-resolver-6.0.9-config-example.patch')
-rw-r--r--net-dns/knot-resolver/files/knot-resolver-6.0.9-config-example.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-dns/knot-resolver/files/knot-resolver-6.0.9-config-example.patch b/net-dns/knot-resolver/files/knot-resolver-6.0.9-config-example.patch
new file mode 100644
index 000000000000..1e20fad33e16
--- /dev/null
+++ b/net-dns/knot-resolver/files/knot-resolver-6.0.9-config-example.patch
@@ -0,0 +1,40 @@
+From 432f3078eb506dc002de94a6472e3ccf3097f274 Mon Sep 17 00:00:00 2001
+From: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
+Date: Fri, 22 Nov 2024 13:23:38 +0100
+Subject: [PATCH] Add config.yaml in etc_dir
+
+---
+ etc/config/meson.build | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/etc/config/meson.build b/etc/config/meson.build
+index ca888084..29abb992 100644
+--- a/etc/config/meson.build
++++ b/etc/config/meson.build
+@@ -10,6 +10,11 @@ example_configs = [
+ 'config.privacy',
+ 'config.personal',
+ 'config.splitview',
++ 'config.dev.yaml',
++ 'config.example.docker.yaml',
++ 'config.example.isp.yaml',
++ 'config.example.internal.yaml',
++ 'config.example.personal.yaml',
+ ]
+
+ install_data(
+@@ -17,6 +22,11 @@ install_data(
+ install_dir: examples_dir,
+ )
+
++install_data(
++ sources: 'config.example.personal.yaml',
++ rename: 'config.yaml',
++ install_dir: etc_dir,
++)
+
+ # kresd.conf
+ install_kresd_conf = get_option('install_kresd_conf') == 'enabled'
+--
+2.45.2
+