[Dbconfig-common-devel] Using Database Information In Config Files
Daniel Watkins
daniel.watkins at credativ.co.uk
Fri Oct 31 16:49:11 UTC 2008
Hello all,
I'm currently packaging FreePBX, a web frontend to the Asterisk VoiP
server. It use PHP's PEAR database abstraction, and there are currently
a lot of hacky script in pkg-voip's repository to, essentially, do the
job that dbconfig-common does. As such, I'm looking to migrate the
packaging.
However, I'm struggling to get my head around dbconfig-common. In
particular, FreePBX requires that various database settings are included
in `/etc/amportal.conf'. The documentation hints at this being
possible[0], but I can't quite work out how to do it. Could someone
guide me through the steps to do this (assuming, of course, that it is
possible)?
Thanks,
Dan
[Footnote 0:
http://people.debian.org/~seanius/policy/dbconfig-common-using.html/ch-develguide.html#s-genconfig]
--
credativ ltd UK office: +44 1788 298150
PO Box 3868 Direct ext: +44 1788 298152
Rugby Email: daniel.watkins at credativ.co.uk
CV21 3WW Web: http://www.credativ.co.uk/
credativ limited is registered in England & Wales, company no. 5261743
registered office: Suite 2 Bloxam Court, Corporation Street, Rugby CV21
2DU
More information about the Dbconfig-common-devel
mailing list