summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-04-18 09:55:13 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-04-18 09:55:13 +0000
commit182b08f95296dac0b671bc1cf34a67817f6c6c0d (patch)
treebab75e8f3c2515b5a086d80521057dce2bf4eb44 /media-sound
parentStable on alpha wrt security #168878 (diff)
downloadgentoo-2-182b08f95296dac0b671bc1cf34a67817f6c6c0d.tar.gz
gentoo-2-182b08f95296dac0b671bc1cf34a67817f6c6c0d.tar.bz2
gentoo-2-182b08f95296dac0b671bc1cf34a67817f6c6c0d.zip
Version bump, bug #168765
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/shoutcast-server-bin/ChangeLog8
-rw-r--r--media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.83
-rw-r--r--media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8.ebuild85
3 files changed, 95 insertions, 1 deletions
diff --git a/media-sound/shoutcast-server-bin/ChangeLog b/media-sound/shoutcast-server-bin/ChangeLog
index 6d3d8a58fbed..703ba808e1a6 100644
--- a/media-sound/shoutcast-server-bin/ChangeLog
+++ b/media-sound/shoutcast-server-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/shoutcast-server-bin
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v 1.17 2007/01/05 17:55:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v 1.18 2007/04/18 09:55:13 aballier Exp $
+
+*shoutcast-server-bin-1.9.8 (18 Apr 2007)
+
+ 18 Apr 2007; Alexis Ballier <aballier@gentoo.org>
+ +shoutcast-server-bin-1.9.8.ebuild:
+ Version bump, bug #168765
05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
shoutcast-server-bin-1.9.7.ebuild:
diff --git a/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.8 b/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.8
new file mode 100644
index 000000000000..b5faac9a5b43
--- /dev/null
+++ b/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.8
@@ -0,0 +1,3 @@
+MD5 72f9f5ec8d680bff60ba47dd21b0fe4a sc_serv_1.9.8_Linux.tar.gz 60840
+RMD160 b3618ece0a8939b826776fef313707675e846ece sc_serv_1.9.8_Linux.tar.gz 60840
+SHA256 bb3a6eea5178ee79a014bbf0192bc44447c7a0c4fceb8872b9580153ba434fe6 sc_serv_1.9.8_Linux.tar.gz 60840
diff --git a/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8.ebuild b/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8.ebuild
new file mode 100644
index 000000000000..ab4e50eb39d5
--- /dev/null
+++ b/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8.ebuild,v 1.1 2007/04/18 09:55:13 aballier Exp $
+
+IUSE=""
+
+inherit eutils
+
+SVER=${PV//./-}
+RESTRICT="fetch nostrip"
+DESCRIPTION="${PN} is a network streaming server by Nullsoft."
+HOMEPAGE="http://www.shoutcast.com/download/license.phtml"
+SRC_URI="sc_serv_${PV}_Linux.tar.gz"
+LICENSE="shoutcast"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+DEPEND=""
+
+S="${WORKDIR}/"
+
+pkg_nofetch() {
+ elog "Please download ${A} from:"
+ elog "${HOMEPAGE}"
+ elog "and move it to ${DISTDIR}"
+}
+
+src_compile() {
+ elog "Nothing to compile."
+}
+
+src_install() {
+ # install executable
+ elog "Installing Executable"
+ dodir /opt/shoutcast
+ exeinto /opt/shoutcast
+ doexe sc_serv
+
+ #install shoutcast init.d script
+ doinitd ${FILESDIR}/shoutcast
+
+ # install configuration file
+ sed -e "s/LogFile=sc_serv\.log/LogFile=\/dev\/null/" -e "s/W3CLog=sc_w3c\.log/W3CLog=\/dev\/null/" -i sc_serv.conf
+
+ # sets screen logging and real time output off since we're running this as a deamon
+ sed -e "s:RealTime=1:RealTime=0:" -e "s:ScreenLog=1:ScreenLog=0:" -i sc_serv.conf
+
+ # fixes up messed up example as directories for on demand
+ # streaming need a trailing slash at the end of directories
+ sed -e "s:; Default is ./content:; Default is ./content/:" -i sc_serv.conf
+
+ # sets up a default content directory for on demand streaming
+ dodir /opt/shoutcast/content
+ sed -e "s:; ContentDir=./content:ContentDir=/opt/shoutcast/content/:" -i sc_serv.conf
+
+ #install the configuration file
+ dodir /etc/shoutcast
+ insinto /etc/shoutcast
+ doins sc_serv.conf
+
+ # install documentation
+ dodoc README.TXT
+ cp sc_serv.conf sc_serv.conf.example
+ dodoc sc_serv.conf.example
+
+ # Fix permissions - security bug #63551
+ fperms 600 /etc/shoutcast/sc_serv.conf
+}
+
+pkg_postinst() {
+ elog
+ elog "To start shoutcast, use the init.d script by running"
+ elog "/etc/init.d/shoutcast."
+ elog
+ elog "On demand content should be stored in /opt/shoutcast/content"
+ elog "See http://forums.winamp.com/showthread.php?threadid=75736 for"
+ elog "more information on setting up on demand content"
+ elog
+ elog "FAQ's can be found at:"
+ elog "http://forums.winamp.com/showthread.php?threadid=75736 "
+ elog "and can help you with server setup."
+ elog
+ elog "An Gentoo Linux shoutcast guide can be found at "
+ elog "http://www.gentoo.org/doc/en/shoutcast-config.xml"
+ elog
+}