forked from alibaba-archive/TrafficServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.layout
279 lines (265 loc) · 9.13 KB
/
config.layout
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
##
## config.layout -- Pre-defined Installation Path Layouts
##
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
## Hints:
## - layouts can be loaded with configure's --enable-layout=ID option
## - when no --enable-layout option is given, the default layout is
## `Trafficserver'
## - a trailing plus character (`+') on paths is replaced with a
## `/<target>' suffix where <target> is currently hardcoded to
## 'trafficserver'.
## (This may become a configurable parameter at some point.)
##
# Classical TrafficServer path layout.
<Layout TrafficServer>
prefix: /usr/local
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/bin
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/libexec+
infodir: ${prefix}/info
mandir: ${prefix}/man
sysconfdir: ${prefix}/etc+
datadir: ${prefix}/share+
docdir: ${prefix}/share/doc+
installbuilddir: ${datadir}/build
includedir: ${prefix}/include
localstatedir: ${prefix}/var
runtimedir: ${localstatedir}+
logdir: ${localstatedir}/log+
cachedir: ${localstatedir}+
</Layout>
# Classical Apache path layout.
<Layout Apache>
prefix: /usr/local/trafficserver
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/bin
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/modules
infodir: ${prefix}/info
mandir: ${prefix}/man
sysconfdir: ${prefix}/conf
datadir: ${prefix}/share
docdir: ${prefix}/share/doc+
installbuilddir: ${datadir}/build
includedir: ${prefix}/include
localstatedir: ${prefix}
runtimedir: ${localstatedir}/logs
logdir: ${localstatedir}/logs
cachedir: ${localstatedir}/cache
</Layout>
# GNU standards conforming path layout.
# See FSF's GNU project `make-stds' document for details.
<Layout GNU>
prefix: /usr/local
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/libexec
infodir: ${prefix}/info
mandir: ${prefix}/man
sysconfdir: ${prefix}/etc+
datadir: ${prefix}/share+
docdir: ${prefix}/share/doc+
installbuilddir: ${datadir}/build
includedir: ${prefix}/include+
localstatedir: ${prefix}/var+
runtimedir: ${localstatedir}/run
logdir: ${localstatedir}/log
cachedir: ${localstatedir}/cache
</Layout>
# Mac OS X Server (Rhapsody)
<Layout Mac OS X Server>
prefix: /Local/Library/TrafficServer
exec_prefix: /usr
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
libdir: ${exec_prefix}/lib
libexecdir: /System/Library/TrafficServer/Modules
infodir: ${exec_prefix}/share/info
mandir: ${exec_prefix}/share/man
sysconfdir: ${prefix}/Configuration
datadir: ${prefix}/Share
docdir: ${prefix}/Share/doc+
installbuilddir: /System/Library/TrafficServer/Build
includedir: /System/Library/Frameworks/TrafficServer.framework/Versions/2.0/Headers
localstatedir: /var
runtimedir: ${prefix}/Logs
logdir: ${prefix}/Logs
cachedir: ${prefix}/TrafficServerCache
</Layout>
# Darwin/Mac OS Layout
<Layout Darwin>
prefix: /usr
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/libexec+
infodir: ${prefix}/share/info
mandir: ${prefix}/share/man
datadir: /Library/TrafficServer
docdir: ${prefix}/share/doc+
sysconfdir: /etc+
installbuilddir: ${prefix}/share/trafficserver/build
includedir: ${prefix}/include+
localstatedir: /var+
runtimedir: ${localstatedir}/run
logdir: ${localstatedir}/log
cachedir: ${localstatedir}/cache
</Layout>
# According to the /opt filesystem conventions
<Layout opt>
prefix: /opt/trafficserver
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/libexec
infodir: ${prefix}/info
mandir: ${prefix}/man
sysconfdir: /etc${prefix}
datadir: ${prefix}/share
docdir: ${prefix}/share/doc+
installbuilddir: ${datadir}/build
includedir: ${prefix}/include
localstatedir: /var${prefix}
runtimedir: ${localstatedir}/run
logdir: ${localstatedir}/logs
cachedir: ${localstatedir}/cache
</Layout>
# Solaris 8 Layout
<Layout Solaris>
prefix: /usr/trafficserver
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/bin
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/libexec
infodir: ${prefix}/info
mandir: ${prefix}/man
sysconfdir: /etc+
datadir: /var+
docdir: ${prefix}/share/doc+
installbuilddir: ${datadir}/build
includedir: ${prefix}/include
localstatedir: ${prefix}
runtimedir: /var/run+
logdir: ${datadir}/logs
cachedir: ${datadir}/cache
</Layout>
# Debian layout
<Layout Debian>
prefix: /usr
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
libdir: ${exec_prefix}/lib+
libexecdir: ${exec_prefix}/lib/trafficserver/modules
infodir: ${prefix}/share/info
mandir: ${prefix}/share/man
sysconfdir: /etc+
datadir: /var/cache+
docdir: ${prefix}/share/doc+
installbuilddir: ${prefix}/share/trafficserver/build
includedir: ${prefix}/include
localstatedir: /var/run
runtimedir: /var/run+
logdir: /var/log+
cachedir: /var/cache+
</Layout>
# Gentoo Linux TrafficServer path layout.
<Layout Gentoo>
prefix: /usr
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
libdir: ${exec_prefix}/lib+
libexecdir: ${libdir}/plugins
infodir: ${prefix}/share/info
mandir: ${prefix}/share/man
sysconfdir: /etc+
datadir: ${prefix}/share+
docdir: ${prefix}/share/doc+
installbuilddir: ${datadir}/build
includedir: ${prefix}/include+
localstatedir: /var+
runtimedir: /var/run+
logdir: /var/log+
cachedir: /var/cache+
</Layout>
# OpenBSD path layout.
<Layout OpenBSD>
prefix: /usr/local
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/bin
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/libexec+
infodir: ${prefix}/info
mandir: ${prefix}/man
sysconfdir: /etc+
datadir: ${prefix}/share+
docdir: ${prefix}/share/doc+
installbuilddir: ${datadir}/build
includedir: ${prefix}/include
localstatedir: /var+
runtimedir: /var/run+
logdir: /var/log+
cachedir: ${localstatedir}/cache
</Layout>
<Layout Yahoo>
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin64
sbindir: ${exec_prefix}/sbin
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/libexec64+
infodir: ${prefix}/info
mandir: ${prefix}/man
sysconfdir: ${prefix}/conf+
datadir: ${prefix}/share+
installbuilddir: ${libdir}/trafficserver/build
includedir: ${prefix}/include+
localstatedir: ${prefix}/var+
runtimedir: ${prefix}/var/run+
logdir: ${prefix}/logs+
cachedir: ${datadir}
</Layout>
<Layout Arch>
prefix: /usr
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
libdir: ${exec_prefix}/lib
libexecdir: ${libdir}+
infodir: ${prefix}/share/info
mandir: ${prefix}/share/man
sysconfdir: /etc+
datadir: ${prefix}/share+
docdir: ${prefix}/share/doc+
installbuilddir: ${datadir}/build
includedir: ${prefix}/include
localstatedir: /run
runtimedir: /run+
logdir: /var/log+
cachedir: /var/lib+
</Layout>