From 8ebf8af9101484a4bc9798ee83ac203be2ac44e8 Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Tue, 26 Apr 2016 17:26:53 +0900 Subject: [PATCH] media-sound/shoutcast-trans-bin: package removed per security bug 261182 --- media-sound/shoutcast-trans-bin/Manifest | 1 - .../shoutcast-trans-bin/files/shoutcast_trans | 32 --------- media-sound/shoutcast-trans-bin/metadata.xml | 8 --- .../shoutcast-trans-bin-0.4.0-r1.ebuild | 67 ------------------- 4 files changed, 108 deletions(-) delete mode 100644 media-sound/shoutcast-trans-bin/Manifest delete mode 100644 media-sound/shoutcast-trans-bin/files/shoutcast_trans delete mode 100644 media-sound/shoutcast-trans-bin/metadata.xml delete mode 100644 media-sound/shoutcast-trans-bin/shoutcast-trans-bin-0.4.0-r1.ebuild diff --git a/media-sound/shoutcast-trans-bin/Manifest b/media-sound/shoutcast-trans-bin/Manifest deleted file mode 100644 index 071e4afa1776..000000000000 --- a/media-sound/shoutcast-trans-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sc_trans_posix_040.tgz 351390 SHA256 b2aea79b034f227fcadc10c1c45bab769fa00b9a4990d849e73028872c95e232 diff --git a/media-sound/shoutcast-trans-bin/files/shoutcast_trans b/media-sound/shoutcast-trans-bin/files/shoutcast_trans deleted file mode 100644 index 4d4a779db3e4..000000000000 --- a/media-sound/shoutcast-trans-bin/files/shoutcast_trans +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -depend() { - need localmount - need shoutcast -} - -checkconfig() { - if ! [ -f /etc/shoutcast/sc_trans.conf ] ; then - eerror "Configuration file /etc/shoutcast/sc_trans.conf does not exist!" - return 1 - fi - - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting Shoutcast Trans" - start-stop-daemon --start --quiet -m --pidfile /var/run/shoutcast_trans.pid --exec /opt/shoutcast/sc_trans_linux /etc/shoutcast/sc_trans.conf > /dev/null & - eend $? -} - -stop() { - ebegin "Stopping Shoutcast Trans" - start-stop-daemon --stop --quiet --pidfile /var/run/shoutcast_trans.pid - eend $? -} diff --git a/media-sound/shoutcast-trans-bin/metadata.xml b/media-sound/shoutcast-trans-bin/metadata.xml deleted file mode 100644 index c870d0eef0ab..000000000000 --- a/media-sound/shoutcast-trans-bin/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - sound@gentoo.org - Gentoo Sound project - - diff --git a/media-sound/shoutcast-trans-bin/shoutcast-trans-bin-0.4.0-r1.ebuild b/media-sound/shoutcast-trans-bin/shoutcast-trans-bin-0.4.0-r1.ebuild deleted file mode 100644 index 910ebae7510c..000000000000 --- a/media-sound/shoutcast-trans-bin/shoutcast-trans-bin-0.4.0-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils - -SVER=${PV//./} - -DESCRIPTION="A transcoder that provides a source for shoutcast-server-bin to stream from" -HOMEPAGE="http://www.shoutcast.com/" -SRC_URI="http://yp.shoutcast.com/downloads/sc_trans_posix_${SVER}.tgz" - -LICENSE="shoutcast" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="" - -RDEPEND="media-sound/shoutcast-server-bin" - -S=${WORKDIR}/sc_trans_${SVER} - -RESTRICT="fetch" - -pkg_nofetch() { - einfo "Download sc_trans_posix_${SVER}.tgz from ${HOMEPAGE}." - einfo "Last known working location is ${SRC_URI}." -} - -src_install() { - # install executable - exeinto /opt/shoutcast - doexe sc_trans_linux - - # install the init.d file - doinitd "${FILESDIR}"/shoutcast_trans - - # install sample configuration file - dodoc example.lst - cp sc_trans.conf sc_trans.conf.example - dodoc sc_trans.conf.example - - # install configuration file - sed -e "s/LogFile=sc_trans\.log/LogFile=\/dev\/null/" -i sc_trans.conf - # filter out some midly offensive stuff in the config file - sed -e "s|^StreamTitle=.*|StreamTitle=Example Stream|" -i sc_trans.conf - sed -e "s|^StreamURL=.*|StreamURL=http://examplestream.com/|" -i sc_trans.conf - sed -e "s|^PlaylistFile=.*|PlaylistFile=/opt/shoutcast/playlists/example.lst|" -i sc_trans.conf - insinto /etc/shoutcast - doins sc_trans.conf - - # create a directory for playlists to be put - keepdir /opt/shoutcast/playlists - - # Fix permissions - security bug #63551 - fperms 600 /etc/shoutcast/sc_trans.conf -} - -pkg_postinst() { - elog "Shoutcast-trans can be started via the init.d script provided." - elog "start it with /etc/init.d/shoutcast_trans" - elog - elog "The configuration file is /etc/shoutcast/sc_trans.conf." - elog "Please have a look at the playlist file setting." - elog "A sample playlist file can be found under /usr/share/doc/$P." - elog "It also contains instructions how to build a playlist." - elog "A directory /opt/shoutcast/playlists has been created for storing playlists." -} -- 2.26.2