summaryrefslogtreecommitdiff
path: root/meson_options.txt
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* Merge pull request #8323 from xyproto/ok_colorZbigniew Jędrzejewski-Szmek2018-03-021-0/+8
|\ | | | | Make the color of the status OK configurable at build-time
| * meson: use dashes in colour namesZbigniew Jędrzejewski-Szmek2018-03-021-3/+3
| |
| * Add build-time option to change the color of the "OK" status textAlexander F Rødseth2018-03-021-0/+8
| |
* | meson: support both separate and merged sbin-bin directoriesZbigniew Jędrzejewski-Szmek2018-03-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up for ba7f4ae6178309dc937e10cf7dce0eca9dafb8de. By default, we detect if the real root has a separate /usr/sbin directory, but this can be overrides with -Dsplit-bin=true|false. The check assumes that /usr/sbin is split if it is not a symlink, so it'll return a false negative with some more complicated setups. But that's OK, in those cases this should be configured explicitly. This will copy the structure of the directories in the root file system to $DESTDIR. If a directory is a directory in $DESTDIR but a symlink in the root file system, this script will fail. This means that it's not possible to reuse a $DESTDIR from between ba7f4ae61 and this patch.
* | meson: autodetect split-usrZbigniew Jędrzejewski-Szmek2018-03-011-2/+2
|/ | | | | Also move the status from "features" to the paths section. This is more of an anti-feature.
* meson: add -Dmemory-accounting-default=true|falseZbigniew Jędrzejewski-Szmek2018-02-151-0/+2
| | | | | This makes it easy to set the default for distributions and users which want to default to off because they primarily use older kernels.
* meson.build: make docdir configurable (#8068)tblume2018-02-021-0/+2
| | | SUSE is using a different docdir, so the path should be configurable
* Merge pull request #7881 from keszybz/pcreLennart Poettering2018-01-281-0/+2
|\ | | | | Add new --grep option to journalctl
| * meson: detect pcre2 depZbigniew Jędrzejewski-Szmek2018-01-121-0/+2
| |
* | fuzz: allow building fuzzers outside of oss-fuzzJonathan Rudenberg2018-01-171-0/+2
| | | | | | | | | | | | Add a new -Dllvm-fuzz=true option that can be used to build against libFuzzer and update the oss-fuzz script to work outside of the oss-fuzz build environment.
* | fuzz: add initial fuzzing infrastructureJonathan Rudenberg2018-01-171-0/+3
| | | | | | | | | | | | | | | | The fuzzers will be used by oss-fuzz to automatically and continuously fuzz systemd. This commit includes the build tooling necessary to build fuzz targets, and a fuzzer for the DNS packet parser.
* | add false option for tests (#7778)Adam Duskett2018-01-151-1/+1
|/ | | | | | | | | | | | Currently there is no way to prevent tests from building using meson. This introduces two problems: 1) It adds a extra 381 files to compile. 2) One of these tests explicitly requires libgcrypt to be built even if systemd is not using it. 3) It adds C++ to the requirements to build systemd. When cross-compiling, this is uneccessary.
* meson: don't search PATH for telinit (#7770)Mike Gilbert2018-01-041-1/+2
| | | | | | | | | | | | | | | | On a typical system running systemd, the telinit in PATH is very likely to be a symlink to systemctl. Setting TELINIT to this may result in an infinite recursion if telinit is called and sd_booted() == 0. This may commonly occur in a chroot environment. Bug: https://bugs.gentoo.org/642724 [zj: The path was originally hardcoded as "/lib/upstart/telinit", but was made configurable without changing the default in 4ad61fd1806dde23d2c99043b4bed91a196d2c82. Then the default was changed to `/lib/sysvinit/telinit` in abaaabf40a9891014ed4c402d7beb5a67ac256b1. Then it started being autodetected when meson support was added in 5c23128daba7236a6080383b2a5649033cfef85c. This patch restores the behaviour that was implemented in configure.ac at the time of its removal.]
* build-sys: make the dynamic UID range, and the container UID range configurableLennart Poettering2017-12-061-0/+12
| | | | Also, export these ranges in our pkg-config files.
* sysusers: Provide meson argument to set gid for 'users' group (#7533)Ikey Doherty2017-12-031-0/+2
| | | | | | | | | | To allow better integration with distributions requiring an explicitly set gid for the `users` group, provide the new `-Dusers-gid` option to set to a new numeric value. In the absence of a specified gid, we'll fallback to the default existing behaviour of `-` as the gid value, to automatically assign the next available gid on the system.
* Revert "meson: drop rootprefix option"Zbigniew Jędrzejewski-Szmek2017-11-281-0/+2
| | | | | | | | This reverts commit ee4bfa21f62dbf4d8f2be27d3c763c3c16743bfd. Also add comment so that this doesn't get deleted again by mistake. Replaces #7461.
* Merge pull request #7376 from keszybz/simplify-root-optionsLennart Poettering2017-11-191-2/+0
|\ | | | | Simplify root configuration options
| * meson: drop rootprefix optionZbigniew Jędrzejewski-Szmek2017-11-171-2/+0
| | | | | | | | | | | | | | rootprefixdir is now always set to /usr or /, based on the split-usr setting. Anything else does not work anyway. C.f. #7375.
* | Add license headers and SPDX identifiers to meson.build filesZbigniew Jędrzejewski-Szmek2017-11-191-0/+16
|/ | | | | | | So far I avoided adding license headers to meson files, but they are pretty big and important and should carry license headers like everything else. I added my own copyright, even though other people modified those files too. But this is mostly symbolic, so I hope that's OK.
* udev-rules: Permission changes for /dev/dri/renderD*Tom Stellard2017-11-081-0/+2
| | | | | | | | - Remove the uaccess tag from /dev/dri/renderD*. - Change the owning group from video to render. - Change default mode to 0666. - Add an option to allow users to set the access mode for these devices at compile time.
* udev-rules: Permission changes for /dev/kvmTom Stellard2017-11-081-1/+1
| | | | | - Remove uaccess tag from /dev/kvm. - Change the default mode for /dev/kvm to 0666.
* Merge pull request #6420 from keszybz/gateway-nameLennart Poettering2017-08-011-0/+2
|\ | | | | Rename "gateway" to "_gateway" and other resolved changes
| * resolved,nss-myhostname: use _gateway for the gatewayZbigniew Jędrzejewski-Szmek2017-07-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the symbolic name for the default gateway from "gateway" to "_gateway". A new configuration option -Dcompat-gateway-hostname=true|false is added. If it is set, the old name is also supported, but the new name is used as the canonical name in either case. This is intended as a temporary measure to make the transition easier, and the option should be removed after a few releases, at which point only the new name will be used. The old "gateway" name mostly works OK, but hasn't gained widespread acceptance because of the following (potential) conflicts: - it is completely legal to have a host called "gateway" - there is no guarantee that "gateway" will not be registered as a TLD, even though this currently seems unlikely. (Even then, there would be no conflict except for the case when the top-level domain itself was being resolved. The "gateway" or "_gateway" labels have only special meaning when the whole name consists of a single label, so resolution of any subdomain of the hypothetical gateway. TLD would still work OK. ) Moving to "_gateway" avoids those issues because underscores are not allowed in host names (RFC 1123, §2.1) and avoids potential conflicts with local or global names. v2: - simplify the logic to hardcode "_gateway" and allow -Dcompat-gateway-hostname=true as a temporary measure.
* | Merge pull request #6365 from keszybz/fast-testsMartin Pitt2017-07-281-0/+2
|\ \ | | | | | | Make tests faster by default
| * | meson: add option to configure "slow" tests on/offZbigniew Jędrzejewski-Szmek2017-07-131-0/+2
| | | | | | | | | | | | | | | | | | | | | This is just the meson part, no functional change. Use meson -D slow-tests=yes to set the default, or SYSTEMD_SLOW_TESTS=yes build/test-foobar for just one test. Setting the default is more useful for installed tests.
* | | meson: -D remote and -D importd should be "combo" optionsZbigniew Jędrzejewski-Szmek2017-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | The default should be 'auto', and we allow 'true' and 'false' too. Fixes #6445.
* | | meson: drop unnecesary default value settingZbigniew Jędrzejewski-Szmek2017-07-261-1/+1
| |/ |/| | | | | | | 'true' is the default. Follow-up for 7d77b8880d571447825bb6b0d61683d2e9d58895.
* | build-sys: enable tpm by defaultZbigniew Jędrzejewski-Szmek2017-07-131-1/+1
|/ | | | | It's been on in Fedora for ages, and it seems strange to have a feature that's off by default.
* make nss-systemd support conditional (#6155)Waldemar Brodkorb2017-06-241-0/+2
| | | This allows the nss-systemd module to be disabled on minimal installations.
* meson: add -Didn=yes|no optionZbigniew Jędrzejewski-Szmek2017-06-161-0/+2
|
* Merge pull request #5928 from keszybz/libidn2Lennart Poettering2017-05-121-0/+2
|\ | | | | Use idn2 instead of idn
| * resolved: support libidn2 in addition to libidnZbigniew Jędrzejewski-Szmek2017-05-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libidn2 2.0.0 supports IDNA2008, in contrast to libidn which supports IDNA2003. https://bugzilla.redhat.com/show_bug.cgi?id=1449145 From that bug report: Internationalized domain names exist for quite some time (IDNA2003), although the protocols describing them have evolved in an incompatible way (IDNA2008). These incompatibilities will prevent applications written for IDNA2003 to access certain problematic domain names defined with IDNA2008, e.g., faß.de is translated to domain xn--fa-hia.de with IDNA2008, while in IDNA2003 it is translated to fass.de domain. That not only causes incompatibility problems, but may be used as an attack vector to redirect users to different web sites. v2: - keep libidn support - require libidn2 >= 2.0.0 v3: - keep dns_name_apply_idna caller dumb, and keep the #ifdefs inside of the function. - use both ±IDN and ±IDN2 in the version string
* | sysusers: make group shadow support configurableFranck Bui2017-05-101-0/+2
|/ | | | | | | | | | | | | | | | Some distros (openSUSE) don't have group shadow support enabled. This can lead to the following error: # systemd-sysusers Creating group foofoo with gid 478. # systemd-sysusers # groupdel foofoo # systemd-sysusers Creating group foofoo with gid 478. Failed to write files: File exists This patch adds --disable-gshadow option to configure. If used, systemd-sysvusers won't consider /etc/gshadow.
* meson: add forgotten debug optionsZbigniew Jędrzejewski-Szmek2017-05-021-0/+2
| | | | | v2: -rename -Dextra-debug to -Ddebug to match ./configure --debug
* meson: there is no smack libraryZbigniew Jędrzejewski-Szmek2017-04-241-1/+1
| | | | | Detection would always fail, so this was broken. Treat this as a binary enable/disable option.
* meson: add forgotten tpm supportZbigniew Jędrzejewski-Szmek2017-04-241-0/+4
|
* meson: fix gcrypt config optionMichael Biebl2017-04-241-2/+2
| | | | | | | Also detect libgpg-error. Require both to be present for HAVE_CRYPT, even though libgpg-error is only used in src/resolve. If one is available, the other should be too, so it doesn't seem worth the trouble to make two separate conditions.
* meson: add option to disable libacl supportZbigniew Jędrzejewski-Szmek2017-04-241-0/+2
|
* meson: allow optional static linking of shared code in udev helpersZbigniew Jędrzejewski-Szmek2017-04-231-0/+2
| | | | | | | | | | | | | | | | | | | This makes the helper binaries significantly bigger (in some cases, the final size depends on link options and optimization level), and is only useful for distributions which want to provide the option to install udev without systemd. As the linking is improved, the difference between the columns might shrink, but it's unlikely that linking libshared statically could ever be more efficient. E.g. with -O0, no -flto: (static) (shared) src/udev/ata_id 999176 85696 src/udev/cdrom_id 1024344 111656 src/udev/collect 990344 81280 src/udev/scsi_id 1023592 115656 src/udev/v4l_id 811736 17744 When linked dynamically, install_rpath must be specified, so add that.
* meson: add man/doc-sync targetZbigniew Jędrzejewski-Szmek2017-04-231-0/+3
| | | | | Seems to work OK. It would be nicer to call it 'doc-sync' not 'man/doc-sync', but OK.
* meson: add rootprefix option (for Gentoo)Zbigniew Jędrzejewski-Szmek2017-04-231-0/+2
|
* meson: replace yes/no/auto with true/false/autoZbigniew Jędrzejewski-Szmek2017-04-231-30/+30
| | | | | | This doesn't feel as natural, but is more consistent with the boolean options which require true/false, and allows setting of options without knowing of which type the option is.
* meson: ima supportZbigniew Jędrzejewski-Szmek2017-04-231-0/+2
|
* meson: libxkbcommon supportZbigniew Jędrzejewski-Szmek2017-04-231-0/+2
|
* meson: fix a bunch of substitutionsZbigniew Jędrzejewski-Szmek2017-04-231-0/+4
| | | | | This makes the diff -r output on autotools and meson installations empty, except for binary files and ## comments.
* meson: properly conditionalize polkit installationZbigniew Jędrzejewski-Szmek2017-04-231-0/+2
| | | | | | | ... including pkla installation on Debian. v2: - fix polkit-gobject-1 pkgconfig name
* meson: add support for building efi modulesZbigniew Jędrzejewski-Szmek2017-04-231-0/+13
| | | | | | | | | This is a very straightforward conversion of the rules in Makefile.am. Generated objects (on arm64) are identical. The only difference in executed commands is that automake uses ld -m elf_x86_64, without us specifying the -m option anywhere. I suspect that using the default for the given linker should be OK, so it's fine to just skip it.
* meson: disable bootctl without libblkidZbigniew Jędrzejewski-Szmek2017-04-231-1/+1
| | | | | bootctl uses blkid probe functions to find the ESP, hence it's useless without it. Don't even try to build it if libblkid is unavailable.
* meson: add a few forgotten substitutionsZbigniew Jędrzejewski-Szmek2017-04-231-0/+5
| | | | | v2: - a few more