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
|
service_conf = {'libprivdir': pk_prefix / pk_libprivdir}
configure_file(
input: 'org.freedesktop.PolicyKit1.service.in',
output: '@BASENAME@',
configuration: service_conf,
install: true,
install_dir: dbus_system_bus_services_dir,
)
configure_file(
input: 'org.freedesktop.PolicyKit1.conf.in',
output: '@BASENAME@',
configuration: {'polkitd_user': polkitd_user},
install: true,
install_dir: dbus_policydir,
)
if enable_pam
configure_file(
input: 'polkit-1.in',
output: '@BASENAME@',
configuration: pam_conf,
install: true,
install_dir: pk_sysconfdir / 'pam.d',
)
endif
if enable_logind
configure_file(
input: 'polkit.service.in',
output: '@BASENAME@',
configuration: service_conf,
install: true,
install_dir: systemd_systemdsystemunitdir,
)
endif
install_data(
'policyconfig-1.dtd',
install_dir: pk_datadir / 'polkit-1'
)
|