summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-30 18:46:34 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-30 18:46:34 +0000
commit2d60a1327915977fa26ff398604953521e080b48 (patch)
treeb3d83ef3ec43cffaae16bc1373d689c425172ef6 /media-sound/gnump3d
parentVersion bump closes bug #45773. (Manifest recommit) (diff)
downloadgentoo-2-2d60a1327915977fa26ff398604953521e080b48.tar.gz
gentoo-2-2d60a1327915977fa26ff398604953521e080b48.tar.bz2
gentoo-2-2d60a1327915977fa26ff398604953521e080b48.zip
Version bump closes bug #46146.
Diffstat (limited to 'media-sound/gnump3d')
-rw-r--r--media-sound/gnump3d/ChangeLog9
-rw-r--r--media-sound/gnump3d/Manifest2
-rw-r--r--media-sound/gnump3d/files/digest-gnump3d-2.71
-rw-r--r--media-sound/gnump3d/files/gnump3d.init.d22
-rw-r--r--media-sound/gnump3d/gnump3d-2.2-r1.ebuild4
-rw-r--r--media-sound/gnump3d/gnump3d-2.6-r1.ebuild8
-rw-r--r--media-sound/gnump3d/gnump3d-2.7.ebuild74
7 files changed, 117 insertions, 3 deletions
diff --git a/media-sound/gnump3d/ChangeLog b/media-sound/gnump3d/ChangeLog
index 5f6ef214d43b..c59523a4c4c2 100644
--- a/media-sound/gnump3d/ChangeLog
+++ b/media-sound/gnump3d/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/gnump3d
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.14 2004/03/22 20:12:08 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.15 2004/03/30 18:46:34 eradicator Exp $
+
+*gnump3d-2.7 (30 Mar 2004)
+
+ 30 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ gnump3d-2.2-r1.ebuild, gnump3d-2.6-r1.ebuild, gnump3d-2.7.ebuild,
+ files/gnump3d.init.d:
+ Version bump closes bug #46146.
22 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
gnump3d-2.2-r1.ebuild, gnump3d-2.6-r1.ebuild, gnump3d-2.6.ebuild:
diff --git a/media-sound/gnump3d/Manifest b/media-sound/gnump3d/Manifest
index 6ec13f51ff7c..f3e9e7a456ff 100644
--- a/media-sound/gnump3d/Manifest
+++ b/media-sound/gnump3d/Manifest
@@ -2,9 +2,11 @@ MD5 9aaf95c91a86424ed192c69cde666873 gnump3d-2.6-r1.ebuild 1925
MD5 8afc9e2e8b230a36bae38087ca4421c7 gnump3d-2.2-r1.ebuild 1230
MD5 1f2dff73e5d89258ca339977f8f53c54 ChangeLog 2302
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 9aaf95c91a86424ed192c69cde666873 gnump3d-2.7.ebuild 1925
MD5 f71ad5ce431fdd95c03741a4fb32aac9 files/gnump3d-2.6-initd 525
MD5 ab3f67c159ab4936ce8e2a29a55c875b files/gnump3d-2.6-gentoo.patch 526
MD5 ed2b7457b2cfbdbc3f20a448938c725a files/digest-gnump3d-2.2-r1 63
MD5 d2ff0d8a3c4427010cc3c015d1f6b744 files/digest-gnump3d-2.6-r1 64
MD5 bfd0291e96e61a22cd6efad70c2c7250 files/gnump3d-2.2-initd 523
+MD5 8abeea82e07f1fc9c96048b7ace64d68 files/digest-gnump3d-2.7 64
MD5 29876cf89eef12bbe651b8f9bdbbdfc6 files/gnump3d-2.2-gentoo.diff 2101
diff --git a/media-sound/gnump3d/files/digest-gnump3d-2.7 b/media-sound/gnump3d/files/digest-gnump3d-2.7
new file mode 100644
index 000000000000..784a5e6cabc7
--- /dev/null
+++ b/media-sound/gnump3d/files/digest-gnump3d-2.7
@@ -0,0 +1 @@
+MD5 56c2feb0e97f31722dceaaa16e1a1f81 gnump3d-2.7.tar.bz2 212021
diff --git a/media-sound/gnump3d/files/gnump3d.init.d b/media-sound/gnump3d/files/gnump3d.init.d
new file mode 100644
index 000000000000..d20da60d369d
--- /dev/null
+++ b/media-sound/gnump3d/files/gnump3d.init.d
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/files/gnump3d.init.d,v 1.1 2004/03/30 18:46:34 eradicator Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting gnump3d"
+ start-stop-daemon --start --quiet --exec /usr/bin/gnump3d2 --make-pidfile \
+ --pidfile /var/run/gnump3d.pid --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.2-r1.ebuild b/media-sound/gnump3d/gnump3d-2.2-r1.ebuild
index 8ffcee7509e5..5b98276976db 100644
--- a/media-sound/gnump3d/gnump3d-2.2-r1.ebuild
+++ b/media-sound/gnump3d/gnump3d-2.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-2.2-r1.ebuild,v 1.5 2004/03/22 20:12:08 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-2.2-r1.ebuild,v 1.6 2004/03/30 18:46:34 eradicator Exp $
inherit eutils
@@ -13,6 +13,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
+IUSE=""
+
RDEPEND=">=dev-lang/perl-5.8.0"
src_unpack() {
diff --git a/media-sound/gnump3d/gnump3d-2.6-r1.ebuild b/media-sound/gnump3d/gnump3d-2.6-r1.ebuild
index 56703fb2163b..700f45de0490 100644
--- a/media-sound/gnump3d/gnump3d-2.6-r1.ebuild
+++ b/media-sound/gnump3d/gnump3d-2.6-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-2.6-r1.ebuild,v 1.2 2004/03/22 20:12:08 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-2.6-r1.ebuild,v 1.3 2004/03/30 18:46:34 eradicator Exp $
+
+inherit eutils
DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
HOMEPAGE="http://www.gnump3d.org/"
@@ -10,6 +12,10 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
+IUSE=""
+
+DEPEND="sys-apps/sed"
+
RDEPEND=">=dev-lang/perl-5.8.0"
LIBDIR=/usr/lib/gnump3d
diff --git a/media-sound/gnump3d/gnump3d-2.7.ebuild b/media-sound/gnump3d/gnump3d-2.7.ebuild
new file mode 100644
index 000000000000..339ad6bb2e73
--- /dev/null
+++ b/media-sound/gnump3d/gnump3d-2.7.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-2.7.ebuild,v 1.1 2004/03/30 18:46:34 eradicator Exp $
+
+DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
+HOMEPAGE="http://www.gnump3d.org/"
+SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND="sys-apps/sed"
+
+RDEPEND=">=dev-lang/perl-5.8.0"
+
+LIBDIR=/usr/lib/gnump3d
+
+pkg_setup() {
+ enewuser gnump3d '' '' '' nogroup || die
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/bin
+ for binary in gnump3d-index gnump3d2; do
+ sed -i "s,#!/usr/bin/perl,#!/usr/bin/perl -I${LIBDIR},g" $binary
+ done
+}
+
+src_install() {
+ insinto ${LIBDIR}/gnump3d; doins lib/gnump3d/*.pm
+ insinto ${LIBDIR}/gnump3d/plugins; doins lib/gnump3d/plugins/*.pm
+ insinto ${LIBDIR}/gnump3d/lang; doins lib/gnump3d/lang/*.pm
+ dobin bin/gnump3d2 bin/gnump3d-top bin/gnump3d-index
+ dosym /usr/bin/gnump3d2 /usr/bin/gnump3d
+ doman man/*.1
+ dodir /usr/share/gnump3d; cp -R templates/* ${D}/usr/share/gnump3d/
+ insinto /etc/gnump3d
+ doins etc/mime.types
+ doins etc/gnump3d.conf
+ dosed "s,PLUGINDIR,${LIBDIR},g" /etc/gnump3d/gnump3d.conf
+ dosed 's,^user *= *\(.*\)$,user = gnump3d,g' /etc/gnump3d/gnump3d.conf
+
+ dodoc AUTHORS ChangeLog README COPYING TODO
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/${PN}.init.d gnump3d
+ dodir /etc/env.d
+ cat >${D}/etc/env.d/50gnump3d <<EOF
+# PERL5LIB="${LIBDIR}"
+EOF
+ dodir /var/log/gnump3d
+ dodir /var/cache/gnump3d/serving
+
+ keepdir /var/log/gnump3d
+ keepdir /var/cache/gnump3d/serving
+
+ touch ${D}/var/cache/gnump3d/song.tags
+ touch ${D}/var/cache/gnump3d/serving/.keep
+}
+
+pkg_postinst() {
+ chown -R gnump3d:nogroup /var/log/gnump3d
+ chown -R gnump3d:nogroup /var/cache/gnump3d
+ while read line; do einfo "${line}"; done <<EOF
+
+Please edit your /etc/gnump3d/gnump3d.conf before running
+/etc/init.d/gnump3d start
+
+EOF
+}