diff options
Diffstat (limited to 'net/DarwinStreamingServer')
18 files changed, 0 insertions, 933 deletions
diff --git a/net/DarwinStreamingServer/Makefile b/net/DarwinStreamingServer/Makefile deleted file mode 100644 index a38ee0bacf79..000000000000 --- a/net/DarwinStreamingServer/Makefile +++ /dev/null @@ -1,143 +0,0 @@ -# Created by: steve@stevenwills.com -# $FreeBSD$ - -PORTNAME= DarwinStreamingServer -PORTVERSION= 6.0.3 -PORTREVISION= 0 -CATEGORIES= net -MASTER_SITES= http://dss.macosforge.org/downloads/ \ - ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= nork -DISTNAME= DarwinStreamingSrvr${PORTVERSION}-Source -EXTRACT_SUFX= .tar - -PATCH_SITES= http://www.abrahamsson.com/ \ - ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR=nork -PATCHFILES= dss-6.0.3.patch -PATCH_DIST_STRIP=-p1 - -MAINTAINER= ports@FreeBSD.org -COMMENT= Darwin Streaming Server, a MP3, MPEG4, and QuickTime streaming server - -RUN_DEPENDS= p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay - -NOT_FOR_ARCHS= ia64 powerpc sparc64 - -USES= perl5 -USE_RC_SUBR= streamingadminserver darwin_streaming_server -SUB_LIST+= PERL=${PERL} - -PKGMESSAGE= ${WRKDIR}/pkg-message - -MAKE_ENV+= MAKE="${MAKE}" \ - DATADIR="${DATADIR}" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" \ - PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -post-extract: - @${RM} -rf \ - ${WRKSRC}/dssPackageMetaData \ - ${WRKSRC}/pubPackageMetaData \ - ${WRKSRC}/qtssPackageMetaData \ - ${WRKSRC}/WebAdmin/NetSSLeay - -post-patch: - @${REINPLACE_CMD} -e 's,/var/streaming/logs,/var/log/streaming,' \ - ${WRKSRC}/Install \ - ${WRKSRC}/defaultPaths.h \ - ${WRKSRC}/Documentation/readme.txt \ - ${WRKSRC}/streamingserver.xml-POSIX \ - ${WRKSRC}/WebAdmin/src/streamingadminserver.pl \ - ${WRKSRC}/WebAdmin/streamingadminserver_Darwin.conf - @${REINPLACE_CMD} -e 's,/var/streaming/playlists,/var/spool/streaming.playlists,' \ - ${WRKSRC}/Install \ - ${WRKSRC}/Documentation/readme.txt \ - ${WRKSRC}/WebAdmin/src/streamingadminserver.pl \ - ${WRKSRC}/WebAdmin/streamingadminserver_Darwin.conf - - @${REINPLACE_CMD} -e 's,/usr/local/movies,${DATADIR}/movies,' \ - ${WRKSRC}/Install \ - ${WRKSRC}/defaultPaths.h \ - ${WRKSRC}/Documentation/readme.txt \ - ${WRKSRC}/streamingserver.xml-POSIX \ - ${WRKSRC}/WebAdmin/WebAdminHtml/adminprotocol-lib.pl - @${REINPLACE_CMD} -e 's,/usr/local/sbin/StreamingServerModules,/usr/local/libexec/StreamingServerModules,' \ - ${WRKSRC}/Install \ - ${WRKSRC}/defaultPaths.h \ - ${WRKSRC}/Documentation/readme.txt \ - ${WRKSRC}/streamingserver.xml-POSIX - @${REINPLACE_CMD} -e 's,/etc/streaming,/usr/local/etc/streaming,' \ - ${WRKSRC}/Install \ - ${WRKSRC}/qtaccess \ - ${WRKSRC}/defaultPaths.h \ - ${WRKSRC}/Documentation/readme.txt \ - ${WRKSRC}/streamingserver.xml-POSIX \ - ${WRKSRC}/WebAdmin/src/streamingadminserver.pl \ - ${WRKSRC}/StreamingProxy.tproj/StreamingProxy.html \ - ${WRKSRC}/WebAdmin/streamingadminserver_Darwin.conf - @${REINPLACE_CMD} -e 's,/var/streaming,${DATADIR},' \ - ${WRKSRC}/Install \ - ${WRKSRC}/WebAdmin/src/streamingadminserver.pl \ - ${WRKSRC}/WebAdmin/streamingadminserver_Darwin.conf - - @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ - ${WRKSRC}/Install \ - ${WRKSRC}/qtaccess \ - ${WRKSRC}/defaultPaths.h \ - ${WRKSRC}/Documentation/readme.txt \ - ${WRKSRC}/streamingserver.xml-POSIX \ - ${WRKSRC}/WebAdmin/src/streamingadminserver.pl \ - ${WRKSRC}/StreamingProxy.tproj/StreamingProxy.html \ - ${WRKSRC}/WebAdmin/streamingadminserver_Darwin.conf \ - ${WRKSRC}/WebAdmin/WebAdminHtml/adminprotocol-lib.pl - - @${REINPLACE_CMD} -e '/-O[23]/d' \ - ${WRKSRC}/Makefile.POSIX \ - ${WRKSRC}/QTFileLib/Makefile.POSIX \ - ${WRKSRC}/qtpasswd.tproj/Makefile.POSIX \ - ${WRKSRC}/MP3Broadcaster/Makefile.POSIX \ - ${WRKSRC}/HTTPUtilitiesLib/Makefile.POSIX \ - ${WRKSRC}/StreamingLoadTool/Makefile.POSIX \ - ${WRKSRC}/CommonUtilitiesLib/Makefile.POSIX \ - ${WRKSRC}/StreamingProxy.tproj/Makefile.POSIX \ - ${WRKSRC}/PlaylistBroadcaster.tproj/Makefile.POSIX \ - ${WRKSRC}/QTFileTools/QTRTPGen.tproj/Makefile.POSIX \ - ${WRKSRC}/QTFileTools/QTSDPGen.tproj/Makefile.POSIX \ - ${WRKSRC}/QTFileTools/QTFileInfo.tproj/Makefile.POSIX \ - ${WRKSRC}/QTFileTools/QTFileTest.tproj/Makefile.POSIX \ - ${WRKSRC}/APIModules/QTSSRefMovieModule/Makefile.POSIX \ - ${WRKSRC}/QTFileTools/QTTrackInfo.tproj/Makefile.POSIX \ - ${WRKSRC}/QTFileTools/QTBroadcaster.tproj/Makefile.POSIX \ - ${WRKSRC}/QTFileTools/QTRTPFileTest.tproj/Makefile.POSIX \ - ${WRKSRC}/QTFileTools/QTSampleLister.tproj/Makefile.POSIX \ - ${WRKSRC}/APIModules/QTSSHomeDirectoryModule/Makefile.POSIX \ - ${WRKSRC}/APIModules/QTSSRawFileModule.bproj/Makefile.POSIX \ - ${WRKSRC}/APIModules/QTSSSpamDefenseModule.bproj/Makefile.POSIX \ - ${WRKSRC}/APIModules/QTSSDemoRedirectModule.bproj/Makefile.POSIX \ - ${WRKSRC}/APIModules/QTSSDemoAuthorizationModule.bproj/Makefile.POSIX - -do-build: - # XXX: Quick hack after ddss-6.0.3.patch is patched. - # I don't know why these files are removed. - # ${LN} -s RTSPRequest3GPP.cpp.orig ${WRKSRC}/Server.tproj/RTSPRequest3GPP.cpp - # ${LN} -s RTPStream.h.orig ${WRKSRC}/Server.tproj/RTPStream.h - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} sh -x ./Buildit) - -post-build: - @${CP} ${.CURDIR}/pkg-message ${WRKDIR}/pkg-message - @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKDIR}/pkg-message - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} /bin/sh -x ./DSS_MakeRoot -f ${OPSYS}) - -pre-install: - @${SETENV} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL - -do-install: - @(cd ${WRKSRC}/${OPSYS}; ${SETENV} ${MAKE_ENV} ./Install) - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/net/DarwinStreamingServer/distinfo b/net/DarwinStreamingServer/distinfo deleted file mode 100644 index 90fbc75b18df..000000000000 --- a/net/DarwinStreamingServer/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (DarwinStreamingSrvr6.0.3-Source.tar) = 7bf75ced3f603f55c6f7601bfecd9f26393ea98be821d24169f2091843706522 -SIZE (DarwinStreamingSrvr6.0.3-Source.tar) = 32593920 -SHA256 (dss-6.0.3.patch) = 13741e14f704d3b0db00100c9213ff0bec104403622905e92f370d846bf8f2ea -SIZE (dss-6.0.3.patch) = 15014 diff --git a/net/DarwinStreamingServer/files/darwin_streaming_server.in b/net/DarwinStreamingServer/files/darwin_streaming_server.in deleted file mode 100644 index 42996a6a9f45..000000000000 --- a/net/DarwinStreamingServer/files/darwin_streaming_server.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: darwin_streaming_server -# REQUIRE: streamingadminserver -# -darwin_streaming_server_enable=${darwin_streaming_server_enable-"NO"} - -. /etc/rc.subr - -name=darwin_streaming_server -rcvar=darwin_streaming_server_enable -command=%%PREFIX%%/sbin/DarwinStreamingServer - -load_rc_config ${name} - -case "$streamingadminserver_enable" in -[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) - darwin_streaming_server_enable="NO" - ;; -esac - -pidfile=/var/run/DarwinStreamingServer.pid - -run_rc_command "$1" diff --git a/net/DarwinStreamingServer/files/patch-Buildit b/net/DarwinStreamingServer/files/patch-Buildit deleted file mode 100644 index 4e5960a8c1ce..000000000000 --- a/net/DarwinStreamingServer/files/patch-Buildit +++ /dev/null @@ -1,92 +0,0 @@ ---- Buildit.orig 2008-03-26 09:42:48.000000000 +0900 -+++ Buildit 2008-06-01 04:24:51.000000000 +0900 -@@ -9,19 +9,19 @@ - fi - - SHOW_HELP=0 --if [ "$1" = "-v" ] ; then -+if [ x"$1" = x"-v" ] ; then - SHOW_HELP=1 - fi - --if [ "$1" = "-h" ] ; then -+if [ x"$1" = x"-h" ] ; then - SHOW_HELP=1 - fi - --if [ "$1" = "?" ] ; then -+if [ x"$1" = x"?" ] ; then - SHOW_HELP=1 - fi - --if [ "$1" = "help" ] ; then -+if [ x"$1" = x"help" ] ; then - SHOW_HELP=1 - fi - -@@ -42,7 +42,7 @@ - fi - - --if [ "$1" = "install" ] ; then -+if [ x"$1" = x"install" ] ; then - if [ $PLATFORM = dss ] ; then - echo "OS X Darwin Streaming Server" - ./BuildOSXInstallerPkg $2 $3 -@@ -128,20 +128,20 @@ - fi - ;; - -- FreeBSD.i386) -+ FreeBSD.*) - echo "Configuring for the "$OSNAME" "$HARDWARENAME" platform" -- CPLUS=gcc -- CCOMP=gcc -- LINKER="gcc" -- MAKE=make -+ CPLUS=${CXX} -+ CCOMP=${CC} -+ LINKER="${CXX}" -+ MAKE=${MAKE} - -- COMPILER_FLAGS= -- INCLUDE_FLAG="-include" -+ COMPILER_FLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -fPIC -funsigned-char" -+ INCLUDE_FLAG="-include" - -- CORE_LINK_LIBS="-pthread -lm -lcrypt" -+ CORE_LINK_LIBS="${PTHREAD_LIBS} -lm -lcrypt" - - SHARED=-shared -- MODULE_LIBS="-lgcc -lstdc++" -+ MODULE_LIBS="" - ;; - - # SunOS.sun4m | \ -@@ -241,7 +241,7 @@ - ;; - esac - --if [ "$*" = "install" ] ; then -+if [ x"$1" = x"install" ] ; then - - if [ `uname` != "SunOS" ]; then - USERID=`id -u` -@@ -329,7 +329,7 @@ - echo Building QTFileLib internal for $PLAT with $CPLUS - cd ../QTFileLib/ - -- if [ "$*" = "clean" ] ; then -+ if [ x"$*" = x"clean" ] ; then - $MAKE -f Makefile.POSIX $* - else - $MAKE -f Makefile.POSIX all $* -@@ -421,7 +421,7 @@ - $MAKE -f Makefile.POSIX $* - fi - -- if [ "$*" = "install" ] ; then -+ if [ x"$1" = x"install" ] ; then - cd .. - pwdi - echo diff --git a/net/DarwinStreamingServer/files/patch-DSS_MakeRoot b/net/DarwinStreamingServer/files/patch-DSS_MakeRoot deleted file mode 100644 index b0976076699d..000000000000 --- a/net/DarwinStreamingServer/files/patch-DSS_MakeRoot +++ /dev/null @@ -1,15 +0,0 @@ ---- DSS_MakeRoot.orig 2007-11-16 14:18:07.000000000 +0900 -+++ DSS_MakeRoot 2008-06-01 14:45:36.000000000 +0900 -@@ -5,10 +5,10 @@ - # source release - - DSS=0 --if [ $1 = "-f" ]; then -+if [ x"$1" = x"-f" ]; then - FLATTEN=1 - INSTALLROOT=$2 -- if [ $3 = "dss" ]; then -+ if [ x"$3" = x"dss" ]; then - DSS=1 - fi - else diff --git a/net/DarwinStreamingServer/files/patch-Install b/net/DarwinStreamingServer/files/patch-Install deleted file mode 100644 index fbd6fcea80bb..000000000000 --- a/net/DarwinStreamingServer/files/patch-Install +++ /dev/null @@ -1,238 +0,0 @@ ---- Install.orig 2008-03-26 09:42:51.000000000 +0900 -+++ Install 2008-06-01 18:02:09.000000000 +0900 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - - # Install script for the Darwin Streaming Server - # source release -@@ -16,6 +16,7 @@ - - if [ $USERID = 0 ]; then - -+if false; then - echo Checking for and Killing currently running Darwin Streaming Server - if [ `uname` = "FreeBSD" ]; then - ps -ax | awk '/DarwinStreamingServer/ {print $1}' | xargs kill -9 -@@ -113,6 +114,7 @@ - fi - - echo -+fi - - ## CHANGE PERL PATH IN streamingadminserver.pl AND parse_xml.cgi ## - -@@ -209,29 +211,29 @@ - fi - - echo copying "DarwinStreamingServer" to "/usr/local/sbin/DarwinStreamingServer" -- cp -f DarwinStreamingServer /usr/local/sbin/ -+ ${BSD_INSTALL_PROGRAM} DarwinStreamingServer /usr/local/sbin/ - - - echo copying "PlaylistBroadcaster" to "/usr/local/bin/PlaylistBroadcaster" -- cp -f PlaylistBroadcaster /usr/local/bin/ -+ ${BSD_INSTALL_PROGRAM} PlaylistBroadcaster /usr/local/bin/ - - echo copying "MP3Broadcaster" to "/usr/local/bin/MP3Broadcaster" -- cp -f MP3Broadcaster /usr/local/bin/ -+ ${BSD_INSTALL_PROGRAM} MP3Broadcaster /usr/local/bin/ - - echo copying "qtpasswd" to "/usr/local/bin/qtpasswd" -- cp -f qtpasswd /usr/local/bin/ -+ ${BSD_INSTALL_PROGRAM} qtpasswd /usr/local/bin/ - - # For now, do not copy modules as there are no supported dynamic modules - # echo copying modules to "/usr/local/sbin/StreamingServerModules" -- if [ ! -d /usr/local/sbin/StreamingServerModules ]; then -- echo creating "/usr/local/sbin/StreamingServerModules" directory -- mkdir /usr/local/sbin/StreamingServerModules -+ if [ ! -d /usr/local/libexec/StreamingServerModules ]; then -+ echo creating "/usr/local/libexec/StreamingServerModules" directory -+ mkdir /usr/local/libexec/StreamingServerModules - fi -- cp -f StreamingServerModules/* /usr/local/sbin/StreamingServerModules/ -+ ${BSD_INSTALL_PROGRAM} StreamingServerModules/* /usr/local/libexec/StreamingServerModules/ - -- if [ -e /usr/local/sbin/StreamingServerModules/QTSSHomeDirectoryModule ]; then -+ if [ -e /usr/local/libexec/StreamingServerModules/QTSSHomeDirectoryModule ]; then - echo copying "createuserstreamingdir" to "/usr/local/bin/createuserstreamingdir" -- cp -f createuserstreamingdir $INSTALLROOT/usr/local/bin/ -+ ${BSD_INSTALL_PROGRAM} createuserstreamingdir /usr/local/bin/ - fi - - if [ ! -d /etc/streaming ]; then -@@ -239,32 +241,41 @@ - mkdir -p /etc/streaming - fi - -+ echo copying "streamingserver.xml" to "/etc/streaming/streamingserver.xml-dist" -+ ${BSD_INSTALL_DATA} streamingserver.xml /etc/streaming/streamingserver.xml-dist - if [ ! -e /etc/streaming/streamingserver.xml ]; then -+ echo;echo copying "streamingserver.xml" to "/etc/streaming/streamingserver.xml" -+ ${BSD_INSTALL_DATA} streamingserver.xml /etc/streaming/streamingserver.xml -+if false; then - /usr/local/sbin/DarwinStreamingServer -x -+fi - fi - - chmod 600 /etc/streaming/streamingserver.xml - chown qtss /etc/streaming/streamingserver.xml - -- echo;echo copying "relayconfig.xml-Sample" to "/etc/streaming/relayconfig.xml-Sample" -- cp -f relayconfig.xml-Sample /etc/streaming/relayconfig.xml-Sample -- chmod 600 /etc/streaming/relayconfig.xml-Sample -- if [ -e /etc/streaming/relayconfig.xml ]; then -+ echo;echo copying "relayconfig.xml-Sample" to "/etc/streaming/relayconfig.xml-dist" -+ ${BSD_INSTALL_DATA} relayconfig.xml-Sample /etc/streaming/relayconfig.xml-dist -+ chmod 600 /etc/streaming/relayconfig.xml-dist -+ if [ ! -e /etc/streaming/relayconfig.xml ]; then -+ echo;echo copying "relayconfig.xml-Sample" to "/etc/streaming/relayconfig.xml" -+ ${BSD_INSTALL_DATA} relayconfig.xml-Sample /etc/streaming/relayconfig.xml - chown qtss /etc/streaming/relayconfig.xml -+ chmod 600 /etc/streaming/relayconfig.xml - fi - -- echo;echo copying "qtusers" to "/etc/streaming/qtusers" -- cp -f qtusers /etc/streaming/qtusers -- chmod 600 /etc/streaming/qtusers -- chown qtss /etc/streaming/qtusers -- -- echo;echo copying "qtgroups" to "/etc/streaming/qtgroups" -- cp -f qtgroups /etc/streaming/qtgroups -- chmod 600 /etc/streaming/qtgroups -- chown qtss /etc/streaming/qtgroups -+ echo;echo copying "qtusers" to "/etc/streaming/qtusers-dist" -+ ${BSD_INSTALL_DATA} qtusers /etc/streaming/qtusers-dist -+ chmod 600 /etc/streaming/qtusers-dist -+ chown qtss /etc/streaming/qtusers-dist -+ -+ echo;echo copying "qtgroups" to "/etc/streaming/qtgroups-dist" -+ ${BSD_INSTALL_DATA} qtgroups /etc/streaming/qtgroups-dist -+ chmod 600 /etc/streaming/qtgroups-dist -+ chown qtss /etc/streaming/qtgroups-dist - - #echo;echo copying "streamingadminserver.pem" to "/etc/streaming/streamingadminserver.pem" -- #cp -f streamingadminserver.pem /etc/streaming/streamingadminserver.pem -+ #${BSD_INSTALL_DATA} streamingadminserver.pem /etc/streaming/streamingadminserver.pem - #chmod 400 /etc/streaming/streamingadminserver.pem - - if [ ! -d /var/streaming ]; then -@@ -273,10 +284,10 @@ - fi - - echo copying "readme.txt" to "/var/streaming/readme.txt" -- cp -f readme.txt /var/streaming/readme.txt -+ ${BSD_INSTALL_DATA} readme.txt /var/streaming/readme.txt - - echo copying "3rdPartyAcknowledgements.rtf" to "/var/streaming/3rdPartyAcknowledgements.rtf" -- cp -f 3rdPartyAcknowledgements.rtf /var/streaming/3rdPartyAcknowledgements.rtf -+ ${BSD_INSTALL_DATA} 3rdPartyAcknowledgements.rtf /var/streaming/3rdPartyAcknowledgements.rtf - - if [ ! -d /var/streaming/logs ]; then - echo creating "/var/streaming/logs" directory -@@ -292,70 +303,81 @@ - echo creating "/var/streaming/playlists" directory - mkdir -p /var/streaming/playlists - fi -+ chown -Rh qtss:qtss /var/streaming/playlists - chmod 770 /var/streaming/playlists - chmod 775 /usr/local/movies - - echo copying "sample_100kbit.mov" into "/usr/local/movies/sample_100kbit.mov" -- cp -f sample_100kbit.mov /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample_100kbit.mov /usr/local/movies/ - - echo copying "sample_300kbit.mov" into "/usr/local/movies/sample_300kbit.mov" -- cp -f sample_300kbit.mov /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample_300kbit.mov /usr/local/movies/ - - echo copying "sample_100kbit.mp4" into "/usr/local/movies/sample_100kbit.mp4" -- cp -f sample_100kbit.mp4 /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample_100kbit.mp4 /usr/local/movies/ - - echo copying "sample_300kbit.mp4" into "/usr/local/movies/sample_300kbit.mp4" -- cp -f sample_300kbit.mp4 /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample_300kbit.mp4 /usr/local/movies/ - - echo copying "sample.mp3" into "/usr/local/movies/sample.mp3" -- cp -f sample.mp3 /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample.mp3 /usr/local/movies/ - - echo copying "sample_50kbit.3gp" into "/usr/local/movies/sample_50kbit.3gp" -- cp -f sample_50kbit.3gp /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample_50kbit.3gp /usr/local/movies/ - - echo copying "sample_h264_100kbit.mp4" into "/usr/local/movies/sample_h264_100kbit.mp4" -- cp -f sample_h264_100kbit.mp4 /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample_h264_100kbit.mp4 /usr/local/movies/ - - echo copying "sample_h264_300kbit.mp4" into "/usr/local/movies/sample_h264_300kbit.mp4" -- cp -f sample_h264_300kbit.mp4 /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample_h264_300kbit.mp4 /usr/local/movies/ - - echo copying "sample_h264_1mbit.mp4" into "/usr/local/movies/sample_h264_1mbit.mp4" -- cp -f sample_h264_1mbit.mp4 /usr/local/movies/ -+ ${BSD_INSTALL_DATA} sample_h264_1mbit.mp4 /usr/local/movies/ - - if [ -e StreamingLoadTool ]; then - echo copying "StreamingLoadTool" to "/usr/local/bin/StreamingLoadTool" -- cp -f StreamingLoadTool /usr/local/bin/ -+ ${BSD_INSTALL_PROGRAM} StreamingLoadTool /usr/local/bin/ - -- echo copying "streamingloadtool.conf" to "/etc/streaming/streamingloadtool.conf" -- cp -f streamingloadtool.conf /etc/streaming/ -+ echo copying "streamingloadtool.conf" to "/etc/streaming/streamingloadtool.conf-dist" -+ ${BSD_INSTALL_DATA} streamingloadtool.conf /etc/streaming/streamingloadtool.conf-dist -+ -+ if [ ! -e /etc/streaming/streamingloadtool.conf ]; then -+ echo;echo copying "streamingloadtool.conf" to "/etc/streaming/streamingloadtool.conf" -+ ${BSD_INSTALL_DATA} streamingloadtool.conf /etc/streaming/streamingloadtool.conf -+ chown qtss /etc/streaming/streamingloadtool.conf -+ chmod 600 /etc/streaming/streamingloadtool.conf -+ fi - fi - - #WebAdmin install - echo copying "streamingadminserver.pl" into "/usr/local/sbin/streamingadminserver.pl" -- cp -f streamingadminserver.pl /usr/local/sbin/streamingadminserver.pl -+ ${BSD_INSTALL_SCRIPT} streamingadminserver.pl /usr/local/sbin/streamingadminserver.pl - - if [ -d /var/streaming/AdminHtml/ ]; then - echo removing old version of html from "/var/streaming/AdminHtml" - rm -r -f /var/streaming/AdminHtml/* - fi - -- if [ ! -d /var/streaming/ ]; then -+ if [ ! -d /var/streaming/AdminHtml ]; then - echo creating "/var/streaming/AdminHtml" directory - mkdir -p /var/streaming/AdminHtml - fi - echo copying Admin HTML to "/var/streaming/AdminHtml" directory -- cp -f -r AdminHtml /var/streaming/ -+ pax -rwpe AdminHtml /var/streaming/ - - - chown -R -f qtss /var/streaming/ - chown -R -f qtss /etc/streaming/ - chown -R -f qtss /usr/local/movies/ - -+if false; then - echo;echo "Launching streamingadminserver.pl" - /usr/local/sbin/streamingadminserver.pl -+fi - - echo;echo Installation Complete - -+if false; then - # Setup for DSS - # Prompts for a username and password - # that can be used to administer the server -@@ -418,6 +440,7 @@ - chown -R -f qtss /etc/streaming/ - - echo Setup Complete! -+fi - - else - diff --git a/net/DarwinStreamingServer/files/patch-MP3Broadcaster__BroadcasterMain.cpp b/net/DarwinStreamingServer/files/patch-MP3Broadcaster__BroadcasterMain.cpp deleted file mode 100644 index 8bd95bf27ad5..000000000000 --- a/net/DarwinStreamingServer/files/patch-MP3Broadcaster__BroadcasterMain.cpp +++ /dev/null @@ -1,29 +0,0 @@ ---- MP3Broadcaster/BroadcasterMain.cpp.orig 2008-05-06 08:28:57.000000000 +0900 -+++ MP3Broadcaster/BroadcasterMain.cpp 2008-06-01 18:05:51.000000000 +0900 -@@ -85,7 +85,7 @@ - char* config = NULL; - char* playList = NULL; - char* workingDir = NULL; -- char ch; -+ int ch; - bool preflight = false; - bool checkMP3s = false; - char* errorlog = NULL; -@@ -112,7 +112,7 @@ - ::exit(0); - } - -- while ( (ch = getopt(argc,argv, "vdixXa:p:c:l:e:w:")) != EOF ) // opt: means requires option -+ while ( (ch = getopt(argc,argv, "vdixXa:p:c:l:e:w:")) != -1 ) // opt: means requires option - { - switch(ch) - { -@@ -216,7 +216,7 @@ - - struct sigaction act; - --#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__sgi__) || defined(__osf__) || defined(__hpux__) || defined(__linuxppc__) -+#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__sgi__) || defined(__osf__) || defined(__hpux__) || defined(__linuxppc__) || defined(__amd64__) - sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_handler = (void(*)(int))&SignalEventHandler; diff --git a/net/DarwinStreamingServer/files/patch-PlaylistBroadcaster.tproj__PlaylistBroadcaster.cpp b/net/DarwinStreamingServer/files/patch-PlaylistBroadcaster.tproj__PlaylistBroadcaster.cpp deleted file mode 100644 index 9f119dac5ad4..000000000000 --- a/net/DarwinStreamingServer/files/patch-PlaylistBroadcaster.tproj__PlaylistBroadcaster.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp.orig 2008-05-06 08:29:00.000000000 +0900 -+++ PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp 2008-06-01 18:07:58.000000000 +0900 -@@ -231,7 +231,7 @@ - #ifdef __Win32__ - while ((anOption = getopt(argc, argv, "vhdcpbDtai:fe:" )) != EOF) - #else -- while ((anOption = getopt(argc, argv, "vhdcpbDls:tai:fe:" )) != EOF) -+ while ((anOption = getopt(argc, argv, "vhdcpbDls:tai:fe:" )) != -1) - #endif - { - -@@ -2082,7 +2082,7 @@ - - struct sigaction act; - --#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__powerpc__) || defined (__sgi_cc__) || defined(__osf__) || defined(__hpux__) -+#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__powerpc__) || defined (__sgi_cc__) || defined(__osf__) || defined(__hpux__) || defined(__amd64__) - sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_handler = (void(*)(int))&SignalEventHandler; diff --git a/net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp b/net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp deleted file mode 100644 index 92f1739f5f12..000000000000 --- a/net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- Server.tproj/main.cpp.orig 2008-05-06 08:28:59.000000000 +0900 -+++ Server.tproj/main.cpp 2008-06-01 18:09:20.000000000 +0900 -@@ -216,7 +216,7 @@ - //(void) ::signal(SIGPIPE, SIG_IGN); - struct sigaction act; - --#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) -+#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) || defined(__amd64__) - sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_handler = (void(*)(int))&sigcatcher; -@@ -306,7 +306,7 @@ - - char* theConfigFilePath = sDefaultConfigFilePath; - char* theXMLFilePath = sDefaultXMLFilePath; -- while ((ch = getopt(argc,argv, "vdfxp:DZ:c:o:S:Ih")) != EOF) // opt: means requires option arg -+ while ((ch = getopt(argc,argv, "vdfxp:DZ:c:o:S:Ih")) != -1) // opt: means requires option arg - { - switch(ch) - { diff --git a/net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp b/net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp deleted file mode 100644 index 205795fc6a33..000000000000 --- a/net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- StreamingLoadTool/StreamingLoadTool.cpp.orig 2008-06-01 18:20:48.000000000 +0900 -+++ StreamingLoadTool/StreamingLoadTool.cpp 2008-06-01 18:31:35.000000000 +0900 -@@ -135,7 +135,7 @@ - #ifndef __Win32__ - struct sigaction act; - --#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) -+#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) || defined(__amd64__) - sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_handler = (void(*)(int))&sigcatcher; diff --git a/net/DarwinStreamingServer/files/patch-StreamingProxy.tproj-proxy.c b/net/DarwinStreamingServer/files/patch-StreamingProxy.tproj-proxy.c deleted file mode 100644 index ea7618d760af..000000000000 --- a/net/DarwinStreamingServer/files/patch-StreamingProxy.tproj-proxy.c +++ /dev/null @@ -1,11 +0,0 @@ ---- StreamingProxy.tproj/proxy.c.orig 2008-05-06 08:28:57.000000000 +0900 -+++ StreamingProxy.tproj/proxy.c 2008-06-01 18:10:57.000000000 +0900 -@@ -204,7 +204,7 @@ - { - int i, j; - int numOptions = 0; // num command line options spec'd -- signed char ch; -+ int ch; - int listening_port = 554, user_listener = false; - time_t time_zero, now, last; - time_t usnow, uslast; diff --git a/net/DarwinStreamingServer/files/patch-WebAdmin__src__streamingadminserver.pl b/net/DarwinStreamingServer/files/patch-WebAdmin__src__streamingadminserver.pl deleted file mode 100644 index 2d1c9206bbb5..000000000000 --- a/net/DarwinStreamingServer/files/patch-WebAdmin__src__streamingadminserver.pl +++ /dev/null @@ -1,11 +0,0 @@ ---- WebAdmin/src/streamingadminserver.pl.orig 2008-05-06 08:28:57.000000000 +0900 -+++ WebAdmin/src/streamingadminserver.pl 2008-06-01 15:51:14.000000000 +0900 -@@ -255,7 +255,7 @@ - "gbrowse", "0", - "ssl", "0", - "crtfile", "/etc/streaming/streamingadminserver.pem", -- "keyfile", "/etc/streaming/streamingadminserver.pem", -+ "keyfile", "/etc/streaming/streamingadminserver.key", - #"keypasswordfile", "", - "qtssQTPasswd", "/usr/local/bin/qtpasswd", - "qtssPlaylistBroadcaster", "/usr/local/bin/PlaylistBroadcaster", diff --git a/net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp b/net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp deleted file mode 100644 index 37139e734bb3..000000000000 --- a/net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- qtpasswd.tproj/QTSSPasswd.cpp.orig 2008-05-06 08:28:58.000000000 +0900 -+++ qtpasswd.tproj/QTSSPasswd.cpp 2008-06-01 18:11:56.000000000 +0900 -@@ -723,7 +723,7 @@ - extern int optind; - - /* Read command line arguments */ -- while ((ch = getopt(argc, argv, "O:f:cg:r:p:P:A:D:C:R:dFhv?")) != EOF) -+ while ((ch = getopt(argc, argv, "O:f:cg:r:p:P:A:D:C:R:dFhv?")) != -1) - { - switch(ch) - { diff --git a/net/DarwinStreamingServer/files/streamingadminserver.in b/net/DarwinStreamingServer/files/streamingadminserver.in deleted file mode 100644 index dde54db34b9c..000000000000 --- a/net/DarwinStreamingServer/files/streamingadminserver.in +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: streamingadminserver -# REQUIRE: login -# -streamingadminserver_enable=${streamingadminserver_enable-"NO"} - -. /etc/rc.subr - -name=streamingadminserver -rcvar=streamingadminserver_enable -command=%%PREFIX%%/sbin/${name}.pl -command_interpreter=%%PERL%% - -load_rc_config ${name} - -pidfile=/var/run/streamingadminserver.pid - -run_rc_command "$1" diff --git a/net/DarwinStreamingServer/pkg-descr b/net/DarwinStreamingServer/pkg-descr deleted file mode 100644 index f2ab21094d17..000000000000 --- a/net/DarwinStreamingServer/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Darwin Streaming Server is server technology which allows you to send -streaming QuickTime data to clients across the Internet using the industry -standard RTP and RTSP protocols. It is based on the same code as Apple's -QuickTime Streaming Server. - -WWW: http://dss.macosforge.org/ -WWW: http://developer.apple.com/darwin/projects/streaming/ diff --git a/net/DarwinStreamingServer/pkg-install b/net/DarwinStreamingServer/pkg-install deleted file mode 100644 index 15a263f356c7..000000000000 --- a/net/DarwinStreamingServer/pkg-install +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ - -PATH=/bin:/usr/sbin - -case $2 in -PRE-INSTALL) - USER=qtss - GROUP=${USER} - UID=554 - GID=${UID} - - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d /noexistant -c "Darwin Streaming Server" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - - ;; - -esac diff --git a/net/DarwinStreamingServer/pkg-message b/net/DarwinStreamingServer/pkg-message deleted file mode 100644 index 11258cb264e0..000000000000 --- a/net/DarwinStreamingServer/pkg-message +++ /dev/null @@ -1,66 +0,0 @@ -=============================================================================== - - * IMPORTANT SETUP NOTICE * IMPORTANT SETUP NOTICE * - -o Set up DSS Administrator Username/Password. - - $Username$ is an account for DSS Administration, e.g. admin, root, etc... - - # qtpasswd -c $Username$ - # echo admin: $Username$ > %%PREFIX%%/etc/streaming/qtgroups - - NOTICE: qtpasswd will create new file with -c option. Please - see also `qtpasswd -h'(mostly same as htpasswd). - - NOTICE: qtgroups file will contain user(s) separated by white space - of group(s). - -o Set up SSL for DSS Administration Tool (If you need) - - Install your SSL Keys to %%PREFIX%%/etc/streaming/ - streamingadminserver.key: SSL Private key - streamingadminserver.pem: SSL Public key - -o Boot DSS Administration Tool - - # echo 'streamingadminserver_enable="YES"' >> /etc/rc.conf - # cd /; env - %%PREFIX%%/etc/rc.d/streamingadminserver.sh start - - (*NOTE*)Darwin Streaming Server will run together. - -o Set up DSS Administration Tool with MSIE(Microsoft Internet Explorer) - - Mozilla, Netscape4/7 and Opera etc... are not useful. DSS Administration - Tool requires MSIE(4.5 and later) J-Script feature. - - http://YOUR.STREAMING.SERVER:1220/ - - If you need SSL, select 'Secure Administration (SSL)' in this setup. - After setup, you can access to - - https://YOUR.STREAMING.SERVER:1240/ - -=============================================================================== - -Related directories - - %%PREFIX%%/etc/streaming - DSS Configuration Directory - %%PREFIX%%/share/DarwinStreamingServer/movies - *Default* Movies Directory - /var/log/streaming - DSS Streaming Log Directory - /var/spool/streaming.playlists - DSS Playlists Directory - -=============================================================================== - - If you want to invoke only Darwin Streaming Server from start-up, put - following lines into /etc/rc.conf. - - darwin_streaming_server_enable="YES" - darwin_streaming_server_flags="" - - If you want to invoke DSS Administration Tool and Darwin Streaming - Server from start-up, do too. - - streamingadminserver_enable="YES" - streamingadminserver_flags="" - -=============================================================================== diff --git a/net/DarwinStreamingServer/pkg-plist b/net/DarwinStreamingServer/pkg-plist deleted file mode 100644 index 7fc0b6820bdc..000000000000 --- a/net/DarwinStreamingServer/pkg-plist +++ /dev/null @@ -1,168 +0,0 @@ -bin/qtpasswd -bin/MP3Broadcaster -bin/PlaylistBroadcaster -bin/StreamingLoadTool -sbin/DarwinStreamingServer -sbin/streamingadminserver.pl -libexec/StreamingServerModules/QTSSRefMovieModule -libexec/StreamingServerModules/QTSSHomeDirectoryModule -@exec mkdir %D/%%DATADIR%% 2>/dev/null || true -@exec mkdir %D/%%DATADIR%%/movies 2>/dev/null || true -%%DATADIR%%/readme.txt -%%DATADIR%%/3rdPartyAcknowledgements.rtf -%%DATADIR%%/AdminHtml/MapUTF.pl -%%DATADIR%%/AdminHtml/access_log.html -%%DATADIR%%/AdminHtml/adminprotocol-lib.pl -%%DATADIR%%/AdminHtml/broadcaster_lib.pl -%%DATADIR%%/AdminHtml/broadcaster_settings.html -%%DATADIR%%/AdminHtml/cgi-lib.pl -%%DATADIR%%/AdminHtml/change_broadcast_password.html -%%DATADIR%%/AdminHtml/change_mp3_password.html -%%DATADIR%%/AdminHtml/change_password.html -%%DATADIR%%/AdminHtml/change_password_redirect.html -%%DATADIR%%/AdminHtml/confirm.html -%%DATADIR%%/AdminHtml/connected.html -%%DATADIR%%/AdminHtml/error_log.html -%%DATADIR%%/AdminHtml/format.html -%%DATADIR%%/AdminHtml/frameset.html -%%DATADIR%%/AdminHtml/general_settings.html -%%DATADIR%%/AdminHtml/html_en/genres -%%DATADIR%%/AdminHtml/html_en/messages -%%DATADIR%%/AdminHtml/images/LB_arrow_dn.gif -%%DATADIR%%/AdminHtml/images/LB_arrow_up.gif -%%DATADIR%%/AdminHtml/images/apple_logo.gif -%%DATADIR%%/AdminHtml/images/arrow_down.gif -%%DATADIR%%/AdminHtml/images/back.gif -%%DATADIR%%/AdminHtml/images/blackpixel.gif -%%DATADIR%%/AdminHtml/images/clearpixel.gif -%%DATADIR%%/AdminHtml/images/dialog_alert.gif -%%DATADIR%%/AdminHtml/images/dialog_bottom.gif -%%DATADIR%%/AdminHtml/images/dialog_bottom_sm.gif -%%DATADIR%%/AdminHtml/images/dialog_middle.gif -%%DATADIR%%/AdminHtml/images/dialog_middle_sm.gif -%%DATADIR%%/AdminHtml/images/dialog_qtss.gif -%%DATADIR%%/AdminHtml/images/dialog_side.gif -%%DATADIR%%/AdminHtml/images/dialog_top.gif -%%DATADIR%%/AdminHtml/images/dialog_top_sm.gif -%%DATADIR%%/AdminHtml/images/divider.gif -%%DATADIR%%/AdminHtml/images/divider_vert.gif -%%DATADIR%%/AdminHtml/images/dot.gif -%%DATADIR%%/AdminHtml/images/folder.gif -%%DATADIR%%/AdminHtml/images/greypixel.gif -%%DATADIR%%/AdminHtml/images/headerpixel.gif -%%DATADIR%%/AdminHtml/images/help.gif -%%DATADIR%%/AdminHtml/images/highlight.gif -%%DATADIR%%/AdminHtml/images/horz_line.gif -%%DATADIR%%/AdminHtml/images/icon_alert.gif -%%DATADIR%%/AdminHtml/images/icon_doc.gif -%%DATADIR%%/AdminHtml/images/icon_error.gif -%%DATADIR%%/AdminHtml/images/icon_folder.gif -%%DATADIR%%/AdminHtml/images/icon_generic.gif -%%DATADIR%%/AdminHtml/images/icon_group.gif -%%DATADIR%%/AdminHtml/images/icon_movie.gif -%%DATADIR%%/AdminHtml/images/icon_movie_off.gif -%%DATADIR%%/AdminHtml/images/icon_playlist.gif -%%DATADIR%%/AdminHtml/images/icon_playlist_off.gif -%%DATADIR%%/AdminHtml/images/icon_start_playlist.gif -%%DATADIR%%/AdminHtml/images/icon_stop_playlist.gif -%%DATADIR%%/AdminHtml/images/icon_user.gif -%%DATADIR%%/AdminHtml/images/invis_dragcover.gif -%%DATADIR%%/AdminHtml/images/line.gif -%%DATADIR%%/AdminHtml/images/link.gif -%%DATADIR%%/AdminHtml/images/link_disabled.gif -%%DATADIR%%/AdminHtml/images/mp3_file.gif -%%DATADIR%%/AdminHtml/images/nav_help.gif -%%DATADIR%%/AdminHtml/images/nav_logo.gif -%%DATADIR%%/AdminHtml/images/nav_logo_small.gif -%%DATADIR%%/AdminHtml/images/pixel.gif -%%DATADIR%%/AdminHtml/images/scroll_arrow_down.gif -%%DATADIR%%/AdminHtml/images/scroll_arrow_up.gif -%%DATADIR%%/AdminHtml/images/scroll_bg.gif -%%DATADIR%%/AdminHtml/images/scroll_bg_inactive.gif -%%DATADIR%%/AdminHtml/images/scroll_thumb.gif -%%DATADIR%%/AdminHtml/images/sort_arrow.gif -%%DATADIR%%/AdminHtml/images/sort_arrow_desc.gif -%%DATADIR%%/AdminHtml/images/spacer.gif -%%DATADIR%%/AdminHtml/images/stripes_gray.gif -%%DATADIR%%/AdminHtml/images/stripes_gray_dark.gif -%%DATADIR%%/AdminHtml/images/trashcan.gif -%%DATADIR%%/AdminHtml/images/vert_line.gif -%%DATADIR%%/AdminHtml/images/weight_up_arrow.gif -%%DATADIR%%/AdminHtml/images/whitepixel.gif -%%DATADIR%%/AdminHtml/images/wieght_down_arrow.gif -%%DATADIR%%/AdminHtml/includes/DarwinDragWidget.js -%%DATADIR%%/AdminHtml/includes/DarwinListbox.js -%%DATADIR%%/AdminHtml/includes/draglib.js -%%DATADIR%%/AdminHtml/includes/encode_unicode.js -%%DATADIR%%/AdminHtml/includes/standardNav.js -%%DATADIR%%/AdminHtml/index.html -%%DATADIR%%/AdminHtml/listbox.html -%%DATADIR%%/AdminHtml/listbox2.html -%%DATADIR%%/AdminHtml/log_settings.html -%%DATADIR%%/AdminHtml/login.html -%%DATADIR%%/AdminHtml/nav.html -%%DATADIR%%/AdminHtml/parse_xml.cgi -%%DATADIR%%/AdminHtml/password-utils.pl -%%DATADIR%%/AdminHtml/playlist-lib.pl -%%DATADIR%%/AdminHtml/playlist_detail.html -%%DATADIR%%/AdminHtml/playlist_error_log.html -%%DATADIR%%/AdminHtml/playlists.html -%%DATADIR%%/AdminHtml/ports.html -%%DATADIR%%/AdminHtml/relay.html -%%DATADIR%%/AdminHtml/relay_details.html -%%DATADIR%%/AdminHtml/relay_details_default.html -%%DATADIR%%/AdminHtml/relay_status.html -%%DATADIR%%/AdminHtml/relay_targets.html -%%DATADIR%%/AdminHtml/relayxmlparser.pl -%%DATADIR%%/AdminHtml/restart_broadcaster.html -%%DATADIR%%/AdminHtml/setup_assistant.html -%%DATADIR%%/AdminHtml/setup_assistant2.html -%%DATADIR%%/AdminHtml/setup_assistant3.html -%%DATADIR%%/AdminHtml/setup_assistant4.html -%%DATADIR%%/AdminHtml/setup_assistant5.html -%%DATADIR%%/AdminHtml/start_broadcaster.html -%%DATADIR%%/AdminHtml/start_server.html -%%DATADIR%%/AdminHtml/startplaylists.pl -%%DATADIR%%/AdminHtml/tag_formats.pl -%%DATADIR%%/AdminHtml/tag_types.pl -%%DATADIR%%/AdminHtml/tag_vals.pl -%%DATADIR%%/AdminHtml/template.html -%%DATADIR%%/AdminHtml/template_blank.html -%%DATADIR%%/AdminHtml/top.html -%%DATADIR%%/AdminHtml/users.html -%%DATADIR%%/AdminHtml/view_broadcast.cgi -%%DATADIR%%/AdminHtml/welcome.html -%%DATADIR%%/movies/sample.mp3 -%%DATADIR%%/movies/sample_100kbit.mov -%%DATADIR%%/movies/sample_100kbit.mp4 -%%DATADIR%%/movies/sample_300kbit.mov -%%DATADIR%%/movies/sample_300kbit.mp4 -%%DATADIR%%/movies/sample_50kbit.3gp -%%DATADIR%%/movies/sample_h264_100kbit.mp4 -%%DATADIR%%/movies/sample_h264_1mbit.mp4 -%%DATADIR%%/movies/sample_h264_300kbit.mp4 -etc/streaming/qtusers-dist -etc/streaming/qtgroups-dist -@unexec if cmp -s %D/etc/streaming/relayconfig.xml %D/etc/streaming/relayconfig.xml-dist; then rm -f %D/etc/streaming/relayconfig.xml; fi -etc/streaming/relayconfig.xml-dist -@exec [ ! -f %B/relayconfig.xml ] && cp %B/%f %B/relayconfig.xml -@unexec if cmp -s %D/etc/streaming/streamingserver.xml %D/etc/streaming/streamingserver.xml-dist; then rm -f %D/etc/streaming/streamingserver.xml; fi -etc/streaming/streamingserver.xml-dist -@exec [ ! -f %B/streamingserver.xml ] && cp %B/%f %B/streamingserver.xml -@unexec if cmp -s %D/etc/streaming/streamingloadtool.conf %D/etc/streaming/streamingloadtool.conf-dist; then rm -f %D/etc/streaming/streamingloadtool.conf; fi -etc/streaming/streamingloadtool.conf-dist -@exec [ ! -f %B/streamingloadtool.conf ] && cp %B/%f %B/streamingloadtool.conf -@dirrm %%DATADIR%%/AdminHtml/includes -@dirrm %%DATADIR%%/AdminHtml/images -@dirrm %%DATADIR%%/AdminHtml/html_en -@dirrm %%DATADIR%%/AdminHtml -@dirrmtry %%DATADIR%%/movies -@dirrmtry %%DATADIR%% -@dirrmtry libexec/StreamingServerModules -@exec mkdir %D/libexec/StreamingServerModules 2>/dev/null || true -@dirrmtry etc/streaming -@unexec rmdir /var/spool/streaming.playlists 2>/dev/null || true -@exec mkdir /var/spool/streaming.playlists 2>/dev/null || true -@exec chown -Rh qtss:qtss /var/spool/streaming.playlists -@unexec rmdir /var/log/streaming 2>/dev/null || true -@exec mkdir /var/log/streaming 2>/dev/null || true |