blob: dfbcad372a45905495a7acd6232fc3cdd1c5dbbf (
plain)
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
project(server)
set(PKI_SUBSYSTEMS
ca
kra
ocsp
ra
tks
tps
)
set(TOMCAT_SUBSYSTEMS
ca
kra
ocsp
tks
)
set(APACHE_SUBSYSTEMS
ra
tps
)
install(
FILES
man/man5/pki_default.cfg.5
DESTINATION
${MAN_INSTALL_DIR}/man5
PERMISSIONS
OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
WORLD_EXECUTE WORLD_READ
)
install(
FILES
man/man8/pkispawn.8
man/man8/pkidestroy.8
DESTINATION
${MAN_INSTALL_DIR}/man8
PERMISSIONS
OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
WORLD_EXECUTE WORLD_READ
)
install(
FILES
src/pki-upgrade
src/pkispawn
src/pkidestroy
DESTINATION
${SBIN_INSTALL_DIR}
PERMISSIONS
OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
WORLD_EXECUTE WORLD_READ
)
install(
DIRECTORY
upgrade
DESTINATION
${DATA_INSTALL_DIR}/server/
FILE_PERMISSIONS
OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
WORLD_EXECUTE WORLD_READ
PATTERN ".gitignore" EXCLUDE
)
install(
FILES
scripts/pkidaemon
DESTINATION
${BIN_INSTALL_DIR}
PERMISSIONS
OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
WORLD_EXECUTE WORLD_READ
)
install(
FILES
scripts/operations
DESTINATION
${DATA_INSTALL_DIR}/scripts/
PERMISSIONS
OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
WORLD_EXECUTE WORLD_READ
)
install(
DIRECTORY
config
DESTINATION
${DATA_INSTALL_DIR}/deployment
)
install(
DIRECTORY
etc/
DESTINATION
${SYSCONF_INSTALL_DIR}/pki
PATTERN "pki.conf" EXCLUDE
)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/etc/pki.conf
${CMAKE_CURRENT_BINARY_DIR}/etc/pki.conf
)
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/etc/pki.conf
DESTINATION
${SYSCONF_INSTALL_DIR}/pki/
)
install(
FILES
src/engine/pkiconfig.py
src/engine/pkihelper.py
src/engine/pkilogging.py
src/engine/pkimanifest.py
src/engine/pkimessages.py
src/engine/pkiparser.py
src/engine/pkiscriptlet.py
src/scriptlets/configuration.py
src/scriptlets/finalization.py
src/scriptlets/infrastructure_layout.py
src/scriptlets/initialization.py
src/scriptlets/instance_layout.py
src/scriptlets/security_databases.py
src/scriptlets/selinux_setup.py
src/scriptlets/slot_substitution.py
src/scriptlets/subsystem_layout.py
src/scriptlets/webapp_deployment.py
DESTINATION
${PYTHON_SITE_PACKAGES}/pki/deployment
PERMISSIONS
OWNER_WRITE OWNER_READ
GROUP_READ
WORLD_READ
)
install(
CODE
"execute_process(
COMMAND
${CMAKE_COMMAND} -E touch
\"\$ENV{DESTDIR}${PYTHON_SITE_PACKAGES}/pki/deployment/__init__.py\")"
)
# install empty directories
install(CODE "file(MAKE_DIRECTORY \$ENV{DESTDIR}${VAR_INSTALL_DIR}/lock/pki)")
install(CODE "file(MAKE_DIRECTORY \$ENV{DESTDIR}${VAR_INSTALL_DIR}/run/pki)")
|