summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-21 08:56:00 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-21 08:56:00 +0000
commit0c63426bc7266a8c3f6d1ff37d010f825cc9fe00 (patch)
treeb1d7ebf9d023e69c9328e82929dd931760c75dc2 /media-sound/ventrilo-server-bin
parentFixed inherit (diff)
downloadhistorical-0c63426bc7266a8c3f6d1ff37d010f825cc9fe00.tar.gz
historical-0c63426bc7266a8c3f6d1ff37d010f825cc9fe00.tar.bz2
historical-0c63426bc7266a8c3f6d1ff37d010f825cc9fe00.zip
Added init script to close bug #52421. Thanks to Donald R. Gray Jr <donaldgray@dslextreme.com> for the initial script.
Diffstat (limited to 'media-sound/ventrilo-server-bin')
-rw-r--r--media-sound/ventrilo-server-bin/ChangeLog10
-rw-r--r--media-sound/ventrilo-server-bin/Manifest6
-rw-r--r--media-sound/ventrilo-server-bin/files/conf.d.ventrilo2
-rw-r--r--media-sound/ventrilo-server-bin/files/digest-ventrilo-server-bin-2.2.0-r11
-rw-r--r--media-sound/ventrilo-server-bin/files/init.d.ventrilo22
-rw-r--r--media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild39
6 files changed, 78 insertions, 2 deletions
diff --git a/media-sound/ventrilo-server-bin/ChangeLog b/media-sound/ventrilo-server-bin/ChangeLog
index 84203121d749..59c3cdef94c4 100644
--- a/media-sound/ventrilo-server-bin/ChangeLog
+++ b/media-sound/ventrilo-server-bin/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-sound/ventrilo-server-bin
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ChangeLog,v 1.6 2004/07/09 10:43:25 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ChangeLog,v 1.7 2004/07/21 08:56:00 eradicator Exp $
+
+*ventrilo-server-bin-2.2.0-r1 (21 Jul 2004)
+
+ 21 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/conf.d.ventrilo, +files/init.d.ventrilo,
+ +ventrilo-server-bin-2.2.0-r1.ebuild:
+ Added init script to close bug #52421. Thanks to Donald R. Gray Jr
+ <donaldgray@dslextreme.com> for the initial script.
*ventrilo-server-bin-2.2.0 (09 Jul 2004)
diff --git a/media-sound/ventrilo-server-bin/Manifest b/media-sound/ventrilo-server-bin/Manifest
index 9e5cd93cffde..7595c18cd7b7 100644
--- a/media-sound/ventrilo-server-bin/Manifest
+++ b/media-sound/ventrilo-server-bin/Manifest
@@ -1,6 +1,10 @@
-MD5 96c4a009dbbe8ff70d1a600d32730b93 ChangeLog 833
+MD5 e3e959c161daf50e9dbf555f0bad2e99 ChangeLog 1149
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 2ee26049d103a523a6878e70e5b630a0 ventrilo-server-bin-2.1.2.ebuild 669
MD5 0833fe5ddac3cdfb7b98c292ee48786b ventrilo-server-bin-2.2.0.ebuild 719
+MD5 0a8816f1d55b39716dbc7c39d9126c92 ventrilo-server-bin-2.2.0-r1.ebuild 855
+MD5 75e3ee40d2009f5b7709e6263323d485 files/init.d.ventrilo 600
MD5 65abedc9626a604d070d71f3b2da7124 files/digest-ventrilo-server-bin-2.1.2 81
MD5 96b88d3c1c59db4a79c58a874ec039dc files/digest-ventrilo-server-bin-2.2.0 81
+MD5 5fcc2c24b7e7ab0520b78f61f6534934 files/conf.d.ventrilo 82
+MD5 96b88d3c1c59db4a79c58a874ec039dc files/digest-ventrilo-server-bin-2.2.0-r1 81
diff --git a/media-sound/ventrilo-server-bin/files/conf.d.ventrilo b/media-sound/ventrilo-server-bin/files/conf.d.ventrilo
new file mode 100644
index 000000000000..88632d732fe0
--- /dev/null
+++ b/media-sound/ventrilo-server-bin/files/conf.d.ventrilo
@@ -0,0 +1,2 @@
+# Set the default nice priority level. See NICE(1) for more information.
+NICE=-5
diff --git a/media-sound/ventrilo-server-bin/files/digest-ventrilo-server-bin-2.2.0-r1 b/media-sound/ventrilo-server-bin/files/digest-ventrilo-server-bin-2.2.0-r1
new file mode 100644
index 000000000000..8fd1d372011e
--- /dev/null
+++ b/media-sound/ventrilo-server-bin/files/digest-ventrilo-server-bin-2.2.0-r1
@@ -0,0 +1 @@
+MD5 87dbc5495c68e7a554b151e4778cd5a9 ventrilo_srv-2.2.0-Linux-i386.tar.gz 153022
diff --git a/media-sound/ventrilo-server-bin/files/init.d.ventrilo b/media-sound/ventrilo-server-bin/files/init.d.ventrilo
new file mode 100644
index 000000000000..56c84a98a174
--- /dev/null
+++ b/media-sound/ventrilo-server-bin/files/init.d.ventrilo
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+
+depend() {
+ # the daemon needs the internet to function
+ # Not sure if net is needed to start but it is required for it to work properly.
+ need net
+}
+
+start() {
+ # display to the user what you're doing
+ ebegin "Starting Ventrilo VoIP Server"
+ nice -n ${NICE} /opt/ventrilo-server/ventrilo_srv -f/opt/ventrilo-server/ventrilo_srv -d
+ eend $?
+}
+
+stop() {
+ # display a message to the user
+ ebegin "Stopping Ventrilo VoIP Server"
+ start-stop-daemon --stop --pidfile /opt/ventrilo-server/ventrilo_srv.pid
+ eend $?
+}
+
diff --git a/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild b/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..72b45ed4acf9
--- /dev/null
+++ b/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+
+IUSE=""
+DESCRIPTION="The Ventrilo Voice Communication Server"
+HOMEPAGE="http://www.ventrilo.com/"
+SRC_URI="ventrilo_srv-${PV}-Linux-i386.tar.gz"
+
+LICENSE="ventrilo"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+RESTRICT="fetch"
+
+S=${WORKDIR}
+
+DEPEND="amd64? ( emul-linux-x86-baselibs )"
+
+pkg_nofetch() {
+ einfo "Please visit http://www.ventrilo.com/download.php"
+ einfo "and download the Linux i386 - 32bit ${PV} server."
+ einfo "Just save it in ${DISTDIR} !"
+}
+
+src_install() {
+ exeinto /opt/ventrilo-server
+ doexe ventrilo_{srv,status}
+
+ exeinto /etc/init.d/
+ newexe ${FILESDIR}/init.d.ventrilo ventrilo
+
+ exeinto /etc/conf.d/
+ newexe ${FILESDIR}/conf.d.ventrilo ventrilo
+
+ insinto /opt/ventrilo-server
+ doins ventrilo_srv.ini
+
+ dohtml ventrilo_srv.htm
+}