OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Darwin Streaming Server 5.0 on OpenBSD!

From: Jeff Ross (jrossopenvistas.net)
Date: Mon Jan 12 2004 - 10:05:16 CST


I took some time this weekend to get Darwin Streaming Server 5.0
working on OpenBSD -current. It also compiles cleanly on 3.3.

To start get the Darwin Streaming Server 5.0 source code from Apple,
which requires registering as a developer and agreeing to their
license. This URL contains links to the documentation as well as the
source code.

http://developer.apple.com/darwin/projects/streaming/

If you are already registered with Apple, you can get the source here.

http://www.opensource.apple.com/projects/streaming/release/
DarwinStreamingSrc5.0.zip

Get my patch from

http://www.openvistas.net/DSS_5.diff.tgz

Patch the source with

patch -p0 < DSS_5.diff

cd into the DarwinStreamingSrc5.0 directory and enter the following
commands

        ./Buildit
        ./DSS_MakeRoot -f DarwinStreamingSvr
        cd DarwinStreamingSvr
        sudo ./Install

DSS 5.0 now uses a non-privileged user qtss. Running the Install
script automatically adds the user via useradd, so depending on how you
have useradd configured, you may want to use vipw to change the qtss
login shell to /sbin/nologin. I also added a group qtss, but I didn't
make that addition to the Install script.

I've tested my installation by with a continuous MP3 stream, (
http://www.earljanack.com/all_earl.pls ) and by streaming .mov files
through QuickTime. I haven't tried the broadcaster or the proxy.

Enjoy!

Jeff
--
Jeff Ross
Open Vistas Networking, Inc.
http://www.openvistas.net