diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:26:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:26:00 +0000 |
commit | 830407e88f9d40d954356c3754f2647f91d5c06a (patch) | |
tree | d6a0ece6feea91f3c656166dbaa884ef8a29740e /meson_options.txt | |
parent | Initial commit. (diff) | |
download | knot-resolver-830407e88f9d40d954356c3754f2647f91d5c06a.tar.xz knot-resolver-830407e88f9d40d954356c3754f2647f91d5c06a.zip |
Adding upstream version 5.6.0.upstream/5.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 219 |
1 files changed, 219 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 0000000..576d385 --- /dev/null +++ b/meson_options.txt @@ -0,0 +1,219 @@ +# Configuration options +# SPDX-License-Identifier: GPL-3.0-or-later + +option( + 'keyfile_default', + type: 'string', + value: 'root.keys', + description: 'built-in path to DNSSEC trust anchors file', +) + +option( + 'managed_ta', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'auto-manage DNSSEC trust anchors (RFC 5011)', +) + +option( + 'root_hints', + type: 'string', + value: 'root.hints', + description: 'built-in path to root.hints file', +) + +option( + 'install_kresd_conf', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'creates kresd.conf in config directory', +) + +option( + 'install_root_keys', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'installs DNSSEC TA to keyfile_default location', +) + +option( + 'user', + type: 'string', + value: 'knot-resolver', + description: 'user which is used for running kresd', +) + +option( + 'group', + type: 'string', + value: 'knot-resolver', + description: 'group which is used for running kresd', +) + +option( + 'sendmmsg', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'use sendmmsg syscall towards clients', +) + +option( + 'capng', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'use libcapng to drop capabilities for non-root users', +) + +## Systemd +option( + 'systemd_files', + type: 'combo', + choices: [ + 'disabled', + 'enabled', + ], + value: 'disabled', + description: 'installs systemd-related files', +) + + +# Component options +option( + 'bench', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'disabled', + description: 'build benchmarks', +) + +option( + 'client', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'build kresc client binary', +) + +option( + 'utils', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'build kres utilities', +) + +option( + 'dnstap', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'build dnstap module', +) + +option( + 'malloc', + type: 'combo', + choices: [ + 'auto', # 'jemalloc' if available + 'disabled', # default provided by libc + 'jemalloc', + ], + value: 'auto', + description: 'memory allocator to use in kresd', +) + +option( + 'doc', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'disabled', + description: 'html documentation dependencies and installation', +) + +option( + 'kres_gen_test', + type: 'boolean', + value: true, + description: 'run kres_gen_test: a simple sanity check for our lua bindings', +) + +option( + 'config_tests', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'postinstall config tests', +) + +option( + 'extra_tests', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'disabled', + description: 'postinstall tests with extra dependencies', +) + +option( + 'unit_tests', + type: 'combo', + choices: [ + 'auto', + 'enabled', + 'disabled', + ], + value: 'auto', + description: 'cmocka unit tests', +) |