# 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:
MD5 572233fa66d4a99eea2c5e1e578fc357 files/shoutcast 853
RMD160 7477b7b0bccc7e80d2bb460f3634230769a80006 files/shoutcast 853
SHA256 ef6649015672e7e818d843123b5acd6602b45ecf29c256f9c6116b9ed7091c7b files/shoutcast 853
+DIST sc_serv_1.9.8_Linux.tar.gz 60840 RMD160 b3618ece0a8939b826776fef313707675e846ece SHA1 8edf72fd3891630143f531cdd6b8bf13688b4ee3 SHA256 bb3a6eea5178ee79a014bbf0192bc44447c7a0c4fceb8872b9580153ba434fe6
DIST shoutcast-1-9-7-linux-glibc6.tar.gz 61225 RMD160 1924117e9952ee9122f6fe12651f288bc7795d22 SHA1 b8d318d8bbe634c4b54e8279d0c2c46ee1f95c36 SHA256 fd249adac445fe4574af9017d32a2591f5915daaf8d708d739c1ab1a77c7e1e8
EBUILD shoutcast-server-bin-1.9.7.ebuild 2501 RMD160 d6f7d41c267b2b69234e8f1ba858009500eb3dd9 SHA1 d0ff8206291201ad5c5a8d5def17aec36c55f645 SHA256 5a05166b448528a689d29c4de04611fe4faf1420ebde5a8627e965fbe7b58eb4
MD5 10135e981a54896f9e0b882cc7cb6f40 shoutcast-server-bin-1.9.7.ebuild 2501
RMD160 d6f7d41c267b2b69234e8f1ba858009500eb3dd9 shoutcast-server-bin-1.9.7.ebuild 2501
SHA256 5a05166b448528a689d29c4de04611fe4faf1420ebde5a8627e965fbe7b58eb4 shoutcast-server-bin-1.9.7.ebuild 2501
-MISC ChangeLog 2953 RMD160 36922b107aa5ae2daa2574b1a31cf81840a858d7 SHA1 3cce0116f130d5b026fcdc58e30e0701ed870a9e SHA256 a86b49c6616e0c0eede5fe3a1afb55bcc5aa33d193d8933f871ea473fa26c543
-MD5 0b4fddbeeb6a06fba2a4652c6c0aeeb6 ChangeLog 2953
-RMD160 36922b107aa5ae2daa2574b1a31cf81840a858d7 ChangeLog 2953
-SHA256 a86b49c6616e0c0eede5fe3a1afb55bcc5aa33d193d8933f871ea473fa26c543 ChangeLog 2953
+EBUILD shoutcast-server-bin-1.9.8.ebuild 2491 RMD160 b8f940a408e831504b2fc10e833dcbda045e6efd SHA1 da9604b9dc73444e6a98a00e5f36108339b9fc06 SHA256 105c4045e7f251a77e511cb60760f323da56a3c789ab66f12acee363edaf513a
+MD5 cbc099aaff559cfec8b3e58c54dc146d shoutcast-server-bin-1.9.8.ebuild 2491
+RMD160 b8f940a408e831504b2fc10e833dcbda045e6efd shoutcast-server-bin-1.9.8.ebuild 2491
+SHA256 105c4045e7f251a77e511cb60760f323da56a3c789ab66f12acee363edaf513a shoutcast-server-bin-1.9.8.ebuild 2491
+MISC ChangeLog 3115 RMD160 f794b5d368076aacef91b839902c0854e4a349e1 SHA1 86d471e7c48b3eca837c95c8aecd736881b10b3b SHA256 b74c6b165f2551bf3f3eacd33fe19a8fb803fcbb6c3d5f1ef9b3dc07ef35c260
+MD5 b25f2591675f3cf9981102af2ea7e551 ChangeLog 3115
+RMD160 f794b5d368076aacef91b839902c0854e4a349e1 ChangeLog 3115
+SHA256 b74c6b165f2551bf3f3eacd33fe19a8fb803fcbb6c3d5f1ef9b3dc07ef35c260 ChangeLog 3115
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
MD5 38af8d88b97a9fac619a5552f69498e6 files/digest-shoutcast-server-bin-1.9.7 283
RMD160 d70df0d53a760bca5e18214fb92b69e5b036852e files/digest-shoutcast-server-bin-1.9.7 283
SHA256 d9968a3bee5de10cbdaafc6f4bfa35082438f82910b002ca8c7923cfe71689a3 files/digest-shoutcast-server-bin-1.9.7 283
+MD5 ff94de1727a870fc4c0c2e64a62dcb9e files/digest-shoutcast-server-bin-1.9.8 256
+RMD160 590586e8ee80521f4595f1b8fc26ce92c6e3f83d files/digest-shoutcast-server-bin-1.9.8 256
+SHA256 5dae53f6b51d4920b324b8f09d631782e8a0aca4131ddbc5c822bb694629943c files/digest-shoutcast-server-bin-1.9.8 256
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFFnpESAiZjviIA2XgRAlCqAJ0aCMLl8gDuJE/u7m9JNtZerXP6FQCgomg+
-rOkFcA1i7TrvG2ZIW9sGL5g=
-=kJtn
+iD8DBQFGJersvFcC4BYPU0oRAmXmAJ0cqD0eD5GMPDNfTxzNvCMC5EQadgCdFmho
+94LDTkhc1riUQ8QYZTGs4Uc=
+=b7ga
-----END PGP SIGNATURE-----
--- /dev/null
+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
--- /dev/null
+# 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
+}