Asterisk 1.6 Lenny Backport

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jul 15 12:36:26 UTC 2010


Hi,

On Thu, Jul 15, 2010 at 01:39:50PM +0200, Christoph Martin wrote:
> Hi Tzafrir,
> 
> Tzafrir Cohen schrieb am 08.07.2010 18:18:
> > On Thu, Jul 08, 2010 at 05:23:44PM +0200, Christoph Martin wrote:
> >> Dear asterisk maintainer(s),
> >>
> >> we are interested in a Debian asterisk 1.6 package for Lenny. Do you
> >> know if anybody is working on a backup from squeeze ?
> > 
> > Start with applying 
> > 
> >   ./debian/backports/lenny
> > 
> > It should build fine, provided you have dahdi-linux and dahdi-tools from
> > Squeeze (and maybe also a newer openh323 is needed?)
> > 
> > If you don't want DAHDI, try removing that dependency. It hsould
> > generally build without it.
> > 
> 
> thanks for your answer. I had to do the following, to get it running:
> 
> sed -i -e 's#^ libcap-dev# libcap2-dev#' debian/control
> sed -i -e '/libresample1-dev/d' debian/control

Those two are in the backport script.

> sed -i -e 's/^ libtonezone-dev (>= 1:2.0.0)/ libtonezone-dev/' debian/control

No. As with the case of dahdi-source - remove it. libtonezone1 implies
using zaptel ioctls.

> sed -i -e 's/^ libpri-dev (>= 1.4.7)/ libpri-dev/' debian/control

Likewise, remove it. chan_dahdi.c as of 1.6.0 needs
/usr/include/dahdi/user.h (from dahdi-source, in Debian). And it is the
only part of Asterisk that needs libpri.

> sed -i -e '/libss7-dev/d' debian/control
> sed -i -e '/dahdi-source/d' debian/control
> sed -i -e '/libopenr2-dev/d' debian/control

Those aren't, as I use the newer packages from the pkg-voip backport
repo.

> 
> It is up and running.
> 
> I would like to do an upload to backports.org, if you don't mind. But I
> think that would at least need dahdi support. So I would have to do a
> backport of dahdi first. What about libtonezone and libpri? Why did you
> put in these versioned dependencies?

See above.

So basically the backported package will have no chan_zap/chan_dahdi. I
wonder if that could be clearly outlined somewhere. Potentially in the
description. Alternatively, consider backporting dahdi
(dahdi-linux+dahdi-tools) along with it.

As of 1.6.1 (and more so: as of 1.6.2) DAHDI is not strictly a
dependency of Asterisk. In fact, I suppose a separate
asterisk-dahdi package (chan_dahdi.so, codec_dahdi.so,
res_timing_dahdi.so, app_meetme.so and maybe one or two more modules)
would be waranted.

-- 
               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 Pkg-voip-maintainers mailing list