]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: additional build options
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 7 Feb 2019 11:41:07 +0000 (12:41 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:43:23 +0000 (10:43 +0100)
meson_options.txt

index 5f688c1d437f3c54929761e96e49b7423371ee56..ff19e1ef265f95a0d1a6746d4a6b8e5de182c655 100644 (file)
@@ -1,6 +1,90 @@
-option('client', type : 'boolean', value : true, description: 'kresc client binary')
-option('daemon', type: 'boolean', value: true, description: 'kresd daemon binary')
-option('doc', type: 'boolean', value: false, description: 'html documentation')
-option('extra_tests', type: 'boolean', value: false, description: 'integration tests with extra dependencies')
-option('modules_dir', type: 'string', description: 'path to kres modules directory')
-option('keyfile_default', type: 'string', description: 'path to trust anchors file')
+# Configuration options
+option(
+  'keyfile_default',
+  type: 'string',
+  description: 'built-in default path to trust anchors file',
+)
+
+option(
+  'managed_ta',
+  type: 'boolean',
+  description: 'auto manage DNSSEC trust anchors',
+)
+
+option(
+  'install_kresd_conf',
+  type: 'boolean',
+  value: false,
+  description: 'creates kresd.conf in config directory',
+)
+
+option(
+  'modules_dir',
+  type: 'string',
+  description: 'path to kres modules directory',
+)
+
+option(
+  'user',
+  type: 'string',
+  value: 'knot-resolver',
+  description: 'user which is used for kresd',
+)
+
+option(
+  'group',
+  type: 'string',
+  value: 'knot-resolver',
+  description: 'group which is used for kresd',
+)
+
+## Systemd integration
+option(
+  'systemd',
+  type: 'combo',
+  choices: [
+    'auto',
+    'enabled',
+    'nosocket',
+    'disabled',
+  ],
+  value: 'auto',
+  description: 'create systemd unit files',
+)
+
+option(
+  'systemd_user_mode',
+  type: 'boolean',
+  value: false,
+  description: 'use systemd user mode (for debug/testing)',
+)
+
+
+# Component options
+option(
+  'client',
+  type: 'boolean',
+  value: true,
+  description: 'build kresc client binary'
+)
+
+option(
+  'daemon',
+  type: 'boolean',
+  value: true,
+  description: 'build kresd daemon binary'
+)
+
+option(
+  'doc',
+  type: 'boolean',
+  value: false,
+  description: 'build html documentation'
+)
+
+option(
+  'extra_tests',
+  type: 'boolean',
+  value: false,
+  description: 'integration tests with extra dependencies'
+)