[Asterisk-Dev] Questions re: bundling of external libraries into * codebase

Steven Critchfield critch at basesys.com
Fri Jun 6 09:34:16 MST 2003


On Fri, 2003-06-06 at 10:07, Rafal Boni wrote:
> This discussion of inclusion of PCRE libraries in * brings up a question
> I has asked here but got stuck in the moderator approval queue[*]:
> 
> Quoting from that email:
>         Finally, some philosophical questions:
>                 * Asterisk appears to incorporate code that I would expect
>                   would be used from external libraries: mainly libedit and
>                   db1, but also for example the md5 implementation.  Are 
>                   those bits of code somehow specially tuned/tweaked for
>                   use within Asterisk?  I ask, for example, because the
>                   MD5 code (at least in 0.4.0) was not strict-alignment
>                   safe on LP64 (think UltraSparc) and the copy I would
>                   have used from libc (or libcrypto) provided by my
>                   system was perfectly fine.

DB1 was included in the CVS tree due to it being deprecated in most
distros and more than just a pain to get. Also because the license alows
such things to happen.

Libedit replaced libreadline for license reasons. It probably was
included for reasons of maintaining which code base it called.

Not sure about the MD5 part, but assume more of the same.
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-dev mailing list