summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2006-12-15 09:03:46 +0000
committeradam <adam@pkgsrc.org>2006-12-15 09:03:46 +0000
commit8688b929a1bf3e88b715f3a0544fbf8e1bdcab1e (patch)
tree9fe75b0357b79a4a38ba6d1a7aa556b71b53083c /net
parent7b17c37d9dac0b9bad05764f17696853d8505aea (diff)
downloadpkgsrc-8688b929a1bf3e88b715f3a0544fbf8e1bdcab1e.tar.gz
Darwin Streaming Server is an open source project intended for developers who
need to stream QuickTime and MPEG-4 media on alternative platforms such as Windows, Linux, and Solaris, or those developers who need to extend and/or modify the existing streaming server code to fit their needs. Darwin Streaming Server is only supported by the open source community and is not eligible for technical support from Apple. Apple hosts a number of email discussion lists for Darwin Streaming Server users and developers to share ideas and discuss deployment scenarios. Based on wip/DarwinStreamingServer Thanks to eggert@macvaerk.dtu.dk
Diffstat (limited to 'net')
-rw-r--r--net/DarwinStreamingServer/DESCR8
-rw-r--r--net/DarwinStreamingServer/MESSAGE25
-rw-r--r--net/DarwinStreamingServer/Makefile176
-rw-r--r--net/DarwinStreamingServer/PLIST162
-rw-r--r--net/DarwinStreamingServer/distinfo27
-rw-r--r--net/DarwinStreamingServer/patches/patch-aa30
-rw-r--r--net/DarwinStreamingServer/patches/patch-ab12
-rw-r--r--net/DarwinStreamingServer/patches/patch-ac21
-rw-r--r--net/DarwinStreamingServer/patches/patch-ad23
-rw-r--r--net/DarwinStreamingServer/patches/patch-ae21
-rw-r--r--net/DarwinStreamingServer/patches/patch-af21
-rw-r--r--net/DarwinStreamingServer/patches/patch-ag15
-rw-r--r--net/DarwinStreamingServer/patches/patch-ah21
-rw-r--r--net/DarwinStreamingServer/patches/patch-ai17
-rw-r--r--net/DarwinStreamingServer/patches/patch-aj21
-rw-r--r--net/DarwinStreamingServer/patches/patch-ak12
-rw-r--r--net/DarwinStreamingServer/patches/patch-al12
-rw-r--r--net/DarwinStreamingServer/patches/patch-am12
-rw-r--r--net/DarwinStreamingServer/patches/patch-an12
-rw-r--r--net/DarwinStreamingServer/patches/patch-ao27
-rw-r--r--net/DarwinStreamingServer/patches/patch-ap14
-rw-r--r--net/DarwinStreamingServer/patches/patch-aq13
-rw-r--r--net/DarwinStreamingServer/patches/patch-ar13
-rw-r--r--net/DarwinStreamingServer/patches/patch-as12
-rw-r--r--net/DarwinStreamingServer/patches/patch-at13
-rw-r--r--net/DarwinStreamingServer/patches/patch-au13
-rw-r--r--net/DarwinStreamingServer/patches/patch-av13
27 files changed, 766 insertions, 0 deletions
diff --git a/net/DarwinStreamingServer/DESCR b/net/DarwinStreamingServer/DESCR
new file mode 100644
index 00000000000..b04bf1ca55d
--- /dev/null
+++ b/net/DarwinStreamingServer/DESCR
@@ -0,0 +1,8 @@
+Darwin Streaming Server is an open source project intended for developers who
+need to stream QuickTime and MPEG-4 media on alternative platforms such as
+Windows, Linux, and Solaris, or those developers who need to extend and/or
+modify the existing streaming server code to fit their needs. Darwin Streaming
+Server is only supported by the open source community and is not eligible for
+technical support from Apple. Apple hosts a number of email discussion lists
+for Darwin Streaming Server users and developers to share ideas and discuss
+deployment scenarios.
diff --git a/net/DarwinStreamingServer/MESSAGE b/net/DarwinStreamingServer/MESSAGE
new file mode 100644
index 00000000000..d88746ac00b
--- /dev/null
+++ b/net/DarwinStreamingServer/MESSAGE
@@ -0,0 +1,25 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+You need to set up a DarwinStreamingServer administrator username and
+password:
+
+ # qtpasswd -c username
+ # echo admin: username > ${PKG_SYSCONFDIR}/streaming/qtgroups
+
+N.B. qtpasswd will overwrite the existing file with the -c option.
+The file
+ ${PKG_SYSCONFDIR}/streaming/qtgroups
+will contain users separated by white space for each group.
+
+In order to run the DarwinStreamingServer administration tools you need to
+install SSL keys into
+ ${PKG_SYSCONFDIR}/streaming/streamingadminserver.pem
+
+After the administration tools are up and running you should be able to
+access them at
+ http://your.hostname:1220/
+If you select 'Secure Administration (SSL)' you'll be directed to
+ https://your.hostname:1240/
+
+===========================================================================
diff --git a/net/DarwinStreamingServer/Makefile b/net/DarwinStreamingServer/Makefile
new file mode 100644
index 00000000000..a6501c2085c
--- /dev/null
+++ b/net/DarwinStreamingServer/Makefile
@@ -0,0 +1,176 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/15 09:03:46 adam Exp $
+
+DISTNAME= DarwinStreamingSrvr5.5.4-Source
+PKGNAME= DarwinStreamingServer-5.5.4
+CATEGORIES= net multimedia
+MASTER_SITES= http://www.opensource.apple.com/projects/streaming/release/
+EXTRACT_SUFX= .tar
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://developer.apple.com/opensource/server/streaming/
+COMMENT= Open source version of Apple QuickTime Streaming Server
+
+LICENSE= apple-public-source-license
+RESTRICTED= Under APSL (see http://www.opensource.apple.com/apsl/).
+NO_BIN_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_LANGUAGES= c c++
+
+MAKE_FILE= Makefile.POSIX
+MAKE_ENV+= CCOMP=${CC:Q} CPLUS=${CXX:Q} LINKER=${CXX:Q}
+MAKE_ENV+= COMPILER_FLAGS=${CFLAGS:Q} INCLUDE_FLAG="-include"
+MAKE_ENV+= CORE_LINK_LIBS="-pthread -lm -lcrypt -lstdc++"
+MAKE_ENV+= SHARED="-shared" MODULE_LIBS="-lgcc -lstdc++"
+
+BUILD_DIRS= CommonUtilitiesLib
+BUILD_DIRS+= QTFileLib
+BUILD_DIRS+= .
+BUILD_DIRS+= APIModules/QTSSRefMovieModule
+BUILD_DIRS+= APIModules/QTSSDemoAuthorizationModule.bproj
+BUILD_DIRS+= APIModules/QTSSRawFileModule.bproj
+BUILD_DIRS+= APIModules/QTSSSpamDefenseModule.bproj
+BUILD_DIRS+= APIModules/QTSSHomeDirectoryModule
+BUILD_DIRS+= StreamingProxy.tproj
+BUILD_DIRS+= qtpasswd.tproj
+BUILD_DIRS+= PlaylistBroadcaster.tproj
+BUILD_DIRS+= MP3Broadcaster
+BUILD_DIRS+= QTFileTools/QTBroadcaster.tproj
+BUILD_DIRS+= QTFileTools/QTFileInfo.tproj
+BUILD_DIRS+= QTFileTools/QTFileTest.tproj
+BUILD_DIRS+= QTFileTools/QTRTPFileTest.tproj
+BUILD_DIRS+= QTFileTools/QTRTPGen.tproj
+BUILD_DIRS+= QTFileTools/QTSDPGen.tproj
+BUILD_DIRS+= QTFileTools/QTSampleLister.tproj
+BUILD_DIRS+= QTFileTools/QTTrackInfo.tproj
+BUILD_DIRS+= StreamingLoadTool
+
+INSTALLATION_DIRS+= libexec/StreamingServerModules
+INSTALLATION_DIRS+= share/examples/streaming
+INSTALLATION_DIRS+= share/streaming
+INSTALLATION_DIRS+= share/streaming/AdminHtml
+INSTALLATION_DIRS+= share/streaming/AdminHtml/images
+INSTALLATION_DIRS+= share/streaming/AdminHtml/includes
+INSTALLATION_DIRS+= share/streaming/AdminHtml/html_en
+INSTALLATION_DIRS+= share/streaming/movies
+INSTALLATION_DIRS+= share/streaming/playlists
+
+PKG_USERS= qtss:qtss
+PKG_GROUPS= qtss
+PKG_GECOS.qtss= Darwin Streaming Server user
+
+INTERACTIVE_STAGE= fetch build
+
+FETCH_MESSAGE= "Darwin Streaming Server is available as a free download"
+FETCH_MESSAGE+= "under the APSL. Downloading the source code components"
+FETCH_MESSAGE+= "requires APSL registration."
+FETCH_MESSAGE+= "You should fetch the source code manually from"
+FETCH_MESSAGE+= "${MASTER_SITES}${DISTFILES} and put into"
+FETCH_MESSAGE+= "${DISTDIR}/${DISTFILES} directory."
+
+REPLACE_PERL+= WebAdmin/WebAdminHtml/broadcaster_lib.pl
+REPLACE_PERL+= WebAdmin/WebAdminHtml/parse_xml.cgi
+REPLACE_PERL+= WebAdmin/WebAdminHtml/playlist-lib.pl
+REPLACE_PERL+= WebAdmin/WebAdminHtml/relayxmlparser.pl
+REPLACE_PERL+= WebAdmin/WebAdminHtml/startplaylists.pl
+REPLACE_PERL+= WebAdmin/WebAdminHtml/view_broadcast.cgi
+REPLACE_PERL+= WebAdmin/src/streamingadminserver.pl
+REPLACE_PERL+= WinNTSupport/WinPasswdAssistant.pl
+
+CONF_FILES= ${PKG_SYSCONFDIR:Q}/streaming/qtgroups ${PKG_SYSCONFDIR:Q}/streaming/qtgroups
+CONF_FILES+= ${PKG_SYSCONFDIR:Q}/streaming/qtusers ${PKG_SYSCONFDIR:Q}/streaming/qtusers
+CONF_FILES+= ${PKG_SYSCONFDIR:Q}/streaming/relayconfig.xml-Sample ${PKG_SYSCONFDIR:Q}/streaming/relayconfig.xml
+CONF_FILES+= ${PKG_SYSCONFDIR:Q}/streaming/streamingloadtool.conf ${PKG_SYSCONFDIR:Q}/streaming/streamingloadtool.conf
+CONF_FILES+= ${PKG_SYSCONFDIR:Q}/streaming/streamingserver.xml-POSIX ${PKG_SYSCONFDIR:Q}/streaming/streamingserver.xml
+
+SUBST_CLASSES+= makefile
+SUBST_STAGE.makefile= post-patch
+SUBST_MESSAGE.makefile= Fixing Makefiles
+SUBST_FILES.makefile+= APIModules/QTSSDemoAuthorizationModule.bproj/Makefile.POSIX
+SUBST_FILES.makefile+= APIModules/QTSSHomeDirectoryModule/Makefile.POSIX
+SUBST_FILES.makefile+= APIModules/QTSSRawFileModule.bproj/Makefile.POSIX
+SUBST_FILES.makefile+= APIModules/QTSSRefMovieModule/Makefile.POSIX
+SUBST_FILES.makefile+= APIModules/QTSSSpamDefenseModule.bproj/Makefile.POSIX
+SUBST_FILES.makefile+= CommonUtilitiesLib/Makefile.POSIX
+SUBST_FILES.makefile+= HTTPUtilitiesLib/Makefile.POSIX
+SUBST_FILES.makefile+= MP3Broadcaster/Makefile.POSIX
+SUBST_FILES.makefile+= Makefile.POSIX
+SUBST_FILES.makefile+= PlaylistBroadcaster.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileLib/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileTools/QTBroadcaster.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileTools/QTFileInfo.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileTools/QTFileTest.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileTools/QTRTPFileTest.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileTools/QTRTPGen.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileTools/QTSDPGen.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileTools/QTSampleLister.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= QTFileTools/QTTrackInfo.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= StreamingLoadTool/Makefile.POSIX
+SUBST_FILES.makefile+= StreamingProxy.tproj/Makefile.POSIX
+SUBST_FILES.makefile+= qtpasswd.tproj/Makefile.POSIX
+SUBST_SED.makefile+= -e "s|-O[23]||"
+
+SUBST_CLASSES+= path
+SUBST_STAGE.path= post-patch
+SUBST_MESSAGE.path= Fixing paths
+SUBST_FILES.path+= defaultPaths.h
+SUBST_FILES.path+= WebAdmin/src/streamingadminserver.pl
+SUBST_FILES.path+= streamingserver.xml-POSIX
+SUBST_SED.path+= -e "s|/etc/streaming|${PKG_SYSCONFDIR}/streaming|"
+SUBST_SED.path+= -e "s|/movies|/share/streaming/movies|"
+SUBST_SED.path+= -e "s|/usr/local|${PREFIX}|"
+SUBST_SED.path+= -e "s|/sbin/StreamingServer|libexec/StreamingServer|"
+SUBST_SED.path+= -e "s|/var/streaming/AdminHtml|${PREFIX}/share/streaming/AdminHtml|"
+SUBST_SED.path+= -e "s|/var/streaming/playlists|${PREFIX}/share/streaming/playlists|"
+SUBST_SED.path+= -e "s|/var/streaming/logs|${VARBASE}/log/streaming|"
+
+SUBST_CLASSES+= conf
+SUBST_STAGE.conf= post-patch
+SUBST_MESSAGE.conf= Fixing configuration file
+SUBST_FILES.conf+= WebAdmin/streamingadminserver.conf
+SUBST_SED.conf+= -e "s|/Library/QuickTimeStreaming/AdminHtml|${PREFIX}/share/streaming/AdminHtml|"
+SUBST_SED.conf+= -e "s|/Library/QuickTimeStreaming/playlists|${PREFIX}/share/streaming/playlists|"
+SUBST_SED.conf+= -e "s|/Library/QuickTimeStreaming/Logs|${VARBASE}/log/streaming|"
+SUBST_SED.conf+= -e "s|/usr/sbin/QuickTime|${PREFIX}/sbin/Darwin|"
+
+post-extract:
+ rm -rf ${WRKSRC}/*PackageMetaData
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/DarwinStreamingServer ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/PlaylistBroadcaster.tproj/PlaylistBroadcaster ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/MP3Broadcaster/MP3Broadcaster ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/qtpasswd.tproj/qtpasswd ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/APIModules/QTSSHomeDirectoryModule/QTSSHomeDirectoryModule ${PREFIX}/libexec/StreamingServerModules
+ ${INSTALL_PROGRAM} ${WRKSRC}/APIModules/QTSSRefMovieModule/QTSSRefMovieModule ${PREFIX}/libexec/StreamingServerModules
+ ${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTBroadcaster.tproj/QTBroadcaster ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTFileTest.tproj/QTFileTest ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTRTPFileTest.tproj/QTRTPFileTest ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTRTPGen.tproj/QTRTPGen ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTSampleLister.tproj/QTSampleLister ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTSDPGen.tproj/QTSDPGen ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTTrackInfo.tproj/QTTrackInfo ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/APIModules/QTSSHomeDirectoryModule/createuserstreamingdir ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/streamingserver.xml-POSIX ${PREFIX}/share/examples/streaming
+ ${INSTALL_DATA} ${WRKSRC}/relayconfig.xml-Sample ${PREFIX}/share/examples/streaming
+ ${INSTALL_DATA} ${WRKSRC}/qtusers ${PREFIX}/share/examples/streaming
+ ${INSTALL_DATA} ${WRKSRC}/qtgroups ${PREFIX}/share/examples/streaming
+ ${INSTALL_DATA} ${WRKSRC}/Documentation/readme.txt ${PREFIX}/share/streaming
+ ${INSTALL_DATA} ${WRKSRC}/Documentation/3rdPartyAcknowledgements.rtf ${PREFIX}/share/streaming
+ ${INSTALL_PROGRAM} ${WRKSRC}/StreamingLoadTool/StreamingLoadTool ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/StreamingLoadTool/streamingloadtool.conf ${PREFIX}/share/examples/streaming
+ ${INSTALL_SCRIPT} ${WRKSRC}/WebAdmin/src/streamingadminserver.pl ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.pl ${PREFIX}/share/streaming/AdminHtml
+ ${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.cgi ${PREFIX}/share/streaming/AdminHtml
+ ${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.html ${PREFIX}/share/streaming/AdminHtml
+ ${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/images/*.gif ${PREFIX}/share/streaming/AdminHtml/images
+ ${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/includes/*.js ${PREFIX}/share/streaming/AdminHtml/includes
+ ${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/html_en/messages ${PREFIX}/share/streaming/AdminHtml/html_en
+ ${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/html_en/genres ${PREFIX}/share/streaming/AdminHtml/html_en
+ ${INSTALL_DATA} ${WRKSRC}/sample* ${PREFIX}/share/streaming/movies
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/DarwinStreamingServer/PLIST b/net/DarwinStreamingServer/PLIST
new file mode 100644
index 00000000000..0674d9c7f9d
--- /dev/null
+++ b/net/DarwinStreamingServer/PLIST
@@ -0,0 +1,162 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+bin/MP3Broadcaster
+bin/PlaylistBroadcaster
+bin/QTBroadcaster
+bin/QTFileTest
+bin/QTRTPFileTest
+bin/QTRTPGen
+bin/QTSDPGen
+bin/QTSampleLister
+bin/QTTrackInfo
+bin/StreamingLoadTool
+bin/qtpasswd
+libexec/StreamingServerModules/QTSSHomeDirectoryModule
+libexec/StreamingServerModules/QTSSRefMovieModule
+sbin/DarwinStreamingServer
+sbin/streamingadminserver.pl
+share/examples/streaming/qtgroups
+share/examples/streaming/qtusers
+share/examples/streaming/relayconfig.xml-Sample
+share/examples/streaming/streamingloadtool.conf
+share/examples/streaming/streamingserver.xml-POSIX
+share/streaming/3rdPartyAcknowledgements.rtf
+share/streaming/AdminHtml/MapUTF.pl
+share/streaming/AdminHtml/access_log.html
+share/streaming/AdminHtml/adminprotocol-lib.pl
+share/streaming/AdminHtml/broadcaster_lib.pl
+share/streaming/AdminHtml/broadcaster_settings.html
+share/streaming/AdminHtml/cgi-lib.pl
+share/streaming/AdminHtml/change_broadcast_password.html
+share/streaming/AdminHtml/change_mp3_password.html
+share/streaming/AdminHtml/change_password.html
+share/streaming/AdminHtml/change_password_redirect.html
+share/streaming/AdminHtml/confirm.html
+share/streaming/AdminHtml/connected.html
+share/streaming/AdminHtml/error_log.html
+share/streaming/AdminHtml/format.html
+share/streaming/AdminHtml/frameset.html
+share/streaming/AdminHtml/general_settings.html
+share/streaming/AdminHtml/html_en/genres
+share/streaming/AdminHtml/html_en/messages
+share/streaming/AdminHtml/images/LB_arrow_dn.gif
+share/streaming/AdminHtml/images/LB_arrow_up.gif
+share/streaming/AdminHtml/images/apple_logo.gif
+share/streaming/AdminHtml/images/arrow_down.gif
+share/streaming/AdminHtml/images/back.gif
+share/streaming/AdminHtml/images/blackpixel.gif
+share/streaming/AdminHtml/images/clearpixel.gif
+share/streaming/AdminHtml/images/dialog_alert.gif
+share/streaming/AdminHtml/images/dialog_bottom.gif
+share/streaming/AdminHtml/images/dialog_bottom_sm.gif
+share/streaming/AdminHtml/images/dialog_middle.gif
+share/streaming/AdminHtml/images/dialog_middle_sm.gif
+share/streaming/AdminHtml/images/dialog_qtss.gif
+share/streaming/AdminHtml/images/dialog_side.gif
+share/streaming/AdminHtml/images/dialog_top.gif
+share/streaming/AdminHtml/images/dialog_top_sm.gif
+share/streaming/AdminHtml/images/divider.gif
+share/streaming/AdminHtml/images/divider_vert.gif
+share/streaming/AdminHtml/images/dot.gif
+share/streaming/AdminHtml/images/folder.gif
+share/streaming/AdminHtml/images/greypixel.gif
+share/streaming/AdminHtml/images/headerpixel.gif
+share/streaming/AdminHtml/images/help.gif
+share/streaming/AdminHtml/images/highlight.gif
+share/streaming/AdminHtml/images/horz_line.gif
+share/streaming/AdminHtml/images/icon_alert.gif
+share/streaming/AdminHtml/images/icon_doc.gif
+share/streaming/AdminHtml/images/icon_error.gif
+share/streaming/AdminHtml/images/icon_folder.gif
+share/streaming/AdminHtml/images/icon_generic.gif
+share/streaming/AdminHtml/images/icon_group.gif
+share/streaming/AdminHtml/images/icon_movie.gif
+share/streaming/AdminHtml/images/icon_movie_off.gif
+share/streaming/AdminHtml/images/icon_playlist.gif
+share/streaming/AdminHtml/images/icon_playlist_off.gif
+share/streaming/AdminHtml/images/icon_start_playlist.gif
+share/streaming/AdminHtml/images/icon_stop_playlist.gif
+share/streaming/AdminHtml/images/icon_user.gif
+share/streaming/AdminHtml/images/invis_dragcover.gif
+share/streaming/AdminHtml/images/line.gif
+share/streaming/AdminHtml/images/link.gif
+share/streaming/AdminHtml/images/link_disabled.gif
+share/streaming/AdminHtml/images/mp3_file.gif
+share/streaming/AdminHtml/images/nav_help.gif
+share/streaming/AdminHtml/images/nav_logo.gif
+share/streaming/AdminHtml/images/nav_logo_small.gif
+share/streaming/AdminHtml/images/pixel.gif
+share/streaming/AdminHtml/images/scroll_arrow_down.gif
+share/streaming/AdminHtml/images/scroll_arrow_up.gif
+share/streaming/AdminHtml/images/scroll_bg.gif
+share/streaming/AdminHtml/images/scroll_bg_inactive.gif
+share/streaming/AdminHtml/images/scroll_thumb.gif
+share/streaming/AdminHtml/images/sort_arrow.gif
+share/streaming/AdminHtml/images/sort_arrow_desc.gif
+share/streaming/AdminHtml/images/spacer.gif
+share/streaming/AdminHtml/images/stripes_gray.gif
+share/streaming/AdminHtml/images/stripes_gray_dark.gif
+share/streaming/AdminHtml/images/trashcan.gif
+share/streaming/AdminHtml/images/vert_line.gif
+share/streaming/AdminHtml/images/weight_up_arrow.gif
+share/streaming/AdminHtml/images/whitepixel.gif
+share/streaming/AdminHtml/images/wieght_down_arrow.gif
+share/streaming/AdminHtml/includes/DarwinListbox.js
+share/streaming/AdminHtml/includes/draglib.js
+share/streaming/AdminHtml/includes/encode_unicode.js
+share/streaming/AdminHtml/includes/standardNav.js
+share/streaming/AdminHtml/index.html
+share/streaming/AdminHtml/listbox.html
+share/streaming/AdminHtml/listbox2.html
+share/streaming/AdminHtml/log_settings.html
+share/streaming/AdminHtml/login.html
+share/streaming/AdminHtml/nav.html
+share/streaming/AdminHtml/parse_xml.cgi
+share/streaming/AdminHtml/password-utils.pl
+share/streaming/AdminHtml/playlist-lib.pl
+share/streaming/AdminHtml/playlist_detail.html
+share/streaming/AdminHtml/playlist_error_log.html
+share/streaming/AdminHtml/playlists.html
+share/streaming/AdminHtml/ports.html
+share/streaming/AdminHtml/relay.html
+share/streaming/AdminHtml/relay_details.html
+share/streaming/AdminHtml/relay_details_default.html
+share/streaming/AdminHtml/relay_status.html
+share/streaming/AdminHtml/relay_targets.html
+share/streaming/AdminHtml/relayxmlparser.pl
+share/streaming/AdminHtml/restart_broadcaster.html
+share/streaming/AdminHtml/setup_assistant.html
+share/streaming/AdminHtml/setup_assistant2.html
+share/streaming/AdminHtml/setup_assistant3.html
+share/streaming/AdminHtml/setup_assistant4.html
+share/streaming/AdminHtml/setup_assistant5.html
+share/streaming/AdminHtml/start_broadcaster.html
+share/streaming/AdminHtml/start_server.html
+share/streaming/AdminHtml/startplaylists.pl
+share/streaming/AdminHtml/tag_formats.pl
+share/streaming/AdminHtml/tag_types.pl
+share/streaming/AdminHtml/tag_vals.pl
+share/streaming/AdminHtml/template.html
+share/streaming/AdminHtml/template_blank.html
+share/streaming/AdminHtml/top.html
+share/streaming/AdminHtml/users.html
+share/streaming/AdminHtml/view_broadcast.cgi
+share/streaming/AdminHtml/welcome.html
+share/streaming/movies/sample.mp3
+share/streaming/movies/sample_100kbit.mov
+share/streaming/movies/sample_100kbit.mp4
+share/streaming/movies/sample_300kbit.mov
+share/streaming/movies/sample_300kbit.mp4
+share/streaming/movies/sample_50kbit.3gp
+share/streaming/movies/sample_h264_100kbit.mp4
+share/streaming/movies/sample_h264_1mbit.mp4
+share/streaming/movies/sample_h264_300kbit.mp4
+share/streaming/readme.txt
+@exec ${MKDIR} %D/share/streaming/playlists
+@dirrm share/streaming/playlists
+@dirrm share/streaming/movies
+@dirrm share/streaming/AdminHtml/includes
+@dirrm share/streaming/AdminHtml/images
+@dirrm share/streaming/AdminHtml/html_en
+@dirrm share/streaming/AdminHtml
+@dirrm share/streaming
+@dirrm libexec/StreamingServerModules
diff --git a/net/DarwinStreamingServer/distinfo b/net/DarwinStreamingServer/distinfo
new file mode 100644
index 00000000000..8af805fbb96
--- /dev/null
+++ b/net/DarwinStreamingServer/distinfo
@@ -0,0 +1,27 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+SHA1 (DarwinStreamingSrvr5.5.4-Source.tar) = 8d7c50abd9dee2da8bfcf5b080ad6a5f04b7e159
+RMD160 (DarwinStreamingSrvr5.5.4-Source.tar) = 741844be26fca61ae2da809191d80ae7894f845d
+Size (DarwinStreamingSrvr5.5.4-Source.tar) = 32829440 bytes
+SHA1 (patch-aa) = 3e5dd1ecf1892677937424966a6825735290f62d
+SHA1 (patch-ab) = 6ef4b4a419fe4760c607829f0131a9eec49899d4
+SHA1 (patch-ac) = a54ea3650b48ea951630e17bee311722ec0e02cd
+SHA1 (patch-ad) = f86c6c9372cdef07953ebaa3643d1254e6a3e1eb
+SHA1 (patch-ae) = 90196ccc784f85527452821cb32da6ee4d131a68
+SHA1 (patch-af) = c699baddac5fce4e974a0b2b992545255c6e9d05
+SHA1 (patch-ag) = e2d174cac6568725343443e1fc01545a5c984655
+SHA1 (patch-ah) = 351c35db68160fbdf8492885c4ad05269e3efe13
+SHA1 (patch-ai) = 91248634b1ab3e1961ce800183d965b45bd686dd
+SHA1 (patch-aj) = 271167cb450f6fe4bc81b4e9705ea4c6069d72c6
+SHA1 (patch-ak) = 6e7b780a5d79fca8d187408dcba08adc2a8fed35
+SHA1 (patch-al) = d0accc9d15c09c3ff5c8d53c6981a7be41e6a6b3
+SHA1 (patch-am) = ea0fd464440eb749e2c0eba0d255218e4ccc37cc
+SHA1 (patch-an) = 5634d5f22002f07ec2abd4ebdd49366979149c74
+SHA1 (patch-ao) = 24c52b5de2f4a5d8484822a3225921d929e3b59b
+SHA1 (patch-ap) = 08828b78fa5847826061b3766d113cecc55a48cb
+SHA1 (patch-aq) = 1168e928db76833d25774a3fb5fd9223ba669d78
+SHA1 (patch-ar) = dda83105b0ff25ada62ee36e10b879a38d833324
+SHA1 (patch-as) = fd17b346afc4c4ebaa0c7bbf84229a2187860d6b
+SHA1 (patch-at) = 7cb7d452fc7f8e903998638271952f6232da8469
+SHA1 (patch-au) = 89fe0648eb3acd83a9138f0b79c12e54086fa2a2
+SHA1 (patch-av) = 6408826975740e2e75a1a1c019516542d44552ed
diff --git a/net/DarwinStreamingServer/patches/patch-aa b/net/DarwinStreamingServer/patches/patch-aa
new file mode 100644
index 00000000000..ef7dc5820d8
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- PlatformHeader.h.orig 2005-12-09 18:18:00.000000000 +0000
++++ PlatformHeader.h 2005-12-09 18:20:17.000000000 +0000
+@@ -144,6 +144,26 @@
+ #define EXPORT
+ #define _REENTRANT 1
+
++#elif __NetBSD__
++
++#define USE_ATOMICLIB 0
++#define MACOSXEVENTQUEUE 0
++#define __PTHREADS__ 1
++#define __PTHREADS_MUTEXES__ 1
++#include <machine/endian.h>
++#if BYTE_ORDER == BIG_ENDIAN
++ #define BIGENDIAN 1
++#else
++ #define BIGENDIAN 0
++#endif
++#define ALLOW_NON_WORD_ALIGN_ACCESS 1
++#define USE_THREAD 1 //Flag used in QTProxy
++#define THREADING_IS_COOPERATIVE 1
++#define USE_THR_YIELD 0
++#define kPlatformNameString "NetBSD"
++#define EXPORT
++#define _REENTRANT 1
++
+ #elif __solaris__
+
+ #ifdef sparc
diff --git a/net/DarwinStreamingServer/patches/patch-ab b/net/DarwinStreamingServer/patches/patch-ab
new file mode 100644
index 00000000000..17df7dc1a8c
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- Server.tproj/RTSPSession.cpp.orig 2005-04-27 12:17:44.000000000 +0200
++++ Server.tproj/RTSPSession.cpp 2005-12-17 18:49:56.000000000 +0100
+@@ -47,7 +47,7 @@
+ #include "OSArrayObjectDeleter.h"
+ #include "md5digest.h"
+
+-#if __FreeBSD__ || __hpux__
++#if __FreeBSD__ || __hpux__ || __NetBSD__
+ #include <unistd.h>
+ #endif
+
diff --git a/net/DarwinStreamingServer/patches/patch-ac b/net/DarwinStreamingServer/patches/patch-ac
new file mode 100644
index 00000000000..efdf4abf441
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- RTSPClientLib/ClientSocket.cpp.orig 2003-08-16 01:53:20.000000000 +0200
++++ RTSPClientLib/ClientSocket.cpp 2005-12-17 22:20:45.000000000 +0100
+@@ -69,7 +69,7 @@
+ return theErr;
+
+ inSocket->NoDelay();
+-#if __FreeBSD__ || __MacOSX__
++#if __FreeBSD__ || __MacOSX__ || __NetBSD__
+ // no KeepAlive -- probably should be off for all platforms.
+ #else
+ inSocket->KeepAlive();
+@@ -162,7 +162,7 @@
+ err = ::setsockopt(fSocket.GetSocketFD(), SOL_SOCKET, SO_RCVBUF, (char*)&rcvBufSize, sizeof(int));
+ AssertV(err == 0, OSThread::GetErrno());
+
+-#if __FreeBSD__ || __MacOSX__
++#if __FreeBSD__ || __MacOSX__ || __NetBSD__
+ struct timeval time;
+ //int len = sizeof(time);
+ time.tv_sec = 0;
diff --git a/net/DarwinStreamingServer/patches/patch-ad b/net/DarwinStreamingServer/patches/patch-ad
new file mode 100644
index 00000000000..2342a7a1431
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ad
@@ -0,0 +1,23 @@
+$NetBSD: patch-ad,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp.orig 2005-03-12 00:24:54.000000000 +0100
++++ PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp 2005-12-17 22:20:45.000000000 +0100
+@@ -43,7 +43,9 @@
+
+ */
+
+-
++#if __NetBSD__
++#include <sys/param.h>
++#endif
+
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -57,7 +59,7 @@
+ #if defined (__solaris__) || defined (__osf__) || defined (__sgi__) || defined (__hpux__)
+ #include "daemon.h"
+ #else
+- #ifndef __FreeBSD__
++ #ifndef __FreeBSD__ || __NetBSD__
+ #include <sys/sysctl.h>
+ #endif
+ #endif
diff --git a/net/DarwinStreamingServer/patches/patch-ae b/net/DarwinStreamingServer/patches/patch-ae
new file mode 100644
index 00000000000..e02e052baf3
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ae
@@ -0,0 +1,21 @@
+$NetBSD: patch-ae,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- PlaylistBroadcaster.tproj/GetLocalIPAddressString.c.orig 2003-08-16 01:53:06.000000000 +0200
++++ PlaylistBroadcaster.tproj/GetLocalIPAddressString.c 2005-12-17 22:20:45.000000000 +0100
+@@ -82,7 +82,7 @@
+
+ #if (__linux__ || __MacOSX__ || __MACOS__ || __linuxppc__ || __solaris__ || __sgi__)
+ err = ioctl(tempSocket, SIOCGIFCONF, (char*)&ifc);
+-#elif __FreeBSD__
++#elif __FreeBSD__ || __NetBSD__
+ err = ioctl(tempSocket, OSIOCGIFCONF, (char*)&ifc);
+ #else
+ #error
+@@ -90,7 +90,7 @@
+ if (err == -1) break;
+
+
+-#if __FreeBSD__
++#if __FreeBSD__ || __NetBSD__
+ {
+ int netdev1, netdev2;
+ struct ifreq *netdevifr;
diff --git a/net/DarwinStreamingServer/patches/patch-af b/net/DarwinStreamingServer/patches/patch-af
new file mode 100644
index 00000000000..734cb2c6386
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-af
@@ -0,0 +1,21 @@
+$NetBSD: patch-af,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- PlaylistBroadcaster.tproj/BroadcasterSession.cpp.orig 2004-09-30 16:40:54.000000000 +0200
++++ PlaylistBroadcaster.tproj/BroadcasterSession.cpp 2005-12-17 22:20:45.000000000 +0100
+@@ -350,7 +350,7 @@
+ #if BROADCAST_SESSION_DEBUG
+ qtss_printf("Session timing out.\n");
+ #endif
+-#if __FreeBSD__ || __MacOSX__
++#if __FreeBSD__ || __MacOSX__ || __NetBSD__
+ if (fTransportType != kTCPTransportType)
+ {
+ fTimeoutTask.RefreshTimeout();
+@@ -554,7 +554,7 @@
+ }
+ break;
+ }
+-#if __FreeBSD__ || __MacOSX__
++#if __FreeBSD__ || __MacOSX__ || __NetBSD__
+ case kBroadcasting:
+ {
+ #if BROADCAST_SESSION_DEBUG
diff --git a/net/DarwinStreamingServer/patches/patch-ag b/net/DarwinStreamingServer/patches/patch-ag
new file mode 100644
index 00000000000..0ce495005ae
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- PlaylistBroadcaster.tproj/BCasterTracker.cpp.orig 2003-08-16 01:53:06.000000000 +0200
++++ PlaylistBroadcaster.tproj/BCasterTracker.cpp 2005-12-17 22:20:45.000000000 +0100
+@@ -49,8 +49,10 @@
+ #include <fcntl.h>
+ #include <sys/file.h>
+ #include <sys/stat.h>
++#ifndef __NetBSD__
+ #include <sys/types.h>
+-#if !(defined(__solaris__) || defined(__osf__) || defined(__hpux__))
++#endif
++#if !(defined(__solaris__) || defined(__osf__) || defined(__hpux__) || defined(__NetBSD__))
+ #include <sys/sysctl.h>
+ #endif
+ #include <sys/time.h>
diff --git a/net/DarwinStreamingServer/patches/patch-ah b/net/DarwinStreamingServer/patches/patch-ah
new file mode 100644
index 00000000000..0b1237cc9f5
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ah
@@ -0,0 +1,21 @@
+$NetBSD: patch-ah,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- MP3Broadcaster/MP3Broadcaster.cpp.orig 2003-08-16 01:53:04.000000000 +0200
++++ MP3Broadcaster/MP3Broadcaster.cpp 2005-02-25 17:03:32.000000000 +0100
+@@ -38,13 +38,16 @@
+ #include <unistd.h>
+ #endif
+
++#ifdef __NetBSD__
++#include <sys/param.h>
++#endif
+
+ #ifndef __Win32__
+ #include <netdb.h>
+ #if defined (__solaris__) || defined (__osf__) || defined (__hpux__)
+ #include "daemon.h"
+ #else
+- #ifndef __FreeBSD__
++ #ifndef __FreeBSD__ || __OpenBSD__ || __NetBSD__
+ #include <sys/sysctl.h>
+ #endif
+ #endif
diff --git a/net/DarwinStreamingServer/patches/patch-ai b/net/DarwinStreamingServer/patches/patch-ai
new file mode 100644
index 00000000000..d0a13a2755a
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ai
@@ -0,0 +1,17 @@
+$NetBSD: patch-ai,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- CommonUtilitiesLib/StrPtrLen.h.orig 2003-08-16 01:52:53.000000000 +0200
++++ CommonUtilitiesLib/StrPtrLen.h 2005-02-25 17:03:31.000000000 +0100
+@@ -66,7 +66,12 @@
+ Bool16 NumEqualIgnoreCase(const char* compare, const UInt32 len) const;
+
+ void Delete() { delete [] Ptr; Ptr = NULL; Len = 0; }
+- char *ToUpper() { for (UInt32 x = 0; x < Len ; x++) Ptr[x] = toupper (Ptr[x]); return Ptr;}
++ char *ToUpper()
++ {
++ for (UInt32 x = 0; x < Len ; x++)
++ Ptr[x] = toupper (Ptr[x]);
++ return Ptr;
++ }
+
+ char *FindStringCase(char *queryCharStr, StrPtrLen *resultStr, Bool16 caseSensitive) const;
+
diff --git a/net/DarwinStreamingServer/patches/patch-aj b/net/DarwinStreamingServer/patches/patch-aj
new file mode 100644
index 00000000000..60b384aba00
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-aj
@@ -0,0 +1,21 @@
+$NetBSD: patch-aj,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- CommonUtilitiesLib/SocketUtils.cpp.orig 2003-08-16 01:52:53.000000000 +0200
++++ CommonUtilitiesLib/SocketUtils.cpp 2005-02-25 17:03:31.000000000 +0100
+@@ -342,7 +342,7 @@
+
+ #if __linux__ || __linuxppc__ || __solaris__ || __MacOSX__ || __sgi__ || __osf__
+ int err = ::ioctl(tempSocket, SIOCGIFCONF, (char*)&ifc);
+-#elif __FreeBSD__
++#elif __FreeBSD__ || __NetBSD__
+ int err = ::ioctl(tempSocket, OSIOCGIFCONF, (char*)&ifc);
+ #else
+ #error
+@@ -350,7 +350,7 @@
+ if (err == -1)
+ return;
+
+-#if __FreeBSD__
++#if __FreeBSD__ || __NetBSD__
+ int netdev1, netdev2;
+ struct ifreq *netdevifr;
+ netdevifr = ifc.ifc_req;
diff --git a/net/DarwinStreamingServer/patches/patch-ak b/net/DarwinStreamingServer/patches/patch-ak
new file mode 100644
index 00000000000..415f65520bb
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ak
@@ -0,0 +1,12 @@
+$NetBSD: patch-ak,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- CommonUtilitiesLib/OSThread.h.orig 2003-08-16 01:52:53.000000000 +0200
++++ CommonUtilitiesLib/OSThread.h 2005-02-25 17:03:31.000000000 +0100
+@@ -37,7 +37,7 @@
+
+ #ifndef __Win32__
+ #if __PTHREADS__
+-#if __solaris__ || __sgi__ || __hpux__
++#if __solaris__ || __sgi__ || __hpux__ || __NetBSD__
+ #include <errno.h>
+ #else
+ #include <sys/errno.h>
diff --git a/net/DarwinStreamingServer/patches/patch-al b/net/DarwinStreamingServer/patches/patch-al
new file mode 100644
index 00000000000..f1afae08442
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-al
@@ -0,0 +1,12 @@
+$NetBSD: patch-al,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- CommonUtilitiesLib/OSHeaders.h.orig 2003-08-16 01:52:52.000000000 +0200
++++ CommonUtilitiesLib/OSHeaders.h 2005-02-25 17:03:31.000000000 +0100
+@@ -48,7 +48,7 @@
+
+
+ /* Platform-specific components */
+-#if __linux__ || __linuxppc__ || __FreeBSD__ || __MacOSX__
++#if __linux__ || __linuxppc__ || __FreeBSD__ || __MacOSX__ || __NetBSD__
+
+ /* Defines */
+ #define _64BITARG_ "q"
diff --git a/net/DarwinStreamingServer/patches/patch-am b/net/DarwinStreamingServer/patches/patch-am
new file mode 100644
index 00000000000..0068ba8a06b
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-am
@@ -0,0 +1,12 @@
+$NetBSD: patch-am,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- CommonUtilitiesLib/OSCodeFragment.cpp.orig 2003-08-16 01:52:52.000000000 +0200
++++ CommonUtilitiesLib/OSCodeFragment.cpp 2005-02-25 17:03:31.000000000 +0100
+@@ -62,6 +62,8 @@
+ fFragmentP = dlopen((char *)inPath, RTLD_NOW | RTLD_GLOBAL);
+ #elif defined(__FreeBSD__)
+ fFragmentP = dlopen(inPath, RTLD_NOW);
++#elif defined(__NetBSD__)
++ fFragmentP = dlopen(inPath, RTLD_LAZY);
+ #elif defined(__sgi__)
+ fFragmentP = dlopen(inPath, RTLD_NOW); // not sure this should be either RTLD_NOW or RTLD_LAZY
+ #elif defined(__Win32__)
diff --git a/net/DarwinStreamingServer/patches/patch-an b/net/DarwinStreamingServer/patches/patch-an
new file mode 100644
index 00000000000..cc10006c6cf
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-an
@@ -0,0 +1,12 @@
+$NetBSD: patch-an,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+--- MP3Broadcaster/BroadcasterMain.cpp.orig 2005-12-11 18:56:36.000000000 +0000
++++ MP3Broadcaster/BroadcasterMain.cpp 2005-12-11 18:57:08.000000000 +0000
+@@ -216,7 +216,7 @@
+
+ struct sigaction act;
+
+-#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__sgi__) || defined(__osf__) || defined(__hpux__)
++#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__sgi__) || defined(__osf__) || defined(__hpux__) || defined(__NetBSD__)
+ sigemptyset(&act.sa_mask);
+ act.sa_flags = 0;
+ act.sa_handler = (void(*)(int))&SignalEventHandler;
diff --git a/net/DarwinStreamingServer/patches/patch-ao b/net/DarwinStreamingServer/patches/patch-ao
new file mode 100644
index 00000000000..b34b2603d7c
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ao
@@ -0,0 +1,27 @@
+$NetBSD: patch-ao,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+--- APIModules/QTSSReflectorModule/ReflectorStream.cpp.orig 2005-07-31 11:00:31.000000000 +0200
++++ APIModules/QTSSReflectorModule/ReflectorStream.cpp
+@@ -381,11 +381,11 @@ QTSS_Error ReflectorStream::BindSockets(
+ // specified by the source info, we can use that to demultiplex separate broadcasts on
+ // the same port. If the src IP addr is 0, we cannot do this and must dedicate 1 port per
+ // broadcast
+- fSockets = sSocketPool.GetUDPSocketPair(INADDR_ANY, fStreamInfo.fPort, fStreamInfo.fSrcIPAddr, 0);
++ fSockets = sSocketPool.GetUDPSocketPair(fStreamInfo.fDestIPAddr, fStreamInfo.fPort, fStreamInfo.fSrcIPAddr, 0);
+ if ((fSockets == NULL) && fStreamInfo.fSetupToReceive)
+ {
+ fStreamInfo.fPort = 0;
+- fSockets = sSocketPool.GetUDPSocketPair(INADDR_ANY, fStreamInfo.fPort, fStreamInfo.fSrcIPAddr, 0);
++ fSockets = sSocketPool.GetUDPSocketPair(fStreamInfo.fDestIPAddr, fStreamInfo.fPort, fStreamInfo.fSrcIPAddr, 0);
+ }
+ if (fSockets == NULL)
+ return QTSSModuleUtils::SendErrorResponse(inRequest, qtssServerInternal,
+@@ -1412,7 +1412,7 @@ Bool16 ReflectorSocket::ProcessPacket(co
+ {
+ // Check to see if we need to set the remote RTCP address
+ // for this stream. This will be necessary if the source is unicast.
+- if ((theRemoteAddr != 0) && (theSender->fStream->fDestRTCPAddr == 0))
++ if ((theRemoteAddr != 0) && (theSender->fStream->fDestRTCPAddr == 0) && (thePacket->IsRTCP()))
+ {
+ // If the source is multicast, this shouldn't be necessary
+ Assert(!SocketUtils::IsMulticastIPAddr(theSender->fStream->fStreamInfo.fDestIPAddr));
diff --git a/net/DarwinStreamingServer/patches/patch-ap b/net/DarwinStreamingServer/patches/patch-ap
new file mode 100644
index 00000000000..cabf0d4d97c
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ap
@@ -0,0 +1,14 @@
+$NetBSD: patch-ap,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+--- CommonUtilitiesLib/OSRef.h.orig 2006-12-14 19:43:43.000000000 +0100
++++ CommonUtilitiesLib/OSRef.h
+@@ -56,6 +56,9 @@ class OSRefTableUtils
+ friend class OSRefKey;
+ };
+
++// defined below
++class OSRefKey;
++
+ class OSRef
+ {
+ public:
diff --git a/net/DarwinStreamingServer/patches/patch-aq b/net/DarwinStreamingServer/patches/patch-aq
new file mode 100644
index 00000000000..aaf028aa02e
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-aq
@@ -0,0 +1,13 @@
+$NetBSD: patch-aq,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+--- CommonUtilitiesLib/UDPDemuxer.h.orig 2006-12-14 20:20:20.000000000 +0100
++++ CommonUtilitiesLib/UDPDemuxer.h
+@@ -44,6 +44,8 @@ class Task;
+ //IMPLEMENTATION ONLY:
+ //HASH TABLE CLASSES USED ONLY IN IMPLEMENTATION
+
++// defined below
++class UDPDemuxerKey;
+
+ class UDPDemuxerUtils
+ {
diff --git a/net/DarwinStreamingServer/patches/patch-ar b/net/DarwinStreamingServer/patches/patch-ar
new file mode 100644
index 00000000000..9df0b30f33c
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-ar
@@ -0,0 +1,13 @@
+$NetBSD: patch-ar,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+--- Server.tproj/QTSServer.h.orig 2006-12-14 20:29:25.000000000 +0100
++++ Server.tproj/QTSServer.h
+@@ -114,7 +114,7 @@ class QTSServer : public QTSServerInterf
+ // GLOBAL TASKS
+ RTCPTask* fRTCPTask;
+ RTPStatsUpdaterTask*fStatsTask;
+- SessionTimeoutTask *fSessionTimeoutTask;
++ //SessionTimeoutTask *fSessionTimeoutTask;
+ static char* sPortPrefString;
+ static XMLPrefsParser* sPrefsSource;
+ static PrefsSource* sMessagesSource;
diff --git a/net/DarwinStreamingServer/patches/patch-as b/net/DarwinStreamingServer/patches/patch-as
new file mode 100644
index 00000000000..89d5d4bc90e
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-as
@@ -0,0 +1,12 @@
+$NetBSD: patch-as,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+--- Server.tproj/RTPSessionInterface.h.orig 2006-12-14 20:37:45.000000000 +0100
++++ Server.tproj/RTPSessionInterface.h
+@@ -40,6 +40,7 @@
+
+ #include "RTCPSRPacket.h"
+ #include "RTSPSessionInterface.h"
++#include "RTSPRequestInterface.h"
+ #include "TimeoutTask.h"
+ #include "Task.h"
+ #include "RTPBandwidthTracker.h"
diff --git a/net/DarwinStreamingServer/patches/patch-at b/net/DarwinStreamingServer/patches/patch-at
new file mode 100644
index 00000000000..a9d2e0bbe82
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-at
@@ -0,0 +1,13 @@
+$NetBSD: patch-at,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+--- APIModules/QTSSSpamDefenseModule.bproj/QTSSSpamDefenseModule.cpp.orig 2006-12-14 22:31:31.000000000 +0100
++++ APIModules/QTSSSpamDefenseModule.bproj/QTSSSpamDefenseModule.cpp
+@@ -39,6 +39,8 @@
+
+ static QTSS_ModulePrefsObject sPrefs = NULL;
+
++// defined below
++class IPAddrTableKey;
+
+ class IPAddrTableElem
+ {
diff --git a/net/DarwinStreamingServer/patches/patch-au b/net/DarwinStreamingServer/patches/patch-au
new file mode 100644
index 00000000000..e9c03eb8a7c
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-au
@@ -0,0 +1,13 @@
+$NetBSD: patch-au,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+--- QTFileTools/QTBroadcaster.tproj/Makefile.POSIX.orig 2006-12-14 22:53:14.000000000 +0100
++++ QTFileTools/QTBroadcaster.tproj/Makefile.POSIX
+@@ -6,7 +6,7 @@ C++ = $(CPLUS)
+ CC = $(CCOMP)
+ LINK = $(LINKER)
+ CCFLAGS += $(COMPILER_FLAGS) $(INCLUDE_FLAG) ../../PlatformHeader.h -g -Wall
+-LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a
++LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a
+
+ #OPTIMIZATION
+ CCFLAGS += -O3
diff --git a/net/DarwinStreamingServer/patches/patch-av b/net/DarwinStreamingServer/patches/patch-av
new file mode 100644
index 00000000000..eac0c73b382
--- /dev/null
+++ b/net/DarwinStreamingServer/patches/patch-av
@@ -0,0 +1,13 @@
+$NetBSD: patch-av,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
+
+--- QTFileTools/QTFileInfo.tproj/Makefile.POSIX.orig 2006-12-15 09:06:50.000000000 +0100
++++ QTFileTools/QTFileInfo.tproj/Makefile.POSIX
+@@ -6,7 +6,7 @@ C++ = $(CPLUS)
+ CC = $(CCOMP)
+ LINK = $(LINKER)
+ CCFLAGS += $(COMPILER_FLAGS) $(INCLUDE_FLAG) ../../PlatformHeader.h -g -Wall
+-LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a
++LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a
+
+ #OPTIMIZATION
+ CCFLAGS += -O3