summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <ck+gentoobugzilla@bl4ckb0x.de>2016-12-04 00:27:27 +0100
committerThomas Deutschmann <whissi@gentoo.org>2016-12-04 00:40:26 +0100
commitadf0a5bb06d2eb393ec45dab0e62708abee3f5a2 (patch)
tree10c73ca5024c53a4ab77ffdb6d465a73dcd2f81a /media-sound
parentprofiles: mask dev-python/pygtkspellcheck (diff)
downloadgentoo-adf0a5bb06d2eb393ec45dab0e62708abee3f5a2.tar.gz
gentoo-adf0a5bb06d2eb393ec45dab0e62708abee3f5a2.tar.bz2
gentoo-adf0a5bb06d2eb393ec45dab0e62708abee3f5a2.zip
media-sound/teamspeak-server-bin: Bump to v3.0.13.6
Ebuild changes: =============== - Migrated to EAPI=6; eutils eclass dropped - systemd unit renamed to "teamspeak3-server.service" to use the same name across all init systems - systemd unit now uses the correct command path (bug #591054) Gentoo-Bug: https://bugs.gentoo.org/591054 Gentoo-Bug: https://bugs.gentoo.org/589064 Package-Manager: portage-2.3.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/teamspeak-server-bin/Manifest2
-rw-r--r--media-sound/teamspeak-server-bin/files/systemd/teamspeak3-r1.service21
-rw-r--r--media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.13.6.ebuild88
3 files changed, 111 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server-bin/Manifest b/media-sound/teamspeak-server-bin/Manifest
index 71275dcaa2bc..8307e273a719 100644
--- a/media-sound/teamspeak-server-bin/Manifest
+++ b/media-sound/teamspeak-server-bin/Manifest
@@ -2,5 +2,7 @@ DIST teamspeak3-server_linux-amd64-3.0.11.4.tar.gz 5024057 SHA256 92123aff892740
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_amd64-3.0.13.6.tar.bz2 6492488 SHA256 19ccd8db5427758d972a864b70d4a1263ebb9628fcc42c3de75ba87de105d179 SHA512 95271e5a44c7a14b8fbe134b855973c1af53ac76e6ba01089116b1f63c03bae25f5abfd176f9e26207aa4da8501d646298128078ab5b475458a7ccaba2a48e9c WHIRLPOOL 348356570a45d00d4e98ebfa01c8acc3ea7f3bfcf5b74a4b459999715d836b0feef0eefff50534fca2f034505814187fd8b3037b22452aff159e940ed184e871
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
+DIST teamspeak3-server_linux_x86-3.0.13.6.tar.bz2 6367104 SHA256 2f70b3e70a3d9bf86106fab67a938922c8d27fec24e66e229913f78a0791b967 SHA512 a35e0fffe320206f2ca19153bd46a910bd1690541c83ec3c784fe1f4aaf8dbe430556990f6ebe0efbe71e52d3887b725da4e659db9d1e3c96fd6fd46e6dcd40d WHIRLPOOL 16d35b684f2f3af540464d80158778c62e19bd3c6ae29c791cfec4e509b5d38118b6a34ef113d0f73999adbd2d0cc35c043475866c122d243aa950fb59b99bd7
diff --git a/media-sound/teamspeak-server-bin/files/systemd/teamspeak3-r1.service b/media-sound/teamspeak-server-bin/files/systemd/teamspeak3-r1.service
new file mode 100644
index 000000000000..435325bb89f7
--- /dev/null
+++ b/media-sound/teamspeak-server-bin/files/systemd/teamspeak3-r1.service
@@ -0,0 +1,21 @@
+[Unit]
+Description=TeamSpeak 3 Server
+After=network.target
+
+[Service]
+Type=simple
+Environment=LD_LIBRARY_PATH=/opt/teamspeak3-server
+WorkingDirectory=/opt/teamspeak3-server
+ExecStartPre=/bin/rm -f /dev/shm/7gbhujb54g8z9hu43jre8
+ExecStart=/opt/teamspeak3-server/sbin/ts3server-bin inifile=/etc/teamspeak3-server/server.conf
+ExecStop=/bin/kill -15 $MAINPID
+StandardOutput=syslog
+StandardError=syslog
+User=teamspeak3
+Group=teamspeak3
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+
+# vim:syntax=dosini
diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.13.6.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.13.6.ebuild
new file mode 100644
index 000000000000..b3f6bafbe9f1
--- /dev/null
+++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.13.6.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit multilib systemd user
+
+DESCRIPTION="Crystal Clear Cross-Platform Voice Communication Server"
+HOMEPAGE="https://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_newunit "${FILESDIR}"/systemd/teamspeak3-r1.service teamspeak3-server.service
+ systemd_newtmpfilesd "${FILESDIR}"/systemd/teamspeak3.conf teamspeak3-server.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}
+}
+
+pkg_postinst() {
+ einfo "Starting with version 3.0.13, there are two important changes:"
+ einfo "- IPv6 is now supported."
+ einfo "- Binding to any address (0.0.0.0 / 0::0),"
+ einfo " instead of just the default ip of the network interface."
+}