SVN directory structure

Here is description of source directory structure.

deb-src

Here are deb sources which will be compiled. There has to be directory under it for each new package.

deb-src/phonyx

Directory containing debian files and sources for phonyx packages. Packages are:

  • phonyx - Package which will install all phonyx default debs and commands to manage OpenPhonyx. This is virtual package.
  • phonyx-dev - Virtual package which will install developement libraries needed to build Phonyx. This package does not touch system, it only depends on libraries.
  • phonyx-pbx - Package which will prepare debian as PBX. It means all optimalisations, mounts and hacks needed to change standard debian into PBX. In fact, when using OpenpHonyx? from apt repository, you do not need this package. This package depends on phonyx. So when you install phonyx, this will not be installed by default. But when you install phonyx-pbx , it will install phonyx and setup your system. Be aware that this package can change any file in your system and should be used only on clean debian install!
  • phonyx-pbx-dev - Virtual package which will prepare system to be Phonyx developement platform. It means create user, prepare developer tools and optimize system for developing. Similary to phonyx-pbx, this package will modify your debian system and should be used with care only on clean debian!
  • phonyx-factory - Package containing all libraries and binaries to run phonyx. This does not mean shared libraries of software used by Phonyx. That should be in direct dependencies. API functions, asterisk binaries scripts and extensions macros belong here. This package will be divided in future to simple packages (phonyx-factory-asterisk, phonyx-factory-scripts,...). But for start, it is enaugh.

deb-src/asterisk

Asterisk source.

deb-src/kamailio

Kamailio source.

deb-src/asterisk-addons

Asterisk addons source.

deb-src/dahdi

Asterisk DAHDI source.

deb-src/libpri

Asterisk libpri source.

build

Debian package contents are here. It means their files before making real deb package. This directory is cleaned by make debclean. Compiled binaries belong here too. Under directory with package name. Even compiled software sources belongs here.

deb

Directory used to store compiled binary debs and apt index files. Will be cleaned by make debclean.

deb/pool

Directory for compiled dpkg binaries and sources

iso

Directory to store created iso files.

cd

Directory to store CD contents before making iso.

fs

Directory to store target root fs before making iso (in case of making squashfs target).

stamp

Directory to store stamp files to touch buit packages.

buildtools

Directory where various buildtools are stored.

buildtools/etc

Configuration files for build process. (eg initramfs)

src

Directory where source scripts and commands are stored. This commands are essential part of OpenPhonyx. They will become part od phonyx debian package.

src/cd

Directory where files relative to destination CD root are stored. This files will be copied during iso making procedure.