uw-imap and asterisk

Jonas Smedegaard dr at jones.dk
Mon Aug 27 12:47:20 UTC 2007


Faidon Liambotis skrev:
> Jonas, hello,

Greetings, fellow geek :-D


> I see that you are uw-imap's maintainer and you are also a member of
> pkg-voip. That is an interesting coincidence :-)
> 
> You may not be aware, but latest trunk of Asterisk uses libc-client
> 2006, as recently uploaded by you, to store Voicemail to an IMAP server.
> Note that his has been added recently, since Asterisk's implementation
> does not work with versions prior to 2004.

I am aware of this. And have struggled to make a local sideport of
Asterisk actually compile against a recent uw-imap. Without luck.


UW-imap upstream has a weird way of compiling. But for Debian I have
considered introducing a pkg-config file, to ease autotools-based use of
libc-client for things like asterisk.

Would you be interested in that? Perhaps help make the needed
adjustments? Or do you perhaps find it a wrong thing to do?



> You may be aware that, thanks to Kilian, we are having automated builds
> and backports to all Debian and Ubuntu distributions, on
> pkg-voip.buildserver.net.
> 
> However, this new dependency of Asterisk fails to build on etch and
> lenny backports, not to mention the Ubuntu ones. Additionaly, we can't
> workaround this the usual way (debian/backports/etch script) because, as
> said before, this implementation won't work with the version present in
> etch. The same of course applies to all other dists besides sid.
> 
> So, I'm asking you to help us, if possible. How?
> a) If you are maintaning uw-imap on a (Subversion or git currently, but
> this can change with the proper amount of work) repository, could you
> give us (well, kilian basically) the URL to it so he can add automatic
> snapshots and backports of it as well?
> b) Are you willing to add debian/backports/$DIST scripts to your source
> trees that change stuff so that backports is possible? I'm not sure that
> this is needed yet (i.e. a backport to etch seems to work unmodified)
> but it may be needed in the future.
> 
> In return, you will get automatic snapshots built for every revision you
> commit, automatic backports to all of Debian/Ubuntu's distributions (not
> the you care much) and much testing from our beloved Asterisk users :-)


I maintain 40+ packages officially for Debian, and have found packaging
routines that I would not like to change too much in odd directions -
instead I want to streamline the packaging across the packages even more.

UW-imap is packaged using CDBS, and that won't change. Also, patches are
done using quilt - I find dpatch disgusting to work with.


From a quick look at those snippets in the asterisk package, they seem
to not be needed with my current CDBS-based packaging mechanisms - if
you are willing to add a "flag" to the autobuilders doing side- and
backports: If you include cdbs-autoupdate to DEB_BUILD_OPTS then
build-dependencies are recalculated at build time, and for the cases
where that by itself does not automagically solve issues, it is easy to
include needed adjustments as ifdef's within debian/rules.


Have a look at the bottom of debian/rules for the current uw-imap
package to see what I mean.



Looking forward to asterisk with imap support!


 - Jonas

-- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20070827/b5971730/attachment.pgp 


More information about the Pkg-voip-maintainers mailing list