summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-16 09:32:32 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-16 09:32:32 +0000
commit72aa70e47b49427e2c6937cc9b458bf6e1bf4091 (patch)
tree84e5dd4553380718289763095b7e128c78e33a3c /net-misc
parentadded patch to fix bug 46674 and hopefully 47594 on amd64, alpha, and a few o... (diff)
downloadgentoo-2-72aa70e47b49427e2c6937cc9b458bf6e1bf4091.tar.gz
gentoo-2-72aa70e47b49427e2c6937cc9b458bf6e1bf4091.tar.bz2
gentoo-2-72aa70e47b49427e2c6937cc9b458bf6e1bf4091.zip
Added init script to close bug #52414.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/icecast/ChangeLog8
-rw-r--r--net-misc/icecast/Manifest15
-rw-r--r--net-misc/icecast/files/digest-icecast-2.0.1-r11
-rw-r--r--net-misc/icecast/files/init.d.icecast17
-rw-r--r--net-misc/icecast/icecast-2.0.1-r1.ebuild41
5 files changed, 75 insertions, 7 deletions
diff --git a/net-misc/icecast/ChangeLog b/net-misc/icecast/ChangeLog
index 11e860dbcc56..644c503e9cce 100644
--- a/net-misc/icecast/ChangeLog
+++ b/net-misc/icecast/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/icecast
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v 1.24 2004/06/07 07:27:01 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v 1.25 2004/06/16 09:32:32 eradicator Exp $
+
+*icecast-2.0.1-r1 (16 Jun 2004)
+
+ 16 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/init.d.icecast, +icecast-2.0.1-r1.ebuild:
+ Added init script to close bug #52414.
07 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> icecast-2.0.1.ebuild:
Stable on alpha.
diff --git a/net-misc/icecast/Manifest b/net-misc/icecast/Manifest
index 8355a9f75d67..9c1f13963f82 100644
--- a/net-misc/icecast/Manifest
+++ b/net-misc/icecast/Manifest
@@ -1,10 +1,13 @@
+MD5 96b1edc49ee889d7980b80ba54d8e4b2 ChangeLog 3534
+MD5 a84df8b660e939557eb4f44528b21e39 icecast-1.3.12-r1.ebuild 1424
+MD5 dc28dc7a5560d427748ec8ce4dc8768b icecast-2.0.0.ebuild 973
+MD5 08d0e6a066b5b8391af3a661338a008e icecast-2.0.1.ebuild 1040
MD5 d0d7ea03e238a808414b4426394c100f metadata.xml 221
-MD5 6a7aefce4435684aa40c01e190ef307d icecast-1.3.12-r1.ebuild 1425
-MD5 fbaa0152790b77d4ec91d54c286287b1 ChangeLog 3535
-MD5 eae6f1998596637ca66f88f6fbd20ab8 icecast-2.0.1.ebuild 971
-MD5 96ea8b30b8118ecbc66c6c14306a8a82 icecast-2.0.0.ebuild 974
+MD5 8067a84489d45e9964892c584594ac5d icecast-2.0.1-r1.ebuild 970
+MD5 294ad1abe0a9f4abc496f53e158695be files/init.d.icecast 357
MD5 a5f4b4836da859fb3b50704c437e2ba9 files/1.3.12-errno.patch 1732
-MD5 71ca75db337afc9c90d91eb6798767d8 files/digest-icecast-2.0.0 65
-MD5 ff47a23b447435b728c7fad3f55c2860 files/icecast-1.3.12-variables-gentoo.diff.bz2 825
MD5 891139550c407fd1b8eade7d0186b267 files/digest-icecast-1.3.12-r1 66
+MD5 71ca75db337afc9c90d91eb6798767d8 files/digest-icecast-2.0.0 65
MD5 473c7b8b865ecfdfd794414c980fe659 files/digest-icecast-2.0.1 65
+MD5 ff47a23b447435b728c7fad3f55c2860 files/icecast-1.3.12-variables-gentoo.diff.bz2 825
+MD5 473c7b8b865ecfdfd794414c980fe659 files/digest-icecast-2.0.1-r1 65
diff --git a/net-misc/icecast/files/digest-icecast-2.0.1-r1 b/net-misc/icecast/files/digest-icecast-2.0.1-r1
new file mode 100644
index 000000000000..0d1f1027a637
--- /dev/null
+++ b/net-misc/icecast/files/digest-icecast-2.0.1-r1
@@ -0,0 +1 @@
+MD5 dc193027769aa49d2223ff06dcc80f5c icecast-2.0.1.tar.gz 750259
diff --git a/net-misc/icecast/files/init.d.icecast b/net-misc/icecast/files/init.d.icecast
new file mode 100644
index 000000000000..39f8a45d1367
--- /dev/null
+++ b/net-misc/icecast/files/init.d.icecast
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting Icecast 2"
+ start-stop-daemon --background --start --pidfile /var/run/icecast.pid --make-pidfile --exec /usr/bin/icecast -- -c /etc/icecast2/icecast.xml
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Icecast 2"
+ start-stop-daemon --stop --pidfile /var/run/icecast.pid --name icecast
+ eend $?
+}
diff --git a/net-misc/icecast/icecast-2.0.1-r1.ebuild b/net-misc/icecast/icecast-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..ba918e028fc9
--- /dev/null
+++ b/net-misc/icecast/icecast-2.0.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/icecast-2.0.1-r1.ebuild,v 1.1 2004/06/16 09:32:32 eradicator Exp $
+
+inherit eutils
+
+DESCRIPTION="An opensource alternative to shoutcast that supports mp3 and ogg streaming"
+HOMEPAGE="http://www.icecast.org/"
+SRC_URI="http://www.icecast.org/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+IUSE="curl"
+
+DEPEND="virtual/glibc
+ dev-libs/libxml2
+ dev-libs/libxslt
+ >=media-libs/libvorbis-1.0
+ >=media-libs/libogg-1.0
+ curl? ( net-misc/curl )"
+
+src_compile() {
+ local myconf=""
+ use curl || myconf="${myconf} --disable-yp"
+ econf \
+ --sysconfdir=/etc/icecast2 \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS README TODO HACKING NEWS
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/init.d.icecast icecast
+
+ rm -rf ${D}usr/share/doc/icecast
+}