-
Notifications
You must be signed in to change notification settings - Fork 152
/
meson_options.txt
115 lines (88 loc) · 4.33 KB
/
meson_options.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# OpenVPN 3 Linux - Next generation OpenVPN
#
# SPDX-License-Identifier: AGPL-3.0-only
#
# Copyright (C) OpenVPN Inc <[email protected]>
# Copyright (C) David Sommerseth <[email protected]>
#
# Various debugging features
#
option('debug_disable_security_checks', type: 'boolean', value: false,
description: 'Disables some security checks restricting D-Bus service access')
option('debug_exceptions', type: 'boolean', value: false,
description: 'Add additional debug information in C++ exceptions')
option('debug_core_events', type: 'boolean', value: false,
description: 'Enable logging OpenVPN 3 Core library events')
option('debug_netcfg_netlink', type: 'boolean', value: false,
description: 'Enabled logging low-level NETLINK debugging in openvpn3-service-netcfg')
option('debug_options', type: 'boolean', value: false,
description: 'Add additional command line options used for debugging')
#
# Build environment and related build time options
#
option('asio_path', type: 'string', value: './vendor/asio/asio',
description: 'Path to the ASIO header files')
option('openvpn3_core_path', type: 'string', value: './openvpn3-core',
description: 'Path to the OpenVPN 3 Core Library header files')
option('openvpn3_core_version', type: 'string', value: '',
description: 'Override OpenVPN 3 Core Library version string (for packaging)')
option('doxygen', type: 'feature', value: 'disabled',
description: 'Build Doxygen documentation')
option('generate-man', type: 'feature', value: 'auto',
description: 'Build man pages')
option('selinux', type: 'feature', value: 'enabled',
description: 'Add SELinux support (openvpn3-admin init-config)')
option('selinux_policy', type: 'feature', value: 'auto',
description: 'Build the OpenVPN 3 Linux SELinux policies')
option('selinux_devel_path', type: 'string', value: '',
description: 'Override default SELinux path to the Makfile for policy building')
option('docdir', type: 'string', value: '',
description: 'Override install path for documentation')
#
# Various runtime defaults
#
option('openvpn_username', type: 'string', value: 'openvpn',
description: 'Default OpenVPN username owning processes and files')
option('openvpn_group', type: 'string', value: 'openvpn',
description: 'Default OpenVPN group name owning processes and files')
option('openvpn3_statedir', type: 'string', value: '',
description: 'Override OpenVPN 3 Linux state directory')
option('devposture_profiledir', type: 'string', value: '',
description: 'Override OpenVPN 3 Device Posture Protocol Profiles directory')
option('polkit_rulesdir', type: 'string', value: '',
description: 'Override polkit rules directory')
#
# OpenVPN 3 Linux features
#
option('addon-aws', type: 'feature', value: 'disabled',
description: 'Enable the OpenVPN 3 AWS-VPC integration service')
option('addon-deviceposture', type: 'feature', value: 'disabled',
description: 'Enable the OpenVPN 3 Device Posture service')
option('bash-completion', type: 'feature', value: 'disabled',
description: 'Build the bash-completion helper scripts')
option('dco', type: 'feature', value: 'enabled',
description: 'Enable the Data Channel Offload support (DCO)')
# This is required on distributions using older polkit releases
# without JavaScript support
option('use-legacy-polkit-pkla', type: 'feature', value: 'disabled',
description: 'Installs the legacy PKLA based polkit policy files')
option('polkit_pkla_rulesdir', type: 'string', value: '',
description: 'Override PolicyKit PKLA rules directory')
#
# Installation
#
option('dbus_policy_dir', type: 'string',
description: 'Override D-Bus policy directory')
option('dbus_system_service_dir', type: 'string',
description: 'Override D-Bus system service directory')
option('systemd_system_unit_dir', type: 'string',
description: 'Override path to systemd system unit directory')
option('create_statedir', type: 'boolean', value: 'true',
description: 'Create directory for OpenVPN 3 state during install phase')
#
# Testing tools
#
option('unit_tests', type: 'feature', value: 'enabled',
description: 'Build the unit-test suite')
option('test_programs', type: 'feature', value: 'enabled',
description: 'Build various test programs in src/tests')