From 5315609476c236d0560a2d802fa7285082fda6e5 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Tue, 7 Dec 2004 23:34:54 +0000 Subject: Nuking darwin-streaming-server. Security holes, bad ebuild, and bad upstream support. --- media-video/darwin-streaming-server/ChangeLog | 19 -- media-video/darwin-streaming-server/Manifest | 16 -- .../darwin-streaming-server-5.0.1.1.ebuild | 90 ------- .../darwin-streaming-server-5.0.1.1-gentoo.patch | 271 --------------------- .../files/digest-darwin-streaming-server-5.0.1.1 | 1 - media-video/darwin-streaming-server/files/dss.rc | 20 -- media-video/darwin-streaming-server/metadata.xml | 10 - 7 files changed, 427 deletions(-) delete mode 100644 media-video/darwin-streaming-server/ChangeLog delete mode 100644 media-video/darwin-streaming-server/Manifest delete mode 100644 media-video/darwin-streaming-server/darwin-streaming-server-5.0.1.1.ebuild delete mode 100644 media-video/darwin-streaming-server/files/darwin-streaming-server-5.0.1.1-gentoo.patch delete mode 100644 media-video/darwin-streaming-server/files/digest-darwin-streaming-server-5.0.1.1 delete mode 100644 media-video/darwin-streaming-server/files/dss.rc delete mode 100644 media-video/darwin-streaming-server/metadata.xml (limited to 'media-video') diff --git a/media-video/darwin-streaming-server/ChangeLog b/media-video/darwin-streaming-server/ChangeLog deleted file mode 100644 index a722c1241758..000000000000 --- a/media-video/darwin-streaming-server/ChangeLog +++ /dev/null @@ -1,19 +0,0 @@ -# ChangeLog for media-video/darwin-streaming-server -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/darwin-streaming-server/ChangeLog,v 1.4 2004/11/03 06:49:22 eradicator Exp $ - - 02 Nov 2004; Jeremy Huddleston - darwin-streaming-server-5.0.1.1.ebuild: - Added unzip DEP. - - 01 Jul 2004; Jeremy Huddleston - darwin-streaming-server-5.0.1.1.ebuild: - virtual/glibc -> virtual/libc - -*darwin-streaming-server-5.0.1.1 (24 Mar 2004) - - 24 Mar 2004; Jeremy Huddleston - darwin-streaming-server-5.0.1.1.ebuild, metadata.xml, - files/darwin-streaming-server-5.0.1.1-gentoo.patch, files/dss.rc: - ebuild submitted by negge@vt.edu in bug #39836. - diff --git a/media-video/darwin-streaming-server/Manifest b/media-video/darwin-streaming-server/Manifest deleted file mode 100644 index 4d909bff2b9d..000000000000 --- a/media-video/darwin-streaming-server/Manifest +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 33824d724b1300f63e08f56e34554cfb ChangeLog 778 -MD5 6078cd8699e0d48abc675c1ea4a736b3 darwin-streaming-server-5.0.1.1.ebuild 2357 -MD5 ad1f9f62a1fdf83e8f16724cd8b4f408 metadata.xml 274 -MD5 776dce903846a8b38866c304b5bebbc0 files/darwin-streaming-server-5.0.1.1-gentoo.patch 11567 -MD5 2d3d6663528484c8db4e42817f1e7e13 files/digest-darwin-streaming-server-5.0.1.1 76 -MD5 02f67a617032bd86dee3278b1f76ec93 files/dss.rc 445 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBiH+BArHZZzCEUG0RAuvYAJ90QWg7huGzLqhn/smMyVaZbugpOgCcD3jV -sSSc4RbcY/FgF1zBi50zPiY= -=KBUw ------END PGP SIGNATURE----- diff --git a/media-video/darwin-streaming-server/darwin-streaming-server-5.0.1.1.ebuild b/media-video/darwin-streaming-server/darwin-streaming-server-5.0.1.1.ebuild deleted file mode 100644 index c789362a4876..000000000000 --- a/media-video/darwin-streaming-server/darwin-streaming-server-5.0.1.1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/darwin-streaming-server/darwin-streaming-server-5.0.1.1.ebuild,v 1.4 2004/11/03 06:49:22 eradicator Exp $ - -inherit eutils - -MY_P="DarwinStreamingSrc${PV}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Darwin Streaming Server allows you to send streaming media across the Internet using the industry standard RTP and RTSP protocols." -HOMEPAGE="http://developer.apple.com/darwin/projects/streaming/" -SRC_URI="http://www.opensource.apple.com/projects/streaming/release/${MY_P}.zip" -RESTRICT="fetch" - -LICENSE="APSL-2" - -SLOT="0" -KEYWORDS="~x86" -IUSE="ssl" - -RDEPEND="virtual/libc" -DEPEND="app-arch/unzip" - -RDEPEND="${DEPEND} - dev-lang/perl - ssl? ( dev-perl/Net-SSLeay )" - -DEPEND="${DEPEND} - app-arch/unzip" - -src_unpack() { - unpack ${A} - - #Apply the patch to set proper FHS paths - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.patch -} - -src_compile() { - #Run the included build script - ./Buildit || die -} - -src_install() { - #Binarys go in here - into /usr - dosbin DarwinStreamingServer - dobin PlaylistBroadcaster.tproj/PlaylistBroadcaster - dobin MP3Broadcaster/MP3Broadcaster - dobin qtpasswd.tproj/qtpasswd - dobin WebAdmin/src/streamingadminserver.pl - dobin StreamingProxy.tproj/StreamingProxy - - #StreamingServerModules go in here - keepdir /usr/lib/dss - - #Configuration files go in here - dodir /etc/dss - insinto /etc/dss - newins streamingserver.xml-POSIX streamingserver.xml - newins streamingserver.xml-POSIX streamingserver.xml-sample - doins relayconfig.xml-Sample - doins qtusers - doins qtgroups - doins qtaccess - doins WebAdmin/streamingadminserver.conf - doins StreamingProxy.tproj/streamingproxy.conf - newins WebAdmin/streamingadminserver.pem streamingadminserver.pem-sample - - #Server rc scripts go in here - insinto /etc/init.d - newins ${FILESDIR}/dss.rc dss - chmod +x ${D}/etc/init.d/dss - - #Log files are generated in here - keepdir /var/log/dss - - #The admin web application goes in here - dodir /var/lib/dss - cp -ax WebAdmin/WebAdminHtml ${D}/var/lib/dss/admin - dodir /var/lib/dss/media - cp -ax sample* ${D}/var/lib/dss/media - keepdir /var/lib/dss/media/http - keepdir /var/lib/dss/media/playlists - - #Documentation goes in here - dodoc ReleaseNotes.txt - dodoc Documentation/* - dodoc StreamingProxy.tproj/StreamingProxy.html -} diff --git a/media-video/darwin-streaming-server/files/darwin-streaming-server-5.0.1.1-gentoo.patch b/media-video/darwin-streaming-server/files/darwin-streaming-server-5.0.1.1-gentoo.patch deleted file mode 100644 index 6b5e81e40c3e..000000000000 --- a/media-video/darwin-streaming-server/files/darwin-streaming-server-5.0.1.1-gentoo.patch +++ /dev/null @@ -1,271 +0,0 @@ -diff -Nru DarwinStreamingSrc5.0.orig/WebAdmin/src/streamingadminserver.pl DarwinStreamingSrc5.0/WebAdmin/src/streamingadminserver.pl ---- DarwinStreamingSrc5.0.orig/WebAdmin/src/streamingadminserver.pl 2003-10-27 19:43:24.000000000 -0500 -+++ DarwinStreamingSrc5.0/WebAdmin/src/streamingadminserver.pl 2004-01-29 20:12:30.000000000 -0500 -@@ -78,7 +78,7 @@ - $defaultConfigPath = "/Library/QuickTimeStreaming/Config/streamingadminserver.conf"; - } - else { -- $defaultConfigPath = "/etc/streaming/streamingadminserver.conf"; -+ $defaultConfigPath = "/etc/dss/streamingadminserver.conf"; - } - - $debug = 0; -@@ -229,8 +229,8 @@ - else { - %vital = ("port", 1220, - "sslport", 1240, -- "root", "/var/streaming/AdminHtml", -- "plroot", "/var/streaming/playlists/", -+ "root", "/var/lib/dss/admin", -+ "plroot", "/var/lib/dss/media/playlists/", - "server", "DSS 5.0 Admin Server/1.0", - "index_docs", "index.html parse_xml.cgi index.htm index.cgi", - "addtype_html", "text/html", -@@ -245,28 +245,28 @@ - "realm", "DSS Admin Server", - "qtssIPAddress", "localhost", - "qtssPort", "554", -- "qtssName", "/usr/local/sbin/DarwinStreamingServer", -+ "qtssName", "/usr/sbin/DarwinStreamingServer", - "qtssAutoStart", "1", -- "logfile", "/var/streaming/logs/streamingadminserver.log", -+ "logfile", "/var/log/dss/streamingadminserver.log", - "log", "1", - "logclear", "0", - "logtime", "168", - "messagesfile", "messages", - "gbrowse", "0", - "ssl", "0", -- "crtfile", "/etc/streaming/streamingadminserver.pem", -- "keyfile", "/etc/streaming/streamingadminserver.pem", -+ "crtfile", "/etc/dss/streamingadminserver.pem", -+ "keyfile", "/etc/dss/streamingadminserver.pem", - #"keypasswordfile", "", -- "qtssQTPasswd", "/usr/local/bin/qtpasswd", -- "qtssPlaylistBroadcaster", "/usr/local/bin/PlaylistBroadcaster", -- "qtssMP3Broadcaster", "/usr/local/bin/MP3Broadcaster", -+ "qtssQTPasswd", "/usr/bin/qtpasswd", -+ "qtssPlaylistBroadcaster", "/usr/bin/PlaylistBroadcaster", -+ "qtssMP3Broadcaster", "/usr/bin/MP3Broadcaster", - "helpurl", "http://helpqt.apple.com/dssWebAdminHelpR3/dssWebAdmin.help/DSSHelp.htm", - "tempfileloc", "/tmp", - "qtssAdmin", "streamingadmin", - "cacheMessageFiles", "0", - "pidfile", "/var/run/streamingadminserver.pid", -- "runUser", "qtss", -- "runGroup", "qtss", -+ "runUser", "nobody", -+ "runGroup", "nogroup", - "cookieExpireSeconds", "600" - ); - } -diff -Nru DarwinStreamingSrc5.0.orig/WebAdmin/streamingadminserver.conf DarwinStreamingSrc5.0/WebAdmin/streamingadminserver.conf ---- DarwinStreamingSrc5.0.orig/WebAdmin/streamingadminserver.conf 2001-08-10 16:29:43.000000000 -0400 -+++ DarwinStreamingSrc5.0/WebAdmin/streamingadminserver.conf 2004-01-29 22:30:16.000000000 -0500 -@@ -6,11 +6,11 @@ - - # The root directory for all the html and cgi files - # The path should be absolute --root=/Library/QuickTimeStreaming/AdminHtml -+root=/var/lib/dss/admin - - # The root directory for play lists managed by the adminserver - # The path should be absolute --plroot=/Library/QuickTimeStreaming/Playlists -+plroot=/var/lib/dss/media/playlists - - # The host name of the streaming admin server - host=foo.bar.com -@@ -22,7 +22,7 @@ - qtssPort=554 - - # The name of the streaming server binary --qtssName=/usr/sbin/QuickTimeStreamingServer -+qtssName=/usr/sbin/DarwinStreamingServer - - # If set to 1, admin server will start qtss when it is launched - # If set to 0, qtss will not be launched when the admin starts up -@@ -41,7 +41,7 @@ - log=1 - - # The full path of the streaming admin server log file --logfile=/Library/QuickTimeStreaming/Logs/streamingadminserver.log -+logfile=/var/log/dss/streamingadminserver.log - - # Number of hours before which logs are rolled - logtime=168 -diff -Nru DarwinStreamingSrc5.0.orig/defaultPaths.h DarwinStreamingSrc5.0/defaultPaths.h ---- DarwinStreamingSrc5.0.orig/defaultPaths.h 2003-11-12 20:02:58.000000000 -0500 -+++ DarwinStreamingSrc5.0/defaultPaths.h 2004-01-29 18:41:44.000000000 -0500 -@@ -58,11 +58,11 @@ - - # define DEFAULTPATHS_DIRECTORY_SEPARATOR "/" - --# define DEFAULTPATHS_ETC_DIR "/etc/streaming/" --# define DEFAULTPATHS_ETC_DIR_OLD "/etc/" --# define DEFAULTPATHS_SSM_DIR "/usr/local/sbin/StreamingServerModules/" --# define DEFAULTPATHS_LOG_DIR "/var/streaming/logs/" --# define DEFAULTPATHS_MOVIES_DIR "/usr/local/movies/" -+# define DEFAULTPATHS_ETC_DIR "/etc/dss/" -+# define DEFAULTPATHS_ETC_DIR_OLD "/etc/dss/" -+# define DEFAULTPATHS_SSM_DIR "/usr/lib/dss/" -+# define DEFAULTPATHS_LOG_DIR "/var/log/dss/" -+# define DEFAULTPATHS_MOVIES_DIR "/var/lib/dss/media/" - # define DEFAULTPATHS_PID_DIR "/var/run/" - - #endif -diff -Nru DarwinStreamingSrc5.0.orig/qtaccess DarwinStreamingSrc5.0/qtaccess ---- DarwinStreamingSrc5.0.orig/qtaccess 2003-11-12 20:02:58.000000000 -0500 -+++ DarwinStreamingSrc5.0/qtaccess 2004-01-29 17:15:13.000000000 -0500 -@@ -26,7 +26,7 @@ - # If not given, the default filename is /etc/streaming/qtusers for POSIX - # usage: AuthUserFile - #AuthUserFile /etc/streaming/qtusers --AuthUserFile /Library/QuickTimeStreaming/Config/qtusers -+AuthUserFile /etc/dss/qtusers - - # AuthGroupFile: The filename that contains the groups and the - # users that belong to each group -@@ -34,7 +34,7 @@ - # If not given, the default filename is /etc/streaming/qtgroups for POSIX - # usage: AuthGroupFile - #AuthGroupFile /etc/streaming/qtgroups --AuthGroupFile /Library/QuickTimeStreaming/Config/qtgroups -+AuthGroupFile /etc/dss/qtgroups - - # require user: The names next to this specify which user - # is allowed to access the media in this folder -@@ -60,8 +60,8 @@ - # usage: ... - - AuthName "streaming server broadcaster realm" -- AuthUserFile /Library/QuickTimeStreaming/Config/qtbroadcastusers -- AuthGroupFile /Library/QuickTimeStreaming/Config/qtbroadcastgroups -+ AuthUserFile /etc/dss/qtbroadcastusers -+ AuthGroupFile /etc/dss/qtbroadcastgroups - require group broadcaster - - -diff -Nru DarwinStreamingSrc5.0.orig/qtgroups DarwinStreamingSrc5.0/qtgroups ---- DarwinStreamingSrc5.0.orig/qtgroups 2003-11-12 20:02:58.000000000 -0500 -+++ DarwinStreamingSrc5.0/qtgroups 2004-01-29 17:15:32.000000000 -0500 -@@ -1 +1 @@ --admin: aGFja21l -+admin: -diff -Nru DarwinStreamingSrc5.0.orig/qtusers DarwinStreamingSrc5.0/qtusers ---- DarwinStreamingSrc5.0.orig/qtusers 2003-11-12 20:02:58.000000000 -0500 -+++ DarwinStreamingSrc5.0/qtusers 2004-01-29 17:16:34.000000000 -0500 -@@ -1,2 +1 @@ - realm Streaming Server --aGFja21l:0muym.z3yrHSw:fa000739887bb2871bcf0c9201b5ebd5 -diff -Nru DarwinStreamingSrc5.0.orig/streamingserver.xml-POSIX DarwinStreamingSrc5.0/streamingserver.xml-POSIX ---- DarwinStreamingSrc5.0.orig/streamingserver.xml-POSIX 2003-11-12 20:03:01.000000000 -0500 -+++ DarwinStreamingSrc5.0/streamingserver.xml-POSIX 2004-01-29 17:22:15.000000000 -0500 -@@ -1,5 +1,5 @@ - -- -+ - - -@@ -79,7 +79,7 @@ - 7 - - -- /var/streaming/logs -+ /var/log/dss - - - Error -@@ -88,7 +88,7 @@ - /var/run/DarwinStreamingServer.pid - - -- /usr/local/sbin/StreamingServerModules -+ /usr/lib/dss - - - -@@ -117,7 +117,7 @@ - 0 - - -- /usr/local/movies/ -+ /var/lib/dss/media - - - -@@ -141,10 +141,10 @@ - 0 - - -- -+ nobody - - -- -+ nogroup - - - -@@ -293,10 +293,10 @@ - 10240000 - - -- /var/streaming/logs -+ /var/log/dss - - -- StreamingServer -+ dss.log - - - -@@ -364,7 +364,7 @@ - mp3_access - - -- /var/streaming/logs -+ /var/log/dss - - - -@@ -396,14 +396,14 @@ - false - - -- /usr/local/movies/http -+ /var/lib/dss/media/http - - - true - - Http - -- /var/streaming/logs -+ /var/log/dss - - - 256000 -@@ -518,7 +518,7 @@ - - - -- /etc/streaming/relayconfig.xml -+ /etc/dss/relayconfig.xml - - - -@@ -530,10 +530,10 @@ - qtaccess - - -- /etc/streaming/qtgroups -+ /etc/dss/qtgroups - - -- /etc/streaming/qtusers -+ /etc/dss/qtusers - - - diff --git a/media-video/darwin-streaming-server/files/digest-darwin-streaming-server-5.0.1.1 b/media-video/darwin-streaming-server/files/digest-darwin-streaming-server-5.0.1.1 deleted file mode 100644 index 5c82facf997a..000000000000 --- a/media-video/darwin-streaming-server/files/digest-darwin-streaming-server-5.0.1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 09988fb421053f8222715a7746973fae DarwinStreamingSrc5.0.1.1.zip 11194374 diff --git a/media-video/darwin-streaming-server/files/dss.rc b/media-video/darwin-streaming-server/files/dss.rc deleted file mode 100644 index fbf54f0bc364..000000000000 --- a/media-video/darwin-streaming-server/files/dss.rc +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need net - use dns -} - -start() { - ebegin "Starting Darwin Streaming Server" - start-stop-daemon --quiet --start --exec /usr/sbin/DarwinStreamingServer - eend $? -} - -stop() { - ebegin "Stopping Darwin Streaming Server" - start-stop-daemon --quiet --stop --exec /usr/sbin/DarwinStreamingServer - eend $? -} diff --git a/media-video/darwin-streaming-server/metadata.xml b/media-video/darwin-streaming-server/metadata.xml deleted file mode 100644 index 6bf5187057de..000000000000 --- a/media-video/darwin-streaming-server/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -video -sound - - eradicator@gentoo.org - Jeremy Huddleston - - -- cgit v1.2.3-65-gdbad