* [gentoo-commits] repo/gentoo:master commit in: media-sound/shoutcast-trans-bin/, media-sound/shoutcast-trans-bin/files/
@ 2016-04-26 8:34 Aaron Bauman
0 siblings, 0 replies; only message in thread
From: Aaron Bauman @ 2016-04-26 8:34 UTC (permalink / raw
To: gentoo-commits
commit: 8ebf8af9101484a4bc9798ee83ac203be2ac44e8
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 08:26:53 2016 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 08:26:53 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ebf8af9
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(-)
diff --git a/media-sound/shoutcast-trans-bin/Manifest b/media-sound/shoutcast-trans-bin/Manifest
deleted file mode 100644
index 071e4af..0000000
--- 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 4d4a779..0000000
--- 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 c870d0e..0000000
--- 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 910ebae..0000000
--- 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."
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-26 8:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 8:34 [gentoo-commits] repo/gentoo:master commit in: media-sound/shoutcast-trans-bin/, media-sound/shoutcast-trans-bin/files/ Aaron Bauman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox