[asterisk-users] Which best practices to build and deploy Asterisk on different hardware ?
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon May 19 13:55:44 CDT 2008
On Mon, May 19, 2008 at 07:29:54PM +0200, Olivier wrote:
> Hi,
>
> Today I'm building Asterisk using steps like this :
> http://mikeoverip.wordpress.com/2008/03/29/asterisk-compilation-and-installation-on-debian-etch/
>
> As you can see, the first requirement is to download various dependencies
> such as gcc, g++.
>
> As I'm trying to centralize everything (configuration files, source codes in
> an SVN repository), I'm wondering if there is a smarter way to build
> Asterisk.
For configuration this is indeed very useful. For source: a bit less.
Do you keep the whole Asterisk source tree in a subversion? What do you
do when a new version comes along? People tend to keep just patches and
build instructions in the subversion.
You can check the astlinux SVN repository for a working build system.
We maintain the Debian Asterisk-related packages (and some others) in a
subversion repository:
http://pkg-voip.alioth.debian.org/
As you can see, most of the packages there have just a debian/
subdirectory, where they keep the administrative files needed for
packaging. Many of them also have the subdirectory debian/patches/ where
patches to the source package are maintained.
But some people keep saying that a a version control system that has
better support for merging should allow you to store the source inside
it and just merge new upstream versions (or rather: consider your
changes as feature branches). This sounds cool, but may be tricky to
implement.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list