[asterisk-dev] SHA1 and MD5 code?
Kevin P. Fleming
kpfleming at digium.com
Fri Oct 14 10:22:12 CDT 2011
On 10/14/2011 09:07 AM, Russell Bryant wrote:
> On Fri, Oct 14, 2011 at 10:01 AM, Tilghman Lesher<tilghman at meg.abyt.es> wrote:
>> If you're building a monolithic package, yes. Packages in some systems
>> are built to allow a minimal installation, with lots of optional packages
>> representing other functionality. This limits the number of dependencies
>> necessary to install the core system. As an example, FreeBSD does this
>> with PHP.
>
> The Fedora package is that way, too. You don't have to install
> everything. It's broken down into a bunch of sub-packages.
>
> http://koji.fedoraproject.org/koji/buildinfo?buildID=267278
>
>>>>> BTW, it'd be nice to eliminate libedit from main/editline as well.
>>>>
>>>> If you can find a library with equivalent functionality that is
>>>> compatible with the
>>>> licensing scheme of Asterisk, we're all ears. Note that libreadline
>>>> is GPL and is
>>>> thus incompatible with the dual licensing of Asterisk.
>>>
>>> I think the point here was to simply rely on the system packaged
>>> version of libedit. I believe it's in Fedora, Debian, Ubuntu, but I
>>> haven't gone and looked this minute beyond Fedora.
>>
>> How about Slackware, Solaris, Mac OS X? Asterisk goes far beyond
>> being just a Linux-only package.
>
> I don't know. It's probably not practical to remove the library from
> the source because of that. The best compromise is to check for, and
> prefer, a system version of the library and use that. The upside is
> ease of installation on those platforms that don't have it. The
> downside is the increase in build variants for testing purposes.
Agreed. I'd be fine with a configure-script option to use the
OpenSSL-provided implementations of SHA-1 and MD5 by default; we've
already switched to using AES *only* from OpenSSL.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list