aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/teamspeak-server-bin/Manifest3
-rw-r--r--media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.7.2.ebuild84
2 files changed, 87 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server-bin/Manifest b/media-sound/teamspeak-server-bin/Manifest
index 59ac3a1d..6e702d6b 100644
--- a/media-sound/teamspeak-server-bin/Manifest
+++ b/media-sound/teamspeak-server-bin/Manifest
@@ -7,7 +7,10 @@ AUX ts3db_mysql.ini 99 SHA256 57f81c410d7768a7550b1f01697bb65f2ea7cd4548cabf8ff7
AUX ts3server 264 SHA256 fd640796c87ff8be2ee4992b5d05512fc39624f2bcf75adf3a25f4ca8deb585f SHA512 b839d393550f08e0b8e19d78879d2be13f47d8d8cd7a81106ca39ccf475be780cd2f07e7188945f8df1da443d3dffd2f948620b96a41e66aaf887111a22dd9ff WHIRLPOOL a466dcdcda46468d7e31e1a5be50e88b025a58c00ea1b84f54629810b3fae01025a5c4b9172719945fb2da7023c129f7533f42e92f5b20ceab67fa4a3d141db4
DIST teamspeak3-server_linux-amd64-3.0.6.1.tar.gz 4131518 SHA256 5d222d1f6b28db856788e0004a1a2143372c82fecbd0651e8a575cee8742ef3c SHA512 e5700fea5bf4df2134449cf3a57a823feb4bf72e052bec242fe4d180563a44cf48acd3d46f3ac2ec1a9c300ab903ff132cb16e06501cbac4650993240656414b WHIRLPOOL 4ba2a6f4561365c1441c7bec861b057e8d66d5ea9f08f05e472c2ed70ceedec5898b149e9cb208d0cdea7ccccde97acda0de9e412c5e86cc8a25ff3a25b12ee2
DIST teamspeak3-server_linux-amd64-3.0.7.1.tar.gz 4470985 SHA256 500b9a75dbe5287db7f4d8b788e53b73069c9d1d49cebc8b6b5e0b3081e0473b SHA512 aca25cfd0d0d0d2e3c3832cbac256f5e8996c3593659f5fdf01de1192a35246d4cc222dbda236d75adae31911fd03a2b345f8beb2874b79b62b95ff2c0f528e0 WHIRLPOOL 99c8c62565038828765965cd0eff35245d305b80074042a0dc296b50eb23df9823676351db84e8ec0e79faeb6fc26622a6c6488240957f16afb87ea8457e42a9
+DIST teamspeak3-server_linux-amd64-3.0.7.2.tar.gz 4490216 SHA256 1be5cb2dd03168c8c2b8900748439545e122d0cdbf66e2c9bf3d9bed1d9553f6 SHA512 647ee7c5e3e832db9e53f130603c23d73d21af2e5501bbf3727abad9d317f70e6fd9a0158e10ffcaa28dfd9bb30f23743d8d8f9aef1d450659eb114dc626da97 WHIRLPOOL d421f9610a3b35124b44bbf2b915e7a9af17ad31c77529a8939a33de6b1b6ebed670cd87785474dd3c1b2cb625e7914bb5c8de50ce3b0625d444c6f638c1dc31
DIST teamspeak3-server_linux-x86-3.0.6.1.tar.gz 4436951 SHA256 ea0399bfce623b09e15dca4fc970528ae7b4cee27027ff2ab03a1563da562f0c SHA512 5e022bcb8b3c0b8c728c2ea85421908c86f9e41ea87c172a246fd749b04182467cfdaba8d53413b76c6dbbf97d598564e533245f2530f6375c5cd35465c2f850 WHIRLPOOL a4fa70b534bd3370cda50de7f462126db2d0a34bbe4fa5fcae3c226d277f03bc30d8af09d3909c79f005decc68b5f8c15517fc9e7a485d8c9807ca83082402d1
DIST teamspeak3-server_linux-x86-3.0.7.1.tar.gz 4751494 SHA256 bc565b74b4c6d6e9a348c51c0f227514a6efce437907eb1dac301ea5bcc449c1 SHA512 02cd68186c4a4040f0373a4e873ac4a11d65b6d5c7fc833974341cdd4163f0efaba66fde61500acaefb664d8502a40341f9ddffd96cd7aa5163392f3d2b41bcb WHIRLPOOL f1ad3e4cfe3a8ebc2674b40295c0fff83b79abbd79198329316e7a9702844f803a24e28e11f1f140b6e9ae091881a6150fd564d69beb5b1bbc81abb59bce6a89
+DIST teamspeak3-server_linux-x86-3.0.7.2.tar.gz 4766948 SHA256 9616b6619eb9a253d7b60e4898ee86485d007a0d051c3b044bc3f3204c8a49cf SHA512 69f1296c33bdfdcbb4616571180ef45f6beb6f19b54eed6dd7b82f86df4775395cc711acca7ed9bc0cbdbd357bc3dacee4377b13fd5b3ca6c183ae84e3d75223 WHIRLPOOL 572f74d399e86e4cc3c5cc683009b5be4c7e22519730753b805b2afac22e277d3b53c08d1ada448173a2a3466c36514b6fa57a202da4cb96f2c479589ecf9bd4
EBUILD teamspeak-server-bin-3.0.6.1.ebuild 2480 SHA256 790ce39655581cb70cb1126948ca27c73efc9f1b84e6906ff9e5ea1ef2c665dc SHA512 164fe472ca21ced8e848931b8730fe80e3bdf0b4a6bdf51ba70207fd2be71361aa35d3924a76d87db1a38315fb1b66e7afeaa4099318a9169c304e0cac470bf9 WHIRLPOOL 7158f529dc6403c9f0a253a5a5e24febe204765e02399cbb62d74192c2a19cd223b01b9f87dc6c0ffef49e23e8148d8ecabd7fce0c5bb8ff17528c26fa720ac9
EBUILD teamspeak-server-bin-3.0.7.1.ebuild 2467 SHA256 1be316b2a1ca2e99a25052c78f98d831929eb7522db1b1c177e2c33549781d08 SHA512 8c36280b3922b668b78266f18389c0e00e2d864e931eab57bfeb73935021bf25058b4a29106c3227b074ceb1c975f7ebd9b8627aba7663d6503e6b98831eada5 WHIRLPOOL 4b1b82c1fdc4b9e3344d8516382187cdb3214c74d96c3b9b212fc8c96d0a07f5771da7bf864fd3d0798d5af3b036d66583a25ee1210253f35356af0a51e21bd0
+EBUILD teamspeak-server-bin-3.0.7.2.ebuild 2468 SHA256 84bb43abd61269e6de3621d87a679d9fb696818352e8a1f2456d6cd52bdaf294 SHA512 c379162132ed302618efa8102cc5134501d10c299ebe84857648d73fbabeac87846ed9c73b0fadd2f348a8d6e27fa8c34564927b79087c2eb1d1544bbcd3c86c WHIRLPOOL 4e22f4be464684e4f381019a5a3d68eea62bbc987ba2477d27e4adc335f9d9ffb9bdd436ff88735fe994dcf62793dee1f50f7163e3ebf1a533cd37be24240460
diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.7.2.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.7.2.ebuild
new file mode 100644
index 00000000..0e1ebd28
--- /dev/null
+++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.7.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.7.2.ebuild,v 1.2 2013/05/23 15:40:05 srcs Exp $
+
+EAPI=5
+
+inherit eutils systemd user
+
+DESCRIPTION="TeamSpeak Server - Voice Communication Software"
+HOMEPAGE="http://www.teamspeak.com/"
+LICENSE="teamspeak3 GPL-2"
+SLOT="0"
+IUSE="doc pdf systemd tsdns"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="installsources mirror strip"
+
+SRC_URI="amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-amd64-${PV}.tar.gz )
+ x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-x86-${PV}.tar.gz )"
+
+S="${WORKDIR}/teamspeak3-server_linux-${ARCH}"
+
+pkg_nofetch() {
+ if use amd64 ; then
+ einfo "Please download teamspeak3-server_linux-amd64-${PV}.tar.gz"
+ elif use x86 ; then
+ einfo "Please download teamspeak3-server_linux-x86-${PV}.tar.gz"
+ fi
+ einfo "from ${HOMEPAGE}?page=downloads and place this"
+ einfo "file in ${DISTDIR}"
+}
+
+pkg_setup() {
+ enewuser teamspeak3
+}
+
+src_install() {
+ # Install TeamSpeak 3 server into /opt/teamspeak3
+ into /opt/teamspeak3
+
+ dodoc -r CHANGELOG doc/*.txt
+ use doc && dodoc -r serverquerydocs
+ use pdf && dodoc doc/*.pdf
+
+ newsbin ts3server_linux_${ARCH} ts3server-bin
+ dobin "${FILESDIR}/ts3server"
+ dobin *.sh
+
+ # 'dolib' may install to libx32 or lib64 - we just want standard lib
+ #dolib.so *.so
+ insinto /opt/teamspeak3/lib
+ doins *.so
+ # 'libmysqlclient.so.15' is hard-coded into the ts3-server binary :(
+ dosym ../../../usr/$(get_libdir)/libmysqlclient.so /opt/teamspeak3/lib/libmysqlclient.so.15
+
+ if use tsdns; then
+ newdoc tsdns/README README.tsdns
+ newdoc tsdns/USAGE USAGE.tsdns
+ newsbin tsdns/tsdnsserver_linux_${ARCH} tsdnsserver
+ insinto /opt/teamspeak3/sbin
+ doins tsdns/tsdns_settings.ini.sample
+ fi
+
+ insinto /opt/teamspeak3/lib
+ doins -r sql
+
+ insinto /etc/teamspeak3
+ doins "${FILESDIR}/server.conf"
+ doins "${FILESDIR}/ts3db_mysql.ini"
+ newinitd "${FILESDIR}/${PN}-3.0.7.1.rc" teamspeak3
+
+ if use systemd; then
+ systemd_dounit "${FILESDIR}/systemd/teamspeak3.service"
+ systemd_dotmpfilesd "${FILESDIR}/systemd/teamspeak3.conf"
+ fi
+
+ keepdir /{etc,var/{lib,log,run}}/teamspeak3
+
+ # Fix up permissions
+ fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3
+ fperms 700 /{etc,var/{lib,log,run}}/teamspeak3
+
+ fowners teamspeak3 /opt/teamspeak3
+ fperms 755 /opt/teamspeak3
+}