summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-06-25 09:52:03 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-06-25 09:52:03 +0000
commit82c6800d2c3fd215d2e8061c6297fc2a2c6d33b3 (patch)
tree76ecc9b7b701cc4d45e6aeafbb58090d70be3550 /media-sound
parentInitial revision (diff)
downloadhistorical-82c6800d2c3fd215d2e8061c6297fc2a2c6d33b3.tar.gz
historical-82c6800d2c3fd215d2e8061c6297fc2a2c6d33b3.tar.bz2
historical-82c6800d2c3fd215d2e8061c6297fc2a2c6d33b3.zip
Version bump
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/gnump3d/ChangeLog7
-rw-r--r--media-sound/gnump3d/Manifest12
-rw-r--r--media-sound/gnump3d/files/digest-gnump3d-2.41
-rw-r--r--media-sound/gnump3d/files/gnump3d-2.4-gentoo.diff74
-rw-r--r--media-sound/gnump3d/files/gnump3d-2.4-initd20
-rw-r--r--media-sound/gnump3d/gnump3d-2.4.ebuild53
6 files changed, 162 insertions, 5 deletions
diff --git a/media-sound/gnump3d/ChangeLog b/media-sound/gnump3d/ChangeLog
index a08c78662913..f890a23af87d 100644
--- a/media-sound/gnump3d/ChangeLog
+++ b/media-sound/gnump3d/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/gnump3d
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.10 2003/05/10 06:09:42 jje Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.11 2003/06/25 09:52:03 aliz Exp $
+
+*gnump3d-2.4 (25 Jun 2003)
+
+ 25 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump. Found by Shaun Guth <l8nite@l8nite.net>.
*gnump3d-2.2-r1 (10 May 2003)
diff --git a/media-sound/gnump3d/Manifest b/media-sound/gnump3d/Manifest
index 7eeb83deeec2..9e073df42c2a 100644
--- a/media-sound/gnump3d/Manifest
+++ b/media-sound/gnump3d/Manifest
@@ -1,8 +1,9 @@
-MD5 1e6672c5a91e196edca262fd22243bd4 ChangeLog 1579
+MD5 03a6157ecb9b7e0807382b0acd7e14bd ChangeLog 1715
MD5 b834a3556fab57689814993ff7d5c31e gnump3d-0.9.9.4.ebuild 1181
-MD5 7912d4643757872dd94feb1b4db78bd7 gnump3d-2.2.ebuild 1144
MD5 8f41800bb8d64c16fbf86868ba070cd6 gnump3d-1.0.ebuild 1413
+MD5 7912d4643757872dd94feb1b4db78bd7 gnump3d-2.2.ebuild 1144
MD5 fc911f45e4e256f48ed29a1aebc2cee5 gnump3d-2.2-r1.ebuild 1199
+MD5 c7c83e72b61a568365ebe2804bc00188 gnump3d-2.4.ebuild 1192
MD5 88a7d8bd4d3497fa0746c27a8028981f files/digest-gnump3d-0.9.9.4 67
MD5 2a8a844e5947e1cbb8a977c47c259834 files/digest-gnump3d-1.0 64
MD5 4cd80c2edb14b3d0c90f74cd0a925c16 files/doc-Makefile-gentoo.patch 439
@@ -10,8 +11,11 @@ MD5 22e31b3d4f3dcf42f9034102f5d980a8 files/gnump3d-1.0-gentoo.diff.bz2 359
MD5 c44501012e6fe922cc2c7e06f1245614 files/gnump3d-1.0.rc6 405
MD5 5322bda842b45879eacae850ac48caa2 files/gnump3d.rc6 388
MD5 1cc59e977b80559a3ca4360188e824c7 files/mp3d.conf-gentoo.patch 581
-MD5 ed2b7457b2cfbdbc3f20a448938c725a files/digest-gnump3d-2.2 63
MD5 c44501012e6fe922cc2c7e06f1245614 files/gnump3d-2.2.rc6 405
+MD5 ed2b7457b2cfbdbc3f20a448938c725a files/digest-gnump3d-2.2 63
+MD5 ed2b7457b2cfbdbc3f20a448938c725a files/digest-gnump3d-2.2-r1 63
MD5 29876cf89eef12bbe651b8f9bdbbdfc6 files/gnump3d-2.2-gentoo.diff 2101
MD5 1f3dcc89b8046daf546044127a4927bc files/gnump3d-2.2-initd 414
-MD5 ed2b7457b2cfbdbc3f20a448938c725a files/digest-gnump3d-2.2-r1 63
+MD5 58d4013579d710e13236e94693135939 files/gnump3d-2.4-gentoo.diff 2614
+MD5 1f3dcc89b8046daf546044127a4927bc files/gnump3d-2.4-initd 414
+MD5 d948052c99805f001358b5b51623969a files/digest-gnump3d-2.4 63
diff --git a/media-sound/gnump3d/files/digest-gnump3d-2.4 b/media-sound/gnump3d/files/digest-gnump3d-2.4
new file mode 100644
index 000000000000..11a268e0c38f
--- /dev/null
+++ b/media-sound/gnump3d/files/digest-gnump3d-2.4
@@ -0,0 +1 @@
+MD5 cabbb0a44bf450be142957c7f272ecfc gnump3d-2.4.tar.gz 773005
diff --git a/media-sound/gnump3d/files/gnump3d-2.4-gentoo.diff b/media-sound/gnump3d/files/gnump3d-2.4-gentoo.diff
new file mode 100644
index 000000000000..5b71b0f7abab
--- /dev/null
+++ b/media-sound/gnump3d/files/gnump3d-2.4-gentoo.diff
@@ -0,0 +1,74 @@
+diff -ru gnump3d-2.2-orig/bin/gnump3d2 gnump3d-2.2/bin/gnump3d2
+--- gnump3d-2.2-orig/bin/gnump3d2 2003-02-04 11:25:13.000000000 +0200
++++ gnump3d-2.2/bin/gnump3d2 2003-02-22 03:43:12.000000000 +0200
+@@ -280,6 +280,11 @@
+ if ( ( not $DEBUG ) and ( $BACKGROUND ) )
+ {
+ fork() && exit;
++ # 2003-02-22 Jyrki Muukkonen
++ # we need a pidfile for /etc/init.d/gnump3d script
++ open( PIDFILE, ">/var/run/gnump3d.pid" );
++ print PIDFILE $PID;
++ close( PIDFILE );
+ }
+
+
+diff -ru gnump3d-2.2-orig/etc/gnump3d.conf gnump3d-2.2/etc/gnump3d.conf
+--- gnump3d-2.2-orig/etc/gnump3d.conf 2003-02-04 11:25:13.000000000 +0200
++++ gnump3d-2.2/etc/gnump3d.conf 2003-02-22 02:34:42.000000000 +0200
+@@ -93,7 +93,7 @@
+ # If you're on a multi-user system its probably a good idea to
+ # make the audio files readable to other users anyway...
+ #
+-root = /home/mp3
++# root = /home/mp3
+
+
+ #
+@@ -611,7 +611,7 @@
+ #
+ # plugin_directory = /usr/lib/perl5/gnump3d/plugins
+ #
+-
++plugin_directory = /usr/lib/perl5/5.8.0/gnump3d/plugins
+
+ #
+ # By default all the plugins which are shipped with this server are
+--- gnump3d-2.2-orig/Makefile 2003-06-25 09:40:15.000000000 +0000
++++ gnump3d-2.2-orig/Makefile 2003-06-25 09:41:40.000000000 +0000
+@@ -26,23 +26,18 @@
+ install -d $(LIBDIR)/gnump3d/plugins
+ install -d $(PREFIX)/share/gnump3d
+ install -d $(PREFIX)/bin
+- install -d $(PREFIX)/man/man1
+- install -d /var/log/gnump3d
+- install -d /etc/gnump3d
++ install -d $(PREFIX)/share/man/man1
+ cp lib/gnump3d/*.pm $(LIBDIR)/gnump3d
+ cp lib/gnump3d/plugins/*.pm $(LIBDIR)/gnump3d/plugins
+ cp bin/gnump3d2 $(PREFIX)/bin/
+- -ln -s $(PREFIX)/bin/gnump3d2 $(PREFIX)/bin/gnump3d
++ -ln -s gnump3d2 $(PREFIX)/bin/gnump3d
+ cp bin/gnump3d-top $(PREFIX)/bin
+- cp man/gnump3d-top.1 $(PREFIX)/man/man1
+- cp man/gnump3d.1 $(PREFIX)/man/man1
+- cp man/gnump3d.conf.1 $(PREFIX)/man/man1
++ cp man/gnump3d-top.1 $(PREFIX)/share/man/man1
++ cp man/gnump3d.1 $(PREFIX)/share/man/man1
++ cp man/gnump3d.conf.1 $(PREFIX)/share/man/man1
+ cp -R templates/* $(PREFIX)/share/gnump3d
+ chmod -R a+r $(PREFIX)/share/gnump3d/
+ chmod +rx $(PREFIX)/share/gnump3d/*/
+- if [ -e /etc/gnump3d/gnump3d.conf ]; then cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf-orig ; fi
+- sed "s#PLUGINDIR#${LIBDIR}#g" etc/gnump3d.conf > /etc/gnump3d/gnump3d.conf
+- cp etc/mime.types /etc/gnump3d
+
+ uninstall:
+ rm -f $(PREFIX)/bin/gnump3d-top
+@@ -89,4 +84,4 @@
+
+ sign: dist
+ -rm -f *.asc
+- for i in gnump3d-$(VERSION).*; do gpg --armor --detach-sign $$i; done
+\ No newline at end of file
++ for i in gnump3d-$(VERSION).*; do gpg --armor --detach-sign $$i; done
diff --git a/media-sound/gnump3d/files/gnump3d-2.4-initd b/media-sound/gnump3d/files/gnump3d-2.4-initd
new file mode 100644
index 000000000000..8f8b8a460227
--- /dev/null
+++ b/media-sound/gnump3d/files/gnump3d-2.4-initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting gnump3d"
+ start-stop-daemon --start --quiet --exec /usr/bin/gnump3d2 -- --background --quiet
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping gnump3d"
+ start-stop-daemon --stop --quiet --pidfile /var/run/gnump3d.pid
+ eend $?
+}
+
diff --git a/media-sound/gnump3d/gnump3d-2.4.ebuild b/media-sound/gnump3d/gnump3d-2.4.ebuild
new file mode 100644
index 000000000000..b9257a48e57e
--- /dev/null
+++ b/media-sound/gnump3d/gnump3d-2.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-2.4.ebuild,v 1.1 2003/06/25 09:52:03 aliz Exp $
+
+DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
+SRC_URI="mirror://sourceforge/gnump3d/${P}.tar.gz"
+HOMEPAGE="http://gnump3d.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+RDEPEND=">=dev-lang/perl-5.8.0"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_install() {
+ make \
+ LIBDIR=${D}`perl bin/getlibdir` \
+ PREFIX=${D}/usr \
+ install || die
+
+ # init.d
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/${P}-initd gnump3d
+
+ # just to be sure..
+ dosym usr/bin/gnump3d2 gnump3d
+
+ # make directories
+ DIROPTIONS="--owner=nobody" dodir /var/log/gnump3d
+ dodir /etc/gnump3d
+
+ # copy config files
+ insinto /etc/gnump3d
+ doins etc/*
+
+ # docs
+ dodoc AUTHORS COPYING ChangeLog INSTALL README TODO
+}
+
+pkg_postinst() {
+ einfo
+ einfo "The default directory for shared mp3s is /home/mp3"
+ einfo "Please edit your /etc/gnump3d/gnump3d.conf before"
+ einfo "running /etc/init.d/gnump3d start"
+ einfo
+}
+