summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-03-04 12:06:23 +0100
committerAmy Winston <amynka@gentoo.org>2016-03-04 12:06:23 +0100
commite6a07a0860c5ad5b70ffd7f85ad0420a2d574e9b (patch)
tree563cdb2e2606ade0bade57d640f092659afc9ad7 /media-sound
parentmedia-video/guvcview: add dep on autoconf-archive, bug #575692 (diff)
downloadgentoo-e6a07a0860c5ad5b70ffd7f85ad0420a2d574e9b.tar.gz
gentoo-e6a07a0860c5ad5b70ffd7f85ad0420a2d574e9b.tar.bz2
gentoo-e6a07a0860c5ad5b70ffd7f85ad0420a2d574e9b.zip
media-sound/teamspeak-server-bin: version bump 3.0.12.2 bug #576022
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/teamspeak-server-bin/Manifest2
-rw-r--r--media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.12.2.ebuild81
2 files changed, 83 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server-bin/Manifest b/media-sound/teamspeak-server-bin/Manifest
index 38c31fb5013e..425b788e19f7 100644
--- a/media-sound/teamspeak-server-bin/Manifest
+++ b/media-sound/teamspeak-server-bin/Manifest
@@ -1,2 +1,4 @@
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_x86-3.0.12.2.tar.bz2 6450248 SHA256 2b8241052747ee8ce65b88ea7db689791c373dccc37832747600e5b2cc462c82 SHA512 365c96d43b5b94a4d2af0c023c163046fa125e8626c12f9eb82ae46d96b3976c2ade9073dfe79a92a4f40f8ce3600e43b6fe8c2aa4914f80d5dc2cdbfd97baa3 WHIRLPOOL 85a80ca55cdbd91bc37bc4f5b284aea804886ee282ee2f9bfe0435dfaaab059630cfcc804d6bb2970f193d27b0ead35187e18979067e81238d13ef72ed7bc559
diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.12.2.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.12.2.ebuild
new file mode 100644
index 000000000000..a382c49b1c0a
--- /dev/null
+++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.12.2.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}
+}