summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Cornelius <dercorny@gentoo.org>2006-06-25 13:48:30 +0000
committerStefan Cornelius <dercorny@gentoo.org>2006-06-25 13:48:30 +0000
commit75ad0402ba614fceb42708bd51bba30b041e9f9c (patch)
tree0dab4400ef83af3e3717c599e4c7cf39bb12d778 /media-sound/shoutcast-server-bin
parentppc stable (diff)
downloadgentoo-2-75ad0402ba614fceb42708bd51bba30b041e9f9c.tar.gz
gentoo-2-75ad0402ba614fceb42708bd51bba30b041e9f9c.tar.bz2
gentoo-2-75ad0402ba614fceb42708bd51bba30b041e9f9c.zip
Revbump for security bug #136721 - Thanks to Peter Kosinar
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'media-sound/shoutcast-server-bin')
-rw-r--r--media-sound/shoutcast-server-bin/ChangeLog8
-rw-r--r--media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.52
-rw-r--r--media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.73
-rw-r--r--media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.7.ebuild85
4 files changed, 97 insertions, 1 deletions
diff --git a/media-sound/shoutcast-server-bin/ChangeLog b/media-sound/shoutcast-server-bin/ChangeLog
index fce487e07600..bfd3035b7e7b 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v 1.13 2006/03/03 14:00:37 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v 1.14 2006/06/25 13:48:30 dercorny Exp $
+
+*shoutcast-server-bin-1.9.7 (25 Jun 2006)
+
+ 25 Jun 2006; Stefan Cornelius <dercorny@gentoo.org>
+ +shoutcast-server-bin-1.9.7.ebuild:
+ Revbump for security bug #136721 - Thanks to Peter Kosinar
03 Mar 2006; Simon Stelling <blubb@gentoo.org>
shoutcast-server-bin-1.9.5.ebuild:
diff --git a/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.5 b/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.5
index c6183048ba8f..82d89745205e 100644
--- a/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.5
+++ b/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.5
@@ -1 +1,3 @@
MD5 7488e350b16c60aaa4d3f374fbbce90d shoutcast-1-9-5-linux-glibc6.tar.gz 58860
+RMD160 118f611e8bdd6102b5c43f50a87deb8de80d42e6 shoutcast-1-9-5-linux-glibc6.tar.gz 58860
+SHA256 a2c158a8708d4828a8e49ddb3f63086b126f872e9dd385bc0de71f1d9d3d9791 shoutcast-1-9-5-linux-glibc6.tar.gz 58860
diff --git a/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.7 b/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.7
new file mode 100644
index 000000000000..cbb22ca072eb
--- /dev/null
+++ b/media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.7
@@ -0,0 +1,3 @@
+MD5 b50e40dec24f7a05bee6d756b9b08236 shoutcast-1-9-7-linux-glibc6.tar.gz 61225
+RMD160 1924117e9952ee9122f6fe12651f288bc7795d22 shoutcast-1-9-7-linux-glibc6.tar.gz 61225
+SHA256 fd249adac445fe4574af9017d32a2591f5915daaf8d708d739c1ab1a77c7e1e8 shoutcast-1-9-7-linux-glibc6.tar.gz 61225
diff --git a/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.7.ebuild b/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.7.ebuild
new file mode 100644
index 000000000000..ce19b48d435e
--- /dev/null
+++ b/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.7.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2006 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.7.ebuild,v 1.1 2006/06/25 13:48:30 dercorny 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="shoutcast-${SVER}-linux-glibc6.tar.gz"
+LICENSE="shoutcast"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+DEPEND=""
+
+S="${WORKDIR}/"
+
+pkg_nofetch() {
+ einfo "Please download ${A} from:"
+ einfo "${HOMEPAGE}"
+ einfo "and move it to ${DISTDIR}"
+}
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ # install executable
+ einfo "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() {
+ einfo
+ einfo "To start shoutcast, use the init.d script by running"
+ einfo "/etc/init.d/shoutcast."
+ einfo
+ einfo "On demand content should be stored in /opt/shoutcast/content"
+ einfo "See http://forums.winamp.com/showthread.php?threadid=75736 for"
+ einfo "more information on setting up on demand content"
+ einfo
+ einfo "FAQ's can be found at:"
+ einfo "http://forums.winamp.com/showthread.php?threadid=75736 "
+ einfo "and can help you with server setup."
+ einfo
+ einfo "An Gentoo Linux shoutcast guide can be found at "
+ einfo "http://www.gentoo.org/doc/en/shoutcast-config.xml"
+ einfo
+}