asterisk dapper.2114_to_dapper.2234 diff

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Aug 6 12:14:47 UTC 2006


Answering some other questions:

On Wed, Aug 02, 2006 at 05:07:45PM -0300, Thiago Martins wrote:
> Let's Rock!
> 
> Em Ter, 2006-08-01 às 16:39 +0100, Mark Purcell escreveu: 
> > On Friday 28 July 2006 22:23, Thiago Martins wrote:
> > >  I'm working to make asterisk package a little bit more stable on Ubuntu
> > > Dapper Drake.
> > 
> > Hi Thiago,
> > 
> > I have been trying to catch up with the list and the work you have been doing.
> > 
> > I'm not entirely sure of your motivation on trying to get a set of changes to 
> > the dapper asterisk packages in pkg-voip.
> > 
> > I suspect some of the issues you are having are related to the core asterisk 
> > package we maintain in pkg-voip and some of the issues are related to the 
> > ubuntu infrastructure.
> > 
> > The bulk of us here on pkg-voip are focused on delivery of the Debian 
> > packages, but we are also supportive of the pullthrough of any relevant 
> > patches into alioth which are of use, even if they come from an unbuntu 
> > environment.
> > 
> > You said at one stage that you were using dapper as sarge wasn't current 
> > enough for you, however sid has pretty much the same amount of stability as 
> > sid or etch, so why don't you use those?
> I think we need a really declared stable distro, and Dapper is stable and updated.
> Debian sid is always different, and I want a stable distro for
> production environment.
> 
> > Having a look through your patch, I am happy to commit some to alioth, but 
> > could you explain some elements to me:
> > 
> > --- asterisk-1.2.10.dfsg/debian/changelog	2006-07-28 16:51:35.000000000 -0300
> > +++ asterisk-1.2.10.dfsg.new/debian/changelog	2006-07-28 
> > 16:53:38.000000000 -0300
> > @@ -1,3 +1,14 @@
> > +asterisk (1:1.2.10.dfsg-2.dapper.2234) ubuntu-dapper; urgency=low
> > +
> > +  [ Thiago Martins ]
> > +  * asterisk_fix is now on the asterisk package.
> > +  * Changes in asterisk_fix.
> > 
> > Shouldn't we just use a debian/asterisk.install file?
> Because the dpkg build processes already create the debian/asterisk dir,
> so I don't need this file. Thats your question?

The answer is: the install is to debian/tmp . dh_install is called for
files there. Thus if you need to copy a file manually from the build 
root, you need to add an explicit 'cp' in debian/rules anyway. Listing 
them separately in debian/asterisk.install will not gain much and only
require syncing debian/rules and debian/asterisk.install manually. 

I don't like that messy part of debian/rules, but simply using
asterisk.install won't make it cleaner.

> 
> > I don't think we want to install under /usr/share/asterisk/bin/asterisk_fix, 
> > wouldn't /usr/bin/asterisk_fix be better?
> I use this place bacause the asterisk-config.postinst use this location.
> But I prefer /usr/bin for this too.
> 
> > +  * Ripped and ported asterisk.postinst.debhelper to asterisk.postinst.
> > 
> > Why do we need to do this port?
> If you try to reinstall all asterisk*.deb (except bristuff and some others), the
> default postinst from debhelper allways try to start asterisk, even if it already
> started and running, generating an error and the package don't become in state
> installed (ii).

Maybe edit that file with a custom debhelper-like script to add the
snippet you like? Isn't there an existing ubuntu debhelper to do that?

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



More information about the Pkg-voip-maintainers mailing list