[asterisk-dev] CentOS packaging

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Feb 27 14:58:02 CST 2014


On Thu, Feb 27, 2014 at 11:26:02AM -0600, Matthew Jordan wrote:
> On Tue, Feb 25, 2014 at 1:03 PM, Ben Langfeld <ben at langfeld.co.uk> wrote:
> > After a conversation with Rusty last week, I've become aware that for a
> > simple installation of asterisk (11) from the CentOS repositories at
> > http://packages.asterisk.org/centos/, the 'current' repo at
> > http://packages.digium.com/centos is required to satisfy the dependency of
> > the 'asterisk' package on 'asterisk-dahdi'.
> 
> There is not an absolute technical requirement that installing
> Asterisk requires you to install DAHDI as well. This is particularly
> true of Asterisk 11 and later versions, where all dialplan application
> dependencies on DAHDI were either removed or had appropriate
> alternatives created.
> 
> If the packages were restructured, it could be set up so that Asterisk
> only provides chan_dahdi in a subpackage - although there are
> obviously some issues with subpackages as well. I'm still not sure of
> a good structure for subpackages that lets you pick optional modules
> in an 'ala carte' fashion. For example, I may want chan_dahdi, but I
> may also want PostgreSQL for realtime, IMAP voicemail, and
> chan_ooh323. (The answer is probably 'build from source', 

install asterisk-dahdi , asterisk-pgsql, asterisk-voicemail-imap and
asterisk-ooh323

Actually:

* asterisk-pgsql: not currently a separate subpackage in Debian. Not
  sure if it's worth the extra trouble.
* asterisk-voicemail-imap: This is an ugly one: we create multiple
  copies of app_voicemail.c that get built with different options. It
  means that they conflict at run-time:

  http://patch-tracker.debian.org/patch/series/view/asterisk/1:11.7.0~dfsg-1+e1/hack-multiple-app-voicemail

* asterisk-ooh323: This is a separate package in Debian for historical
  reasons (addons packages were composed of a package for each
  component). It doesn't add annoying dependencies and thus hardly any
  point in keeing it in a separate package. Especially as there's no
  asterisk-h323 anymore.

> but the fact
> that each subpackage has to be independent from others limits their
> usefulness, in my opinion)

In what ways?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-dev mailing list