]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/creds/meson.build
Merge pull request #30739 from poettering/pam-util-many
[thirdparty/systemd.git] / src / creds / meson.build
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 executables += [
4 executable_template + {
5 'name' : 'systemd-creds',
6 'public' : true,
7 'sources' : files('creds.c'),
8 'dependencies' : [
9 libopenssl,
10 threads,
11 ],
12 },
13 ]
14
15 # Protecting files from the distro in /usr doesn't make sense since they can be trivially accessed otherwise,
16 # so don't restrict the access mode in /usr. That doesn't apply to /etc, so we do restrict the access mode
17 # there.
18 install_emptydir(credstoredir)
19 if install_sysconfdir
20 # Keep in sync with tmpfiles.d/credstore.conf
21 install_emptydir(sysconfdir / 'credstore',
22 install_mode : 'rwx------')
23 install_emptydir(sysconfdir / 'credstore.encrypted',
24 install_mode : 'rwx------')
25 endif
26
27 install_data('io.systemd.credentials.policy',
28 install_dir : polkitpolicydir)