In preparing for a recent release of the CD input and control library (http://www.gnu.org/software/libcdio), I noticed the sourceforge.net compile farm sports an OpenBSD box. So naturally I tried it out and the latest release of libcdio compiles fine on OpenBSD.
Well, almost. Each OS can/should have a driver to support native CD-ROM operation. So what works is just CD image reading, and whatever services libcdio has build on top of CD reading, e.g. ISO 9660 library routines for ISO-9660 tracks or CD-paranoia for CD-DA tracks or track and TOC reading emulation. However libcdio does have CD-ROM support for FreeBSD in two "modes": CAM (common-access-method) which as best tell is the recommended method, or good ol' ioctl. I didn't see a CAM equivalent on the OpenBSD box, so again as an experiment I tried using the FreeBSD ioctl equivalent and seemed to get reasonably far for someone who doesn't know anything about OpenBSD. And given that on the sourceforge compile farm I can't really access a CD-ROM anyway, this was more than I could reasonably test. But should there be someone out there interested in doing a more complete port of libcdio for OpenBSD, I'd be happy to work with that person. (For a full port, I think the most varied part is seems to be doing the common routine for issuing SCSI passthrough or MMC commands.)
