Hi,
I made myself a simpler layout file that i like (we all have our
ways) and want to share it in case others think it makes sense. It
also takes care of one small issue with the layout.bsd config is that
the callweaver man pages get put into just 'man' and not 'man/man8'
-- perhaps it should be dealt with differently. But before i join the
developer team and upload this layout (if that is even desired or
allowed), there is an issue with it. Perhaps someone has come across
this already.
1. Here is the contents of the layout.darwin file that i tell
configure to use with '--with-directory-layout=darwin':
# Simpler Mac OS X/Darwin directory layout
helpstring="simpler layout to facilitate updating to new versions:
only var and etc have
live data pertaining to the active state (conf files in etc and
spool,log,run,db in var)"
opbxprefix=/usr/local
opbxexecdir=${prefix}/libexec
opbxutilsdir=${prefix}/sbin
opbxconfdir=${prefix}/etc/callweaver
opbxlibdir=${prefix}/lib/callweaver
opbxvardir=${prefix}/var
opbxdatadir=${prefix}/data
opbxlogdir=${prefix}/var/log
opbxrundir=${prefix}/var/run
opbxspooldir=${prefix}/var/spool
opbxmandir=${prefix}/share/man/man8
opbxdocdir=${prefix}/share/doc/callweaver
opbxdbdir=${prefix}/var/db
# END
2. All seems to go well as all directories are set to what i specify
except for the specification of 'opbxdbdir'. I set it to '${prefix}/
var/db' in the layout.darwin file (as shown above), but configure
generates this:
opbxdbdir='${opbxvardir}'
where 'opbxvardir' is set to:
opbxvardir='${prefix}/var'
Most likely the build is not setup for a layout file to have
opbxdbdir specified? There wasn't one in there before, but i thought
i would try it. Any clues?
In case this is helpful, here are all the directory settings from the
config.status output file reordered for readability to dependency.
prefix='/usr/local/callweaver'
exec_prefix='${prefix}'
datarootdir='${prefix}/share'
localstatedir='${prefix}/var'
sharedstatedir='${prefix}/com'
includedir='${prefix}/include'
sysconfdir='${prefix}/etc'
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
datadir='${datarootdir}'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
dvidir='${docdir}'
htmldir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
opbxconfdir='${prefix}/etc/callweaver'
opbxlibdir='${prefix}/lib/callweaver'
opbxlogdir='${prefix}/var/log'
opbxmandir='${prefix}/share/man/man8'
opbxdatadir='${prefix}/data'
opbxdocdir='${prefix}/share/doc/callweaver'
opbxexecdir='${prefix}/libexec'
opbxrundir='${prefix}/var/run'
opbxspooldir='${prefix}/var/spool'
opbxutilsdir='${prefix}/sbin'
opbxvardir='${prefix}/var'
opbxdbdir='${opbxvardir}' <---- Not what i specified in the
layout.darwin file
opbxtmpdir='${opbxvardir}/tmp'
opbxconffile='${opbxconfdir}/callweaver.conf'
opbxicdmoddir='${opbxmoddir}/icd'
opbximagesdir='${opbxdatadir}/images'
opbxsoundsdir='${opbxdatadir}/sounds'
opbxkeydir='${opbxdatadir}/keys'
opbxmohdir='${opbxdatadir}/moh'
opbxogidir='${opbxdatadir}/ogi'
opbxincludedir='${includedir}/callweaver'
opbxmoddir='${opbxlibdir}/modules'
opbxpidfile='${opbxrundir}/callweaver.pid'
opbxsocketfile='${opbxrundir}/callweaver.ctl'
opbxsqlitedir='${opbxdbdir}'
opbxdbfile='callweaverdb'
Peace,
Dan
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users