Changeset 5026
Introduction of new layouts, as taken from ticket #389. I hope they make sense, as I have no way to check.
Committed by:
coppice
Date:
Jul 03 2008 * 16:14 (about 1 month ago)
Affected files:
callweaver/trunk/layout.freebsd
callweaver/trunk/layout.freebsd-romfs
callweaver/trunk/layout.openbsd
callweaver/trunk/configure.ac (diff)
callweaver/trunk/layout.bsd (diff)
callweaver/trunk/layout.bsd-romfs (diff)
callweaver/trunk/configure.ac (unified diff)
| r5010 | r5026 | |
|---|---|---|
| 202 | 202 | # ========================================================================== |
| 203 | 203 | # Directory layouts are defined in separate layout profiles: |
| 204 | 204 | # -------------------------------------------------------------------------- |
| 205 | # profile filename description | |
| 205 | # profile filename description | |
| 206 | 206 | # -------------------------------------------------------------------------- |
| 207 | # bsd layout.bsd follow convention used by BSD ports system | |
| 208 | # bsd-romfs layout.bsd-romfs BSD embedded devices with ROM filesystems | |
| 209 | # fhs layout.fhs follow Filesystem Hierarchy Standard (FHS) | |
| 210 | # lsb layout.lsb follow Linux Standards Base (LSB) standard | |
| 211 | # lsb-romfs layout.lsb-romfs Linux embedded devices with ROM filesystems | |
| 212 | # singledir built-in install everything under a single directory | |
| 207 | # freebsd layout.freebsd follow convention used by FreeBSD ports system | |
| 208 | # freebsd-romfs layout.freebsd-romfs FreeBSD embedded devices with ROM filesystems | |
| 209 | # openbsd layout.openbsd follow convention used by OpenBSD ports system | |
| 210 | # fhs layout.fhs follow Filesystem Hierarchy Standard (FHS) | |
| 211 | # lsb layout.lsb follow Linux Standards Base (LSB) standard | |
| 212 | # lsb-romfs layout.lsb-romfs Linux embedded devices with ROM filesystems | |
| 213 | # singledir built-in install everything under a single directory | |
| 213 | 214 | # -------------------------------------------------------------------------- |
| 214 | 215 | # |
| 215 | 216 | # The default directory layout is OS dependent: |
| 216 | 217 | # -------------------------------------------------------------------------- |
| 217 | # OS type default profile | |
| 218 | # host OS default profile | |
| 218 | 219 | # -------------------------------------------------------------------------- |
| 219 | # BSD bsd | |
| 220 | # FreeBSD freebsd | |
| 221 | # OpenBSD openbsd | |
| 220 | 222 | # Linux lsb |
| 221 | 223 | # Solaris singledir, using prefix /opt/csw/callweaver |
| 222 | 224 | # -------------------------------------------------------------------------- |
| --- | --- | |
| 358 | 360 | |
| 359 | 361 | # define commandline parameter --with-directory-layout |
| 360 | 362 | AC_ARG_WITH([directory-layout], |
| 361 | [AC_HELP_STRING([--with-directory-layout],[Specify an installation directory layout, either a pre-defined or a user-defined profile. Pre-defined profiles are bsd, bsd-romfs, fhs, lsb, lsb-romfs and singledir. The default is OS dependent.])],,[with_directory_layout="automatic"]) | |
| 363 | [AC_HELP_STRING([--with-directory-layout],[Specify an installation directory layout, either a pre-defined or a user-defined profile. Pre-defined profiles are fhs, freebsd, freebsd-romfs, lsb, lsb-romfs, openbsd and singledir. The default is OS dependent.])],,[with_directory_layout="automatic"]) | |
| 362 | 364 | |
| 363 | 365 | # use OS specific default if no layout was specified |
| 364 | 366 | if test "${with_directory_layout}" = "automatic"; then |
| 365 | 367 | AC_MSG_NOTICE([Directory layout will be set automatically...]) |
| 366 | case "${ostype}" in | |
| 367 | bsd) | |
| 368 | # use BSD profile in file layout.bsd | |
| 369 | with_directory_layout="bsd" | |
| 368 | case "${host_os}" in | |
| 369 | freebsd*) | |
| 370 | # use FreeBSD profile in file layout.freebsd | |
| 371 | with_directory_layout="freebsd" | |
| 370 | 372 | ;; |
| 371 | linux) | |
| 373 | openbsd*) | |
| 374 | # use OpenBSD profile in file layout.openbsd | |
| 375 | with_directory_layout="openbsd" | |
| 376 | ;; | |
| 377 | linux*) | |
| 372 | 378 | # use LSB profile in file layout.lsb |
| 373 | 379 | with_directory_layout="lsb" |
| 374 | 380 | ;; |
| 375 | solaris) | |
| 381 | solaris*) | |
| 376 | 382 | # use built-in SINGLEDIR profile |
| 377 | 383 | with_directory_layout="singledir" |
| 378 | 384 | ;; |
callweaver/trunk/layout.bsd (unified diff)
| r4512 | r5026 | |
|---|---|---|
| 1 | # BSD directory layout | |
| 2 | helpstring="follow the BSD ports system convention" | |
| 3 | cwprefix=/usr/local | |
| 4 | cwexecdir=${prefix}/libexec | |
| 5 | cwutilsdir=${prefix}/sbin | |
| 6 | cwconfdir=${prefix}/etc/callweaver | |
| 7 | cwlibdir=${prefix}/lib/callweaver | |
| 8 | cwvardir=${prefix}/var/lib/callweaver | |
| 9 | cwdatadir=${prefix}/share/callweaver | |
| 10 | cwlogdir=${prefix}/var/log | |
| 11 | cwrundir=${prefix}/var/run | |
| 12 | cwspooldir=${prefix}/var/spool/callweaver | |
| 13 | cwmandir=${prefix}/man | |
| 14 | cwdocdir=${prefix}/share/doc/callweaver |
callweaver/trunk/layout.bsd-romfs (unified diff)
| r4512 | r5026 | |
|---|---|---|
| 1 | # BSD-ROMFS directory layout | |
| 2 | helpstring="for BSD embedded devices with ROM filesystems" | |
| 3 | cwprefix= | |
| 4 | cwexecdir=/usr/libexec | |
| 5 | cwutilsdir=/usr/sbin | |
| 6 | cwconfdir=/etc/callweaver | |
| 7 | cwlibdir=/usr/lib/callweaver | |
| 8 | cwvardir=/var/lib/callweaver | |
| 9 | cwdatadir=/usr/share/callweaver | |
| 10 | cwlogdir=/var/log/callweaver | |
| 11 | cwrundir=/var/run | |
| 12 | cwspooldir=/var/spool/callweaver | |
| 13 | cwmandir=/usr/share/man | |
| 14 | cwdocdir=/usr/share/doc |
![Home changeset 5026 [home]](/images/logo.png?1180520111)
RSS Feeds