Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000289 [Yate - Yet Another Telephony Engine] engine feature always 2012-01-23 14:17 2012-01-23 14:17
Reporter ojab View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version SVN
Summary 0000289: Add Solaris support
Description Patch in the attached file (yate r4815), tested on Solaris8 & Solaris 11 express on SPARC.

1. Solaris hasn't inet_ntoa function, but have inet_ntop in libnsl. So require inet_ntoa only if inet_ntop isn't found.
2. Semaphore functions (sem_open, sem_wait etc) requite librt, so add -lrt if needed.
3. vsnprintf function is broken, so use bundled one from [^] (GPLv2 licensed)
4. There isn't daemon(3) function in Solaris, so use bundled one from varnish [^] (BSD licensed)
5. Explicitly convert pid_t to int.
6. gethostbyname_r on Solaris doesn't use hostent **, so move to using hostent *.
7. `grep -q` is not portable, so use just `grep` in
8. Add several defines, missing on Solaris.

daemon & vsnprintf files are located at new directory engine/compat.
Additional Information
Tags No tags attached.
Attached Files ? file icon yate_solaris.patch [^] (61,302 bytes) 2012-01-23 14:17

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-01-23 14:17 ojab New Issue
2012-01-23 14:17 ojab File Added: yate_solaris.patch

Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker