summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2005-01-31 09:51:24 +0000
committerChristian Parpart <trapni@gentoo.org>2005-01-31 09:51:24 +0000
commit440e97ac666917df2252af4dd6330230353bada8 (patch)
tree67d9c0df29ddde2b54f2c0adef673bd330691a71 /media-sound/teamspeak2-server-bin
parentFix setting GCJFLAGS. (diff)
downloadhistorical-440e97ac666917df2252af4dd6330230353bada8.tar.gz
historical-440e97ac666917df2252af4dd6330230353bada8.tar.bz2
historical-440e97ac666917df2252af4dd6330230353bada8.zip
According to bug 73847, added to init script and changed config file location from /var/lib/teamspeak-server/ to /etc/teamspeak-server/; although fixed bug 73941
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'media-sound/teamspeak2-server-bin')
-rw-r--r--media-sound/teamspeak2-server-bin/ChangeLog12
-rw-r--r--media-sound/teamspeak2-server-bin/Manifest15
-rw-r--r--media-sound/teamspeak2-server-bin/files/2.0.20.1-r1/teamspeak2-server.rc636
-rw-r--r--media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.20.1-r11
-rw-r--r--media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.20.1-r1.ebuild94
5 files changed, 146 insertions, 12 deletions
diff --git a/media-sound/teamspeak2-server-bin/ChangeLog b/media-sound/teamspeak2-server-bin/ChangeLog
index c706c6bbc19b..5f51892d754c 100644
--- a/media-sound/teamspeak2-server-bin/ChangeLog
+++ b/media-sound/teamspeak2-server-bin/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for media-sound/teamspeak2-server-bin
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/ChangeLog,v 1.16 2005/01/11 13:10:09 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/ChangeLog,v 1.17 2005/01/31 09:51:24 trapni Exp $
+
+*teamspeak2-server-bin-2.0.20.1-r1 (31 Jan 2005)
+
+ 31 Jan 2005; Christian Parpart <trapni@gentoo.org>
+ +files/2.0.20.1-r1/teamspeak2-server.rc6,
+ +teamspeak2-server-bin-2.0.20.1-r1.ebuild:
+ According to bug 73847, added to init script and changed config file
+ location from /var/lib/teamspeak-server/ to /etc/teamspeak-server/;
+ also adding a sleep to svc restart() as it really takes some time
+ sometimes (bug 73941).
11 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
teamspeak2-server-bin-2.0.20.1.ebuild:
diff --git a/media-sound/teamspeak2-server-bin/Manifest b/media-sound/teamspeak2-server-bin/Manifest
index 0bc8b18a6f53..ae07ec561e19 100644
--- a/media-sound/teamspeak2-server-bin/Manifest
+++ b/media-sound/teamspeak2-server-bin/Manifest
@@ -1,17 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 efcf9de7650faae9d8ee8767327353f9 ChangeLog 2193
+MD5 252bfa086bffb4785b68806165e870bf ChangeLog 2616
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 3174551d87cb5495819d5f77767bbe5c teamspeak2-server-bin-2.0.19.40.ebuild 1428
MD5 a8f65f2607b7282c3069d7d3ceb67668 teamspeak2-server-bin-2.0.20.1.ebuild 2540
+MD5 443f964785299c965971e50519a9bcd2 teamspeak2-server-bin-2.0.20.1-r1.ebuild 2660
MD5 9ea73cb7d7ab9d82d18ed112ba6e5435 files/digest-teamspeak2-server-bin-2.0.19.40 74
MD5 5b1551eea3ebab04fd4494431f4ca03c files/digest-teamspeak2-server-bin-2.0.20.1 74
MD5 19ea411494a0103d83bf56f318f06d04 files/teamspeak2-server.rc6 925
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB49BqArHZZzCEUG0RApbuAJ9vwMPwi89SFB5it/La+2YcuKPAWQCeIeC6
-f4xSLCMSM3VoYYJrLvmtobk=
-=rnwZ
------END PGP SIGNATURE-----
+MD5 5b1551eea3ebab04fd4494431f4ca03c files/digest-teamspeak2-server-bin-2.0.20.1-r1 74
+MD5 c139516883e1d13f5fcda538b041407a files/2.0.20.1-r1/teamspeak2-server.rc6 1006
diff --git a/media-sound/teamspeak2-server-bin/files/2.0.20.1-r1/teamspeak2-server.rc6 b/media-sound/teamspeak2-server-bin/files/2.0.20.1-r1/teamspeak2-server.rc6
new file mode 100644
index 000000000000..9e4c7e09a5ac
--- /dev/null
+++ b/media-sound/teamspeak2-server-bin/files/2.0.20.1-r1/teamspeak2-server.rc6
@@ -0,0 +1,36 @@
+#! /sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/files/2.0.20.1-r1/teamspeak2-server.rc6,v 1.1 2005/01/31 09:51:24 trapni Exp $
+
+depend() {
+ need net
+ use mysql
+}
+
+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="/etc/teamspeak2-server/server.ini" \
+ -log="/var/log/teamspeak2-server/server.log" \
+ -pid="/var/run/teamspeak2-server/server.pid" \
+ -sql="/opt/teamspeak2-server/sql/" \
+ -tcpquerydocs="/opt/teamspeak2-server/tcpquerydocs" \
+ -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 $?
+}
+
+restart() {
+ svc_stop
+ sleep 2
+ svc_start
+}
diff --git a/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.20.1-r1 b/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.20.1-r1
new file mode 100644
index 000000000000..cb680391da61
--- /dev/null
+++ b/media-sound/teamspeak2-server-bin/files/digest-teamspeak2-server-bin-2.0.20.1-r1
@@ -0,0 +1 @@
+MD5 e1f0dace646affc80c1e0d83fa7f9161 ts2_server_rc2_20201.tar.bz2 1112816
diff --git a/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.20.1-r1.ebuild b/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.20.1-r1.ebuild
new file mode 100644
index 000000000000..3fcc9b25afc6
--- /dev/null
+++ b/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.20.1-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2005 Gentoo Foundation
+# 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.20.1-r1.ebuild,v 1.1 2005/01/31 09:51:24 trapni Exp $
+
+inherit eutils
+
+DESCRIPTION="The Teamspeak Voice Communication Server"
+HOMEPAGE="http://www.goteamspeak.com/"
+SRC_URI="ftp://webpost.teamspeak.org/releases/ts2_server_rc2_${PV//./}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE="mysql emul-linux-x86"
+
+S="${WORKDIR}/tss2_rc2"
+
+RDEPEND="emul-linux-x86? ( =app-emulation/emul-linux-x86-baselibs-1.0 )"
+DEPEND=""
+
+pkg_setup() {
+ enewuser teamspeak2
+}
+
+src_install() {
+ exeinto /opt/teamspeak2-server
+ doexe server_linux sqlite.so
+ if use mysql; then
+ doexe libsqlmy.so
+ fi
+
+ 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
+ if use mysql; then
+ insinto /opt/teamspeak2-server/mysql_sql
+ doins mysql_sql/*.sql
+ fi
+
+ # www-data ...
+ insinto /opt/teamspeak2-server/http
+ doins httpdocs/*.html
+ insinto /opt/teamspeak2-server/http/gfx
+ doins httpdocs/gfx/*.{jpg,png,gif}
+ insinto /opt/teamspeak2-server/http/help
+ doins httpdocs/help/*.html
+
+ # tcpquery docs ...
+ insinto /opt/teamspeak2-server/tcpquerydocs
+ doins tcpquerydocs/*.txt
+
+ # user manual docs ...
+ dodoc changelog.txt README INSTALL
+ dohtml manual.html
+ dohtml -r Manual
+
+ if use mysql; then
+ dodoc INSTALL.mysql
+ fi
+
+ # runtime FS layout ...
+ exeinto /etc/init.d
+ newexe "${FILESDIR}/2.0.20.1-r1/teamspeak2-server.rc6" teamspeak2-server
+
+ keepdir /{etc,var/{lib,log,run}}/teamspeak2-server
+ fowners teamspeak2 /{etc,var/{lib,log,run}}/teamspeak2-server
+ fperms 700 /{etc,var/{lib,log,run}}/teamspeak2-server
+
+ # Fix bug #66639
+ dosym sql /opt/teamspeak2-server/sqlite_sql
+}
+
+pkg_postinst() {
+ 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
+ if use mysql; then
+ einfo "In order to have Teamspeak utilize a MySQL server, you will"
+ einfo "need to edit the server.ini file found in /etc/teamspeak2-server/"
+ einfo
+ einfo "Also, please note Teamspeak is only compatible with MySQL 3.x"
+ einfo "While it is possible to use a later version of MySQL, it may"
+ einfo "require modifications such as replacing libraries."
+ einfo
+ einfo "For more information, please see INSTALL.mysql which is"
+ einfo "located in /usr/share/doc/${PF}/ or "
+ einfo "visit the Teamspeak website at http://www.teamspeak.org"
+ einfo
+ fi
+}