chiark / gitweb /
Correct a number of trivial typos.
[elogind.git] / meson_options.txt
1 # -*- mode: meson -*-
2 # SPDX-License-Identifier: LGPL-2.1+
3
4 option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
5        description : '''/bin, /sbin aren't symlinks into /usr''')
6 option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
7        description : '''sbin is not a symlink to bin''')
8 option('rootlibdir', type : 'string',
9        description : '''[/usr]/lib/x86_64-linux-gnu or such''')
10 option('rootprefix', type : 'string',
11        description : '''override the root prefix''')
12 #if 0 /// UNNEEDED by elogind
13 # option('link-udev-shared', type : 'boolean',
14 #        description : 'link systemd-udev and its helpers to libsystemd-shared.so')
15 # option('link-systemctl-shared', type: 'boolean',
16 #        description : 'link systemctl against libsystemd-shared.so')
17 # option('static-libsystemd', type : 'combo',
18 #        choices : ['false', 'true', 'pic', 'no-pic'],
19 #        description : '''install a static library for libsystemd''')
20 # option('static-libudev', type : 'combo',
21 #        choices : ['false', 'true', 'pic', 'no-pic'],
22 #        description : '''install a static library for libudev''')
23
24 # option('sysvinit-path', type : 'string', value : '/etc/init.d',
25 #        description : 'the directory where the SysV init scripts are located')
26 # option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
27 #        description : 'the base directory for SysV rcN.d directories')
28 # option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit',
29 #        description : 'path to telinit')
30 # option('rc-local', type : 'string',
31 #        value : '/etc/rc.local')
32 # option('halt-local', type : 'string',
33 #        value : '/usr/sbin/halt.local')
34
35 # option('quotaon-path', type : 'string', description : 'path to quotaon')
36 # option('quotacheck-path', type : 'string', description : 'path to quotacheck')
37 # option('kill-path', type : 'string', description : 'path to kill')
38 # option('kmod-path', type : 'string', description : 'path to kmod')
39 #else
40 # elogind must have a configurable rootlibexecdir
41 option('rootlibexecdir', type : 'string',
42        description : '''override the root libexec directory path''')
43
44 # And because elogind depends on external udev, it must be
45 # configurable as well.
46 option('udevrulesdir', type : 'string',
47        description : '''directory for udev rules files''')
48
49 option('udevbindir', type : 'string',
50        description : '''directory for udev binary files''')
51
52 # We are nice and make the documentation paths configurable
53 option('docdir', type : 'string', description : 'path where to install the documentation.')
54 option('htmldir', type : 'string', description : 'path where to install the HTML documentation.')
55
56 # We have no systemd-shutdown binary, so we need 'halt', 'reboot' and 'poweroff'
57 option('halt-path', type : 'string', description : 'path to halt')
58 option('poweroff-path', type : 'string', description : 'path to poweroff')
59 option('reboot-path', type : 'string', description : 'path to reboot')
60 #endif // 0
61 option('kexec-path', type : 'string', description : 'path to kexec')
62 #if 0 /// UNNEEDED by elogind
63 # option('sulogin-path', type : 'string', description : 'path to sulogin')
64 # option('mount-path', type : 'string', description : 'path to mount')
65 # option('umount-path', type : 'string', description : 'path to umount')
66 # option('loadkeys-path', type : 'string', description : 'path to loadkeys')
67 # option('setfont-path', type : 'string', description : 'path to setfont')
68
69 # option('debug-shell', type : 'string', value : '/bin/sh',
70 #        description : 'path to debug shell binary')
71 # option('debug-tty', type : 'string', value : '/dev/tty9',
72 #        description : 'specify the tty device for debug shell')
73 # option('debug', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
74 #        description : 'enable extra debugging')
75 # option('memory-accounting-default', type : 'boolean',
76 #        description : 'enable MemoryAccounting= by default')
77 # option('valgrind', type : 'boolean', value : false,
78 #        description : 'do extra operations to avoid valgrind warnings')
79 #else
80 option('debug', type : 'string',
81        description : 'enable extra debugging (elogind,hashmap,mmap-cache)')
82 #endif // 0
83
84 option('utmp', type : 'boolean',
85        description : 'support for utmp/wtmp log handling')
86 #if 0 /// UNNEEDED by elogind
87 # option('hibernate', type : 'boolean',
88 #        description : 'support for hibernation')
89 # option('ldconfig', type : 'boolean',
90 #        description : 'support for dynamic linker cache creation')
91 # option('resolve', type : 'boolean',
92 #        description : 'systemd-resolved stack')
93 # option('efi', type : 'boolean',
94 #        description : 'enable systemd-boot and bootctl')
95 # option('tpm', type : 'boolean',
96 #        description : 'TPM should be used to log events and extend the registers')
97 # option('environment-d', type : 'boolean',
98 #        description : 'support for environment.d')
99 # option('binfmt', type : 'boolean',
100 #        description : 'support for custom binary formats')
101 # option('coredump', type : 'boolean',
102 #        description : 'install the coredump handler')
103 # option('logind', type : 'boolean',
104 #        description : 'install the systemd-logind stack')
105 # option('hostnamed', type : 'boolean',
106 #        description : 'install the systemd-hostnamed stack')
107 # option('localed', type : 'boolean',
108 #        description : 'install the systemd-localed stack')
109 # option('machined', type : 'boolean',
110 #        description : 'install the systemd-machined stack')
111 # option('portabled', type : 'boolean',
112 #        description : 'install the systemd-portabled stack')
113 # option('networkd', type : 'boolean',
114 #        description : 'install the systemd-networkd stack')
115 # option('timedated', type : 'boolean',
116 #        description : 'install the systemd-timedated daemon')
117 # option('timesyncd', type : 'boolean',
118 #        description : 'install the systemd-timesyncd daemon')
119 # option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
120 #        description : 'support for "journal over the network"')
121 # option('myhostname', type : 'boolean',
122 #        description : 'nss-myhostname support')
123 # option('firstboot', type : 'boolean',
124 #        description : 'support for firstboot mechanism')
125 # option('randomseed', type : 'boolean',
126 #        description : 'support for restoring random seed')
127 # option('backlight', type : 'boolean',
128 #        description : 'support for restoring backlight state')
129 # option('vconsole', type : 'boolean',
130 #        description : 'support for vconsole configuration')
131 # option('quotacheck', type : 'boolean',
132 #        description : 'support for the quotacheck tools')
133 # option('sysusers', type : 'boolean',
134 #        description : 'support for the sysusers configuration')
135 # option('tmpfiles', type : 'boolean',
136 #        description : 'support for tmpfiles.d')
137 # option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
138 #        description : 'install the systemd-importd daemon')
139 # option('hwdb', type : 'boolean',
140 #        description : 'support for the hardware database')
141 # option('rfkill', type : 'boolean',
142 #        description : 'support for the rfkill tools')
143 #endif // 0
144 option('man', type : 'combo', choices : ['auto', 'true', 'false'],
145        description : 'build and install man pages')
146 option('html', type : 'combo', choices : ['auto', 'true', 'false'],
147        value : 'false',
148        description : 'build and install html pages')
149
150 #if 0 /// UNNEEDED by elogind
151 # option('certificate-root', type : 'string', value : '/etc/ssl',
152 #        description : 'the prefix for TLS certificates')
153 #endif // 0
154 option('dbuspolicydir', type : 'string',
155        description : 'D-Bus policy directory')
156 option('dbussessionservicedir', type : 'string',
157        description : 'D-Bus session service directory')
158 option('dbussystemservicedir', type : 'string',
159        description : 'D-Bus system service directory')
160 option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
161        description : 'directory for ')
162 option('pkgconfiglibdir', type : 'string', value : '',
163        description : 'directory for ')
164 #if 0 /// UNNEEDED by elogind
165 # option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
166 #        description : 'directory for rpm macros ["no" disables]')
167 #endif // 0
168 option('pamlibdir', type : 'string',
169        description : 'directory for PAM modules')
170 option('pamconfdir', type : 'string',
171        description : 'directory for PAM configuration ["no" disables]')
172 option('docdir', type : 'string',
173        description : 'documentation directory')
174
175 option('fallback-hostname', type : 'string', value : 'localhost',
176        description : 'the hostname used if none configured')
177 #if 0 /// UNNEEDED by elogind
178 # option('compat-gateway-hostname', type : 'boolean', value : 'false',
179 #        description : 'allow "gateway" as the symbolic name for default gateway')
180 #endif // 0
181 option('default-hierarchy', type : 'combo',
182        choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
183 #if 0 /// elogind interprets this a bit different
184 #        description : 'default cgroup hierarchy')
185 # option('time-epoch', type : 'string',
186 #        description : 'time epoch for time clients')
187 #else
188        description : '''Wanted cgroup hierarchy if elogind has to be a cgroup controller:
189                 "legacy"  assumes tmpfs mounted on /sys/fs/cgroup and cgroup on its
190                                   subfolders.
191                 "hybrid"  assumes cgroups version 2 mounted on /sys/fs/cgroup/unified.
192                                   /sys/fs/cgroup is legacy, then.
193                 "unified" assumes cgroups version 2 on /sys/fs/cgroup''')
194 option('cgroup-controller', type : 'string',
195        description : 'Name of the cgroup controller to use')
196 #endif // 0
197 option('system-uid-max', type : 'string',
198        description : 'maximum system UID')
199 option('system-gid-max', type : 'string',
200        description : 'maximum system GID')
201 #if 0 /// UNNEEDED by elogind
202 # option('dynamic-uid-min', type : 'string',
203 #        description : 'minimum dynamic UID',
204 #        value : '61184') # That's → 0x0000EF00 in hex
205 # option('dynamic-uid-max', type : 'string',
206 #        description : 'maximum dynamic UID',
207 #        value : '65519') # That's → 0x0000FFEF in hex
208 # option('container-uid-base-min', type : 'string',
209 #        description : 'minimum container UID base',
210 #        value : '524288') # That's → 0x00080000 in hex
211 # option('container-uid-base-max', type : 'string',
212 #        description : 'maximum container UID base',
213 #        value : '1878982656') # That's → 0x6FFF0000 in hex
214 #endif // 0
215 option('tty-gid', type : 'string',
216        description : 'the numeric GID of the "tty" group',
217        value : '5')
218 #if 0 /// UNNEEDED by elogind
219 # option('users-gid', type : 'string',
220 #        description : 'the numeric GID of the "users" group')
221 # option('adm-group', type : 'boolean',
222 #        description : 'the ACL for adm group should be added')
223 # option('wheel-group', type : 'boolean',
224 #        description : 'the ACL for wheel group should be added')
225 #endif // 0
226 option('nobody-user', type : 'string',
227        description : 'The name of the nobody user (the one with UID 65534)',
228        value : 'nobody')
229 option('nobody-group', type : 'string',
230        description : 'The name of the nobody group (the one with GID 65534)',
231        value : 'nobody')
232 #if 0 /// UNNEEDED by elogind
233 # option('dev-kvm-mode', type : 'string', value : '0666',
234 #        description : '/dev/kvm access mode')
235 # option('group-render-mode', type : 'string', value : '0666',
236 #        description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
237 #endif // 0
238 option('default-kill-user-processes', type : 'boolean',
239        description : 'the default value for KillUserProcesses= setting')
240 option('gshadow', type : 'boolean',
241        description : 'support for shadow group')
242
243 #if 0 /// UNNEEDED by elogind
244 # option('default-dnssec', type : 'combo',
245 #        description : 'default DNSSEC mode',
246 #        choices : ['yes', 'allow-downgrade', 'no'],
247 #        value : 'allow-downgrade')
248 # option('default-dns-over-tls', type : 'combo',
249 #        description : 'default DNS-over-TLS mode',
250 #        choices : ['opportunistic', 'no'],
251 #        value : 'no')
252 # option('dns-servers', type : 'string',
253 #        description : 'space-separated list of default DNS servers',
254 #        value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
255 # option('ntp-servers', type : 'string',
256 #        description : 'space-separated list of default NTP servers',
257 #        value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
258 # option('support-url', type : 'string',
259 #        description : 'the support URL to show in catalog entries included in systemd',
260 #        value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
261 # option('www-target', type : 'string',
262 #        description : 'the address and dir to upload docs too',
263 #        value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
264
265 # option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
266 #        description : 'SECCOMP support')
267 #endif // 0
268 option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
269        description : 'SELinux support')
270 #if 0 /// UNNEEDED by elogind
271 # option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
272 #        description : 'AppArmor support')
273 #endif // 0
274 option('smack', type : 'boolean',
275        description : 'SMACK support')
276 option('smack-run-label', type : 'string',
277        description : 'run systemd --system itself with a specific SMACK label')
278 option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
279        description : 'PolicyKit support')
280 option('ima', type : 'boolean',
281        description : 'IMA support')
282
283 option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
284        description : 'libacl support')
285 option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
286        description : 'libaudit support')
287 #if 0 /// UNNEEDED by elogind
288 # option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
289 #        description : 'libblkid support')
290 # option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
291 #        description : 'support for loadable modules')
292 #endif // 0
293 option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
294        description : 'PAM support')
295 #if 0 /// UNNEEDED by elogind
296 # option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
297 #        description : 'libµhttpd support')
298 # option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
299 #        description : 'libcryptsetup support')
300 # option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
301 #        description : 'libcurl support')
302 # option('idn', type : 'boolean',
303 #        description : 'use IDN when printing host names')
304 # option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
305 #        description : 'libidn2 support')
306 # option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
307 #        description : 'libidn support')
308 # option('nss-systemd', type : 'boolean',
309 #        description : 'enable nss-systemd')
310 # option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
311 #        description : 'libiptc support')
312 # option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
313 #        description : 'libqrencode support')
314 # option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
315 #        description : 'gcrypt support')
316 # option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
317 #        description : 'gnutls support')
318 # option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
319 #        description : 'elfutils support')
320 # option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
321 #        description : 'zlib compression support')
322 # option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
323 #        description : 'bzip2 compression support')
324 # option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
325 #        description : 'xz compression support')
326 # option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
327 #        description : 'lz4 compression support')
328 # option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
329 #        description : 'xkbcommon keymap support')
330 #endif // 0
331 option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'],
332        description : 'regexp matching support using pcre2')
333 option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
334        description : 'libglib support (for tests only)')
335 option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
336        description : 'libdbus support (for tests only)')
337
338 #if 0 /// UNNEEDED BY elogind
339 # option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
340 #        description : 'gnu-efi support for sd-boot')
341 # option('efi-cc', type : 'string', value : 'gcc',
342 #        description : 'the compiler to use for EFI modules')
343 # option('efi-ld', type : 'string', value : 'ld',
344 #        description : 'the linker to use for EFI modules')
345 # option('efi-libdir', type : 'string',
346 #        description : 'path to the EFI lib directory')
347 # option('efi-ldsdir', type : 'string',
348 #        description : 'path to the EFI lds directory')
349 # option('efi-includedir', type : 'string', value : '/usr/include/efi',
350 #        description : 'path to the EFI header directory')
351 # option('tpm-pcrindex', type : 'string', value : '8',
352 #        description : 'TPM PCR register number to use')
353 #endif // 0
354
355 option('bashcompletiondir', type : 'string',
356        description : 'directory for bash completion scripts ["no" disables]')
357 option('zshcompletiondir', type : 'string',
358        description : 'directory for zsh completion scripts ["no" disables]')
359
360 option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
361        description : 'enable extra tests with =unsafe')
362 option('slow-tests', type : 'boolean', value : 'false',
363        description : 'run the slow tests by default')
364 option('install-tests', type : 'boolean', value : 'false',
365        description : 'install test executables')
366
367 option('ok-color', type: 'combo',
368        choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
369                   'white', 'highlight-black', 'highlight-red', 'highlight-green',
370                   'highlight-yellow', 'highlight-blue', 'highlight-magenta',
371                   'highlight-cyan', 'highlight-white'],
372        value : 'green',
373        description: 'color of the "OK" status message')
374
375 #if 0 /// fuzz regression tests are not supported by elogind
376 # option('oss-fuzz', type : 'boolean', value : 'false',
377 #        description : 'build against oss-fuzz')
378 # option('llvm-fuzz', type : 'boolean', value : 'false',
379 #        description : 'build against LLVM libFuzzer')
380 #endif // 0