diff options
-rw-r--r-- | media-sound/teamspeak-server-bin/Manifest | 2 | ||||
-rw-r--r-- | media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.12.3.ebuild | 81 |
2 files changed, 83 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server-bin/Manifest b/media-sound/teamspeak-server-bin/Manifest index 425b788e19f7..71275dcaa2bc 100644 --- a/media-sound/teamspeak-server-bin/Manifest +++ b/media-sound/teamspeak-server-bin/Manifest @@ -1,4 +1,6 @@ DIST teamspeak3-server_linux-amd64-3.0.11.4.tar.gz 5024057 SHA256 92123aff892740c88acc30a6e3e4df1615be44f9780acd396d663bac91323a40 SHA512 4e1d04e9943f02e1bc5042da0ee3cee3520a56eac9102c02ae6415e179a1daa4f8480c55eaa01c2c1d37a3c2bf6bd90b081131ea177a78f73ce2eddfb791224a WHIRLPOOL 19e1d3726d2782cca51495d6f7f034819596c3e04cacbd784c055b2baad03bf1aa92aa24223aa9f67f7ee5f1125c83556ed454bc9ceb62c14e0eb3166148c3f7 DIST teamspeak3-server_linux-x86-3.0.11.4.tar.gz 5178378 SHA256 ca25c53aaf61f2111ba425263cd782d1556b42d579607f5390268676645c8dd2 SHA512 6bb6edbb9f8e7b5aeadfae4e9e01da6be113348648cf307d92132eb1f9e6e09406c69ec5f2769b51a0cae17776899c99e0867963dd39a515f802e01dc285d8b3 WHIRLPOOL f5a5123c99ed41e1032d96a2396e3de1c957fb4dd12ec11407f28e8768325cfb85fb5314961b1e91a2c5d34ed7226d5df417d02fc50fc95d11e96b16312fba32 DIST teamspeak3-server_linux_amd64-3.0.12.2.tar.bz2 6604024 SHA256 24180a1a4c2e7d33b0574fa6b9860f25c248b96638410c01622c275e7284184a SHA512 2dcf6110dcd4af492a22b51762c1d8f47d16140bfc7d82a17282965e3b13741fff09199aea85a8389030495a5d04e4bfdb1cf53443a6dc1b14b7f82840e49a90 WHIRLPOOL b92da12743a8b472bbbfb3f0dc3624e52e13768de5677143d567ed7bb6d7ea0061b3da93ae072dc04175beb006cc187b0c05fc8d288178a45bc7789da67d7742 +DIST teamspeak3-server_linux_amd64-3.0.12.3.tar.bz2 6628966 SHA256 07f72ae51bde9bb1f144455b5e352f5cd8e22da112ec265509a50e2b9af86b41 SHA512 6cc711cbfe142fb629776888d9304548f2b7377725a8413bc67606dc71bf7ed1791d66d9a4eccc0ecb61c3be0eb8f354b4dd0535aef14004986df8c3bfd06e1c WHIRLPOOL 315e06aac2f191ce6fa4f0fc8db6afd60bceac41f25fcdaf7cc8e5e6e60906225298bdcc31126d83dbb55b2cec5ddbc63d20289544788bb08e908c830832173a DIST teamspeak3-server_linux_x86-3.0.12.2.tar.bz2 6450248 SHA256 2b8241052747ee8ce65b88ea7db689791c373dccc37832747600e5b2cc462c82 SHA512 365c96d43b5b94a4d2af0c023c163046fa125e8626c12f9eb82ae46d96b3976c2ade9073dfe79a92a4f40f8ce3600e43b6fe8c2aa4914f80d5dc2cdbfd97baa3 WHIRLPOOL 85a80ca55cdbd91bc37bc4f5b284aea804886ee282ee2f9bfe0435dfaaab059630cfcc804d6bb2970f193d27b0ead35187e18979067e81238d13ef72ed7bc559 +DIST teamspeak3-server_linux_x86-3.0.12.3.tar.bz2 6480139 SHA256 56195a5883efc17356f781b183ec1fc2a1bd646486d506c45a3f9cce1ba5a526 SHA512 5f0b895e7645b2f1079cd56b40c16381f3fab74570586209ba6959dd99c2537675511a84d2d98ce0cce15d1b23ae60befc7f4acb4ecde8bb2980f6211c091b05 WHIRLPOOL ad4aab9ffdc116b7fd26911b0fc2ff4c77a52731fc4333574a138649c6b0bc0c7f373307f5eace487e07b39fa1b2b52a94a3cf1f34c4dfa092eafffe95e89608 diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.12.3.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.12.3.ebuild new file mode 100644 index 000000000000..a382c49b1c0a --- /dev/null +++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.12.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib systemd user + +DESCRIPTION="Crystal Clear Cross-Platform Voice Communication Server" +HOMEPAGE="http://www.teamspeak.com/" +SRC_URI=" + amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux_amd64-${PV}.tar.bz2 ) + x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux_x86-${PV}.tar.bz2 )" + +SLOT="0" +LICENSE="teamspeak3 GPL-2" +IUSE="doc tsdns" +KEYWORDS="~amd64 ~x86" + +RESTRICT="installsources fetch mirror strip" + +S="${WORKDIR}/teamspeak3-server_linux_${ARCH}" + +QA_PREBUILT="/opt/*" + +pkg_nofetch() { + elog "Please download ${A}" + elog "from ${HOMEPAGE}downloads and place this" + elog "file in ${DISTDIR}" +} + +pkg_setup() { + enewuser teamspeak3 +} + +src_install() { + # Install wrapper + dosbin "${FILESDIR}"/ts3server + + # Install TeamSpeak 3 server into /opt/teamspeak3-server. + local opt_dir="/opt/teamspeak3-server" + into ${opt_dir} + insinto ${opt_dir} + exeinto ${opt_dir} + newsbin ts3server ts3server-bin + doexe *.sh + doins *.so + doins -r sql + + # Install documentation and tsdns. + dodoc -r CHANGELOG doc/*.txt + use doc && dodoc -r serverquerydocs doc/serverquery && \ + docompress -x /usr/share/doc/${PF}/serverquerydocs && \ + docompress -x /usr/share/doc/${PF}/serverquery && \ + dosym ../../../usr/share/doc/${PF}/serverquery ${opt_dir}/doc/serverquery && \ + dosym ../../usr/share/doc/${PF}/serverquerydocs ${opt_dir}/serverquerydocs + + if use tsdns; then + newsbin tsdns/tsdnsserver tsdnsserver + newdoc tsdns/README README.tsdns + newdoc tsdns/USAGE USAGE.tsdns + dodoc tsdns/tsdns_settings.ini.sample + fi + + # Install the runtime FS layout. + insinto /etc/teamspeak3-server + doins "${FILESDIR}"/server.conf "${FILESDIR}"/ts3db_mariadb.ini + keepdir /{etc,var/{lib,log}}/teamspeak3-server + + # Install the init script and systemd unit. + newinitd "${FILESDIR}"/${PN}-init-r1 teamspeak3-server + systemd_dounit "${FILESDIR}"/systemd/teamspeak3.service + systemd_dotmpfilesd "${FILESDIR}"/systemd/teamspeak3.conf + + # Fix up permissions. + fowners teamspeak3 /{etc,var/{lib,log}}/teamspeak3-server + fowners teamspeak3 ${opt_dir} + + fperms 700 /{etc,var/{lib,log}}/teamspeak3-server + fperms 755 ${opt_dir} +} |