summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn J. Ellis <jje@gentoo.org>2003-09-27 11:27:51 +0000
committerJohn J. Ellis <jje@gentoo.org>2003-09-27 11:27:51 +0000
commit0bf3277184c43d9378a065182ac4e00a557d3446 (patch)
treef54bd343e5d529c0e5a13ff5bf4373b3f9c1da44 /media-sound/teamspeak2-server-bin
parentInitial revision, ~x86 masked. Closes #29139. (diff)
downloadgentoo-2-0bf3277184c43d9378a065182ac4e00a557d3446.tar.gz
gentoo-2-0bf3277184c43d9378a065182ac4e00a557d3446.tar.bz2
gentoo-2-0bf3277184c43d9378a065182ac4e00a557d3446.zip
Initial revision, ~x86 masked. Closes #29139.
Diffstat (limited to 'media-sound/teamspeak2-server-bin')
-rw-r--r--media-sound/teamspeak2-server-bin/ChangeLog10
-rw-r--r--media-sound/teamspeak2-server-bin/Manifest6
-rw-r--r--media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.19.401
-rw-r--r--media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc629
-rw-r--r--media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.19.40.ebuild56
5 files changed, 99 insertions, 3 deletions
diff --git a/media-sound/teamspeak2-server-bin/ChangeLog b/media-sound/teamspeak2-server-bin/ChangeLog
new file mode 100644
index 000000000000..22b701e4be98
--- /dev/null
+++ b/media-sound/teamspeak2-server-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/teamspeak2-server-bin
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/ChangeLog,v 1.1 2003/09/27 11:27:47 jje Exp $
+
+*teamspeak2-server-bin-2.0.19.40 (27 Sep 2003)
+
+ 27 Sep 2003; jje <jje@gentoo.org> teamspeak2-server-bin-2.0.19.40.ebuild:
+ Initial revision. Still not sure that all of the file locations are correct, putting this out for review.
+
+ Submitted by: Jeremy Johnson <jeremy@ic.ucsb.edu>
diff --git a/media-sound/teamspeak2-server-bin/Manifest b/media-sound/teamspeak2-server-bin/Manifest
index cda1e0d8ec02..4c82307279d9 100644
--- a/media-sound/teamspeak2-server-bin/Manifest
+++ b/media-sound/teamspeak2-server-bin/Manifest
@@ -1,4 +1,4 @@
-MD5 d2ee9845408280fa68ec1ae709568196 teamspeak2-server-bin-2.0.19.40.ebuild 1374
-MD5 5b4bd1e8143232e8986b91ed4a263e8b ChangeLog 427
+MD5 a434853c32f19d98b21a93847b82aa52 teamspeak2-server-bin-2.0.19.40.ebuild 1506
+MD5 03664e76f9cf177d2ac0d4a16f18b68c ChangeLog 530
MD5 9ea73cb7d7ab9d82d18ed112ba6e5435 files/digest-teamspeak2-server-bin-2.0.19.40 74
-MD5 1f7ef62f888afcdc799b925bf5e2bfb8 files/teamspeak2-server.rc6 807
+MD5 29da40514bbad9cce162457e66e99612 files/teamspeak2-server.rc6 928
diff --git a/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.19.40 b/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.19.40
new file mode 100644
index 000000000000..834c59bf3c32
--- /dev/null
+++ b/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.19.40
@@ -0,0 +1 @@
+MD5 6521a57200259198e607631cc65c2873 ts2_server_rc2_201940.tar.bz2 576981
diff --git a/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6 b/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6
new file mode 100644
index 000000000000..2b384edf4559
--- /dev/null
+++ b/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/files/teamspeak2-server.rc6,v 1.1 2003/09/27 11:27:47 jje Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting TeamSpeak Server"
+ start-stop-daemon --start --quiet --chuid teamspeak2 \
+ --exec /opt/teamspeak2-server/server_linux -- \
+ -db=/var/lib/teamspeak2-server/server.dbs \
+ -ini=/var/lib/teamspeak2-server/server.ini \
+ -log=/var/log/teamspeak2-server/server.log \
+ -pid=/var/run/teamspeak2-server/server.pid \
+ -sql=/opt/teamspeak2-server/sql/ \
+ -httpdocs=/opt/teamspeak2-server/http/ &>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping TeamSpeak Server"
+ start-stop-daemon --stop --quiet \
+ --pidfile /var/run/teamspeak2-server/server.pid
+ eend $?
+}
+
diff --git a/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.19.40.ebuild b/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.19.40.ebuild
new file mode 100644
index 000000000000..99796a554a22
--- /dev/null
+++ b/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.19.40.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.19.40.ebuild,v 1.1 2003/09/27 11:27:47 jje Exp $
+
+DESCRIPTION="The Teamspeak Voice Communication Server."
+HOMEPAGE="http://www.teamspeak.org/"
+SRC_URI="ftp://webpost.teamspeak.org/releases/ts2_server_rc2_${PV//./}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+
+S="${WORKDIR}/tss2_rc2"
+
+src_install() {
+ enewuser teamspeak2
+
+ exeinto /opt/teamspeak2-server
+ doexe server_linux sqlite.so
+
+ touch "${D}/opt/teamspeak2-server/bad_names.txt"
+ fowners teamspeak2 /opt/teamspeak2-server/bad_names.txt
+
+ insinto /opt/teamspeak2-server/sql
+ doins sqlite_sql/*.sql
+ insinto /opt/teamspeak2-server/http
+ doins httpdocs/*.html
+ insinto /opt/teamspeak2-server/http/gfx
+ doins httpdocs/gfx/*.{png,gif}
+
+ dodoc changelog.txt readme.txt slicense.txt
+
+ exeinto /etc/init.d
+ newexe "${FILESDIR}/teamspeak2-server.rc6" teamspeak2-server
+
+ keepdir /var/{lib,log,run}/teamspeak2-server
+ fowners teamspeak2 /var/{lib,log,run}/teamspeak2-server
+ fperms 700 /var/{lib,log,run}/teamspeak2-server
+}
+
+pkg_postinst() {
+ # rebuild init deps
+ /etc/init.d/depscan.sh
+
+ einfo
+ einfo "The Teamspeak Server generates the admin and superadmin"
+ einfo "passwords on the fly. To get them, please look in:"
+ einfo "/var/log/teamspeak2-server/server.log"
+ einfo
+}
+
+pkg_postrm() {
+ # rebuild init deps
+ /etc/init.d/depscan.sh
+}
+