diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2018-09-16 22:01:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-09-19 16:42:16 +0200 |
commit | 931d9843fdab04e5cc8882d382b22aa4215c2fca (patch) | |
tree | ef7b5e6ef8b01e64a606f3bb832d975e3d9dde70 /media-sound/teamspeak-server | |
parent | dev-python/llvmlite: Remove 0.25.0_rc1 (diff) | |
download | gentoo-931d9843fdab04e5cc8882d382b22aa4215c2fca.tar.gz gentoo-931d9843fdab04e5cc8882d382b22aa4215c2fca.tar.bz2 gentoo-931d9843fdab04e5cc8882d382b22aa4215c2fca.zip |
media-sound/teamspeak-server: bump to version 3.4.0
Closes: https://bugs.gentoo.org/665284
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-sound/teamspeak-server')
-rw-r--r-- | media-sound/teamspeak-server/Manifest | 2 | ||||
-rw-r--r-- | media-sound/teamspeak-server/teamspeak-server-3.4.0.ebuild | 114 |
2 files changed, 116 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest index 8378fbd711be..8e39636b08dd 100644 --- a/media-sound/teamspeak-server/Manifest +++ b/media-sound/teamspeak-server/Manifest @@ -1,2 +1,4 @@ DIST teamspeak3-server_linux_amd64-3.3.1.tar.bz2 8415114 BLAKE2B 22908295d78677ecd09778c85b3e8dae6acd2170732759760884b76bb3614c4af8553910b9c62800bf5ab9cd32423acfe3c9bb476b7b6d7450330626f9f8ad8e SHA512 4335ed9a3ba11a8b26385f5c0b73c01da8c7374b3c0fa24bdeefc66bc297dd241e012ab30e9d0185c44a6c575a38d6c131dfdd8819147dd34f7e79d940ec49cb +DIST teamspeak3-server_linux_amd64-3.4.0.tar.bz2 8426025 BLAKE2B 767df96757581dd1c5139e6831c89dbb1f0a76232c5b286b88406fb2a19614c9ae29251030c00f534742c8aba0510a45f2b44e453a05a6558e82a1ac8dcd718b SHA512 568646ae4a2a3b3c8cfdc91580a073ed62985f1b6510533b0e8c8627ea4dc8cf3ff8717a1cc8323fc60dd5c399c972da505c3c84300262538a5f3e945087d832 DIST teamspeak3-server_linux_x86-3.3.1.tar.bz2 8289228 BLAKE2B 3bdc1fcc29b9650ab6b1eda9d7cb9c201993fed0d194bf75071562d4f553b21098a31d1081113da7b8269056af4bcc3761acff17cf133c9fce874f63c2f4ec75 SHA512 734abdc9e0f3b6bda4fe5c71da51167745d2bdf56890a93c3b4d6d944231e9a561735224d4541f2b70584810aeca8f73f97334d26949fcd1000a708664c44eeb +DIST teamspeak3-server_linux_x86-3.4.0.tar.bz2 8299226 BLAKE2B fc9149171d3463cf443f35e5fff672c4c6a3260378efb497e2fa424dcc685bd1f33907f63f0d08b755cff8151ac672b58db33fb7a0bfa74ba723615d969aeb0d SHA512 76420b495b61287e9174fa1edc8d85043ac7d79665ca457b4b377fdcb2b9231fac1f10d7cdde39df252b0e3dddba998b6191c999b402cb37192fd6307d494ed1 diff --git a/media-sound/teamspeak-server/teamspeak-server-3.4.0.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.4.0.ebuild new file mode 100644 index 000000000000..e8110a9eba1a --- /dev/null +++ b/media-sound/teamspeak-server/teamspeak-server-3.4.0.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit systemd user + +DESCRIPTION="A server software for hosting quality voice communication via the internet" +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 )" + +LICENSE="LGPL-2.1 teamspeak3" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="doc mysql tsdns" + +RESTRICT="mirror strip" + +QA_PREBUILT="opt/teamspeak3-server/libmariadb.so.2 + opt/teamspeak3-server/libts3db_mariadb.so + opt/teamspeak3-server/libts3db_sqlite3.so + opt/teamspeak3-server/libts3_ssh.so + opt/teamspeak3-server/ts3server + opt/teamspeak3-server/tsdnsserver" + +pkg_setup() { + enewgroup teamspeak + enewuser teamspeak -1 -1 /opt/teamspeak3-server teamspeak +} + +src_unpack() { + default + + mv teamspeak3-server_linux_$(usex amd64 amd64 x86) ${P} || die +} + +src_install() { + diropts -o teamspeak -g teamspeak + keepdir /opt/teamspeak3-server /var/log/teamspeak3-server + + diropts + keepdir /etc/teamspeak3-server + + touch ${D%/}/opt/teamspeak3-server/.ts3server_license_accepted || die + + exeinto /opt/teamspeak3-server + doexe ts3server + doexe "${FILESDIR}"/ts3server-bin + dodir /opt/bin + dosym ../teamspeak3-server/ts3server-bin /opt/bin/ts3server + + exeinto /opt/teamspeak3-server + doexe libts3db_sqlite3.so libts3_ssh.so + + insinto /opt/teamspeak3-server/serverquerydocs + doins -r serverquerydocs/. + + insinto /opt/teamspeak3-server/sql + doins sql/*.sql + doins -r sql/create_sqlite + + insinto /etc/teamspeak3-server + newins "${FILESDIR}"/ts3server.ini-r1 ts3server.ini + + dodoc CHANGELOG + docinto ts3server + dodoc doc/*.txt + + newinitd "${FILESDIR}"/teamspeak.initd-r1 teamspeak3-server + systemd_newunit "${FILESDIR}"/teamspeak.service teamspeak3-server.service + + newenvd - 99teamspeak3-server <<- EOF + CONFIG_PROTECT="/etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini" + EOF + + if use doc; then + docinto html + dodoc -r doc/serverquery/. + fi + + if use mysql; then + insinto /etc/teamspeak3-server + newins "${FILESDIR}"/ts3server_mariadb.ini.sample-r1 ts3server_mariadb.ini.sample + doins "${FILESDIR}"/ts3db_mariadb.ini.sample + + exeinto /opt/teamspeak3-server + doexe libts3db_mariadb.so + doexe redist/libmariadb.so.2 + + insinto /opt/teamspeak3-server/sql + doins -r sql/create_mariadb + doins -r sql/updates_and_fixes + fi + + if use tsdns; then + exeinto /opt/teamspeak3-server + doexe tsdns/tsdnsserver + dodir /opt/bin + dosym ../teamspeak3-server/tsdnsserver /opt/bin/tsdnsserver + + insinto /etc/teamspeak3-server + doins tsdns/tsdns_settings.ini.sample + + docinto tsdns + dodoc tsdns/{README,USAGE} + fi +} + +pkg_postinst() { + elog "If you have a Non-Profit License (NPL)," + elog "place it in /opt/teamspeak3-server as licensekey.dat." + elog "Please note, that the license must be writeable by the teamspeak user." +} |