Fixing bug #75482 with version bump. x86 stable marked.
authorChris White <chriswhite@gentoo.org>
Mon, 3 Jan 2005 20:57:42 +0000 (20:57 +0000)
committerChris White <chriswhite@gentoo.org>
Mon, 3 Jan 2005 20:57:42 +0000 (20:57 +0000)
media-sound/shoutcast-server-bin/ChangeLog
media-sound/shoutcast-server-bin/Manifest
media-sound/shoutcast-server-bin/files/digest-shoutcast-server-bin-1.9.5 [new file with mode: 0644]
media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.4-r1.ebuild
media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.5.ebuild [new file with mode: 0644]

index 9bcd8b19021594efd59726cc87fbe1292c78cf5a..e04290f73fe7fd88738f03b59d252f53ebe90be4 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-sound/shoutcast-server-bin
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v 1.7 2004/12/19 06:43:41 eradicator Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v 1.8 2005/01/03 20:57:42 chriswhite Exp $
+
+*shoutcast-server-bin-1.9.5 (04 Jan 2005)
+
+  04 Jan 2005; Chris White <chriswhite@gentoo.org>
+  +shoutcast-server-bin-1.9.5.ebuild:
+  Fixing bug #75482 with version bump.  x86 stable marked.
 
   18 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
   shoutcast-server-bin-1.9.4-r1.ebuild:
index ebfa3844b545ca4208e5d8751545a372815812e9..610072caf5286baf8c52a433d1ebfbd6f891e733 100644 (file)
@@ -1,15 +1,17 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 06041ed87c474ef6beaa59e27c6fbaa1 ChangeLog 1344
+MD5 792ceacf0378b75570aaeb16b88f79d9 ChangeLog 1536
 MD5 dbafe0153b3ee5f599d5dbeac4aa3210 metadata.xml 224
-MD5 a357e1c1398fbf461840fca265413ae3 shoutcast-server-bin-1.9.4-r1.ebuild 2310
-MD5 572233fa66d4a99eea2c5e1e578fc357 files/shoutcast 853
+MD5 23fd804d07217367c1370c717647e0cb shoutcast-server-bin-1.9.4-r1.ebuild 2310
+MD5 253bb0bed7255e0afeecdc6f53117afe shoutcast-server-bin-1.9.5.ebuild 2308
 MD5 2b2d3020957f2bffc04141a0f2135693 files/digest-shoutcast-server-bin-1.9.4-r1 80
+MD5 572233fa66d4a99eea2c5e1e578fc357 files/shoutcast 853
+MD5 2f2025093cdbc0f677b2235e95172158 files/digest-shoutcast-server-bin-1.9.5 79
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBxSMwArHZZzCEUG0RApqhAJ4nRoF2tP8wzooXKlZbRF+uLRt6VgCfZLPV
-b+JJajJ6CszHiEPcKw/pUns=
-=Gjc8
+iD8DBQFB2bHTFdQwWVoAgN4RApJEAKCowdTHS7O0n7DUkrMfeU2+wOJXtQCfQPrZ
+J2tVmJvNtMPYFkaaSKjKZhs=
+=uj7B
 -----END PGP SIGNATURE-----
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
new file mode 100644 (file)
index 0000000..c618304
--- /dev/null
@@ -0,0 +1 @@
+MD5 7488e350b16c60aaa4d3f374fbbce90d shoutcast-1-9-5-linux-glibc6.tar.gz 58860
index 1f3c5bfe47ce03da314156f219535ef9dea78da6..08fc523ba52c1e14b61deb8abf723716ebe124f4 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 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.4-r1.ebuild,v 1.4 2004/12/19 06:43:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.4-r1.ebuild,v 1.5 2005/01/03 20:57:42 chriswhite Exp $
 
 IUSE=""
 
diff --git a/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.5.ebuild b/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.5.ebuild
new file mode 100644 (file)
index 0000000..1958d10
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2005 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.5.ebuild,v 1.1 2005/01/03 20:57:42 chriswhite 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="amd64? ( app-emulation/emul-linux-x86-glibc )"
+
+S="${WORKDIR}/shoutcast-${SVER}-linux-glibc6"
+
+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
+       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 "To start shoutcast, use the init.d script by running /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 more information on setting up on demand content"
+       einfo
+       einfo "FAQ's can be found at: http://forums.winamp.com/showthread.php?threadid=75736 and can help you with server setup."
+}