diff options
author | Aaron Bauman <bman@gentoo.org> | 2016-04-26 17:26:53 +0900 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2016-04-26 17:26:53 +0900 |
commit | 8ebf8af9101484a4bc9798ee83ac203be2ac44e8 (patch) | |
tree | d3085f1b43b01fd411f729e1d4e7fdf155b04148 /media-sound | |
parent | media-sound/shoutcast-server-bin: package removed per security bug 261182 (diff) | |
download | gentoo-8ebf8af9101484a4bc9798ee83ac203be2ac44e8.tar.gz gentoo-8ebf8af9101484a4bc9798ee83ac203be2ac44e8.tar.bz2 gentoo-8ebf8af9101484a4bc9798ee83ac203be2ac44e8.zip |
media-sound/shoutcast-trans-bin: package removed per security bug 261182
Diffstat (limited to 'media-sound')
4 files changed, 0 insertions, 108 deletions
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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sound@gentoo.org</email> - <name>Gentoo Sound project</name> -</maintainer> -</pkgmetadata> 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." -} |