Summary:ASTERISK-02244: Patch to properly build and run on NetBSD
Reporter:tih (tih)Labels:
Date Opened:2004-08-20 05:59:49Date Closed:2004-09-25 02:09:40
Versions:Frequency of
Environment:Attachments:( 0) Asterisk.patches
Description:I wanted to run Asterisk on NetBSD-current/i386, and it turned out to be very quickly and easily accomplished. The current CVS tree includes support for FreeBSD and OpenBSD, and adding NetBSD support was mostly a matter of ifdef tweaks.


The included patch is what I'm currently running.
Comments:By: Mark Spencer (markster) 2004-08-20 09:17:03

Do you have a disclaimer on file?

By: tih (tih) 2004-08-20 09:57:06

Ah, no. I suspect this is the only Open Source project in the world with that requirement. ;-) Anyway, am I right in assuming that what I need to do is to print out the short disclaimer on your web site, and have my employer sign it?


By: Mark Spencer (markster) 2004-08-20 10:07:45

Yes, that is the correct procedure.  You may fax the completed form to +1-256-864-0464 as listed on the bugs web site.  As it turns out Asterisk is not the only Open Source project with this requirement.  GCC, GLIBC, and most of the other GNU projects also requires similar disclaimers -- in fact that's the source of the original documents, including the brief public domain statement.

By: tih (tih) 2004-08-20 10:17:48

Wow. OK -- I won't be back at work until the week after next, but I'll get something signed and faxed then.

By: rich (rich) 2004-08-20 18:36:33

Looks great!  At some point, some of the #ifdefs could be shortened by #include <sys/param.h> so that #ifdef BSD can be used instead of FreeBSD & NetBSD & ....  I plan to submit that unless there are preferences otherwise.  It will make porting to other variants easier.


By: Brian West (bkw918) 2004-08-22 23:10:03

Please hound kram to get this in or get feedback on what needs to be fixed/changed to get it in CVS.


By: Mark Spencer (markster) 2004-08-22 23:12:13

Patch is fine, just waiting on a disclaimer!

By: tih (tih) 2004-08-31 07:04:02

Disclaimer faxed.

By: Mark Spencer (markster) 2004-08-31 09:22:20

Fixed in CVS.