summaryrefslogtreecommitdiff
path: root/rt/config.layout
blob: 1550111d5b08fea62559c3b9ab84dd2b66845367 (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
##
##  config.layout -- Pre-defined Installation Path Layouts
##
##  Hints:
##  - layouts can be loaded with configure's --enable-layout=ID option
##  - when no --enable-layout option is given, the default layout is `RT'
##  - a trailing plus character (`+') on paths is replaced with a
##    `/<target>' suffix where <target> is currently hardcoded to 'rt3'.
##    (This may become a configurable parameter at some point.)
##
##  The following variables must _all_ be set:
##	prefix exec_prefix bindir sbindir sysconfdir mandir libdir
##	datadir htmldir localstatedir logfiledir masonstatedir
##	sessionstatedir customdir customhtmldir customlexdir
##  (This can be seen in m4/rt_layout.m4.)
##

#   Default RT3 path layout.
<Layout RT3>
  prefix:		/opt/rt3
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:		${prefix}/etc
  mandir:		${prefix}/man
  libdir:		${prefix}/lib
  datadir:		${prefix}/share
  htmldir:		${datadir}/html
  manualdir:		${datadir}/doc
  localstatedir:	${prefix}/var
  logfiledir:		${localstatedir}/log
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		${prefix}/local
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customlibdir:		${customdir}/lib
</Layout>
<Layout inplace>
  prefix:		`pwd`
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:		${prefix}/etc
  mandir:		${prefix}/man
  libdir:		${prefix}/lib
  datadir:		${prefix}/share
  htmldir:		${prefix}/html
  manualdir:		${datadir}/doc
  localstatedir:	${prefix}/var
  logfiledir:		${localstatedir}/log
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		${prefix}/local
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customlibdir:		${customdir}/lib
</Layout>

<Layout FHS>
  prefix:		/usr/local
  exec_prefix:		${prefix}
  bindir:		${prefix}/bin
  sbindir:		${prefix}/sbin
  sysconfdir:		/etc+
  datadir:		${prefix}/share
# FIXME: missing support for lib64
  libdir:		${prefix}/lib
  mandir:		${datadir}/man
# FIXME: no such directory in FHS; shouldn't go to somewhere in "${datadir}/rt/"?
  htmldir:		${datadir}/html
  manualdir:		${datadir}/doc
  localstatedir:	/var
  logfiledir:		${localstatedir}/log
# XXX: "/var/cache/mason/*"?
  masonstatedir:	${localstatedir}/cache/mason_data
  sessionstatedir:	${localstatedir}/cache/session_data
  customdir:		${prefix}/local
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customlibdir:		${customdir}/lib
</Layout>

<Layout FreeBSD>
  prefix:		/usr/local
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:		${prefix}/etc+
  mandir:		${prefix}/man
  libdir:		${prefix}/lib+
  datadir:		${prefix}/share+
  htmldir:		${datadir}/html
  manualdir:		${prefix}/share/doc+
  logfiledir:		/var/log
  localstatedir:	/var/run+
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		${prefix}/share+
  custometcdir:		${customdir}/local/etc
  customhtmldir:	${customdir}/local/html
  customlexdir:		${customdir}/local/po
  customlibdir:		${customdir}/local/lib
</Layout>

<Layout Win32>
  prefix:		C:/Program Files/Request Tracker
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:		${prefix}/etc
  mandir:		${prefix}/man
  libdir:		${prefix}/lib
  datadir:		${prefix}
  htmldir:		${datadir}/html
  manualdir:		${datadir}/doc
  localstatedir:	${prefix}/var
  logfiledir:		${localstatedir}/log
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		${prefix}/local
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customlibdir:		${customdir}/lib
</Layout>

#   RH path layout.
<Layout RH>
  prefix:		/usr/
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:		/etc/rt
  mandir:		${prefix}/man
  libdir:		${prefix}/lib/rt
  datadir:		/var/rt
  htmldir:		${datadir}/html
  manualdir:		${datadir}/doc
  localstatedir:	/var/
  logfiledir:		${localstatedir}/log/rt
  masonstatedir:	${localstatedir}/rt/mason_data
  sessionstatedir:	${localstatedir}/rt/session_data
  customdir:		${prefix}/local/rt
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customlibdir:		${customdir}/lib
</Layout>