From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 13BE8138334 for ; Wed, 19 Sep 2018 14:43:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8876E091F; Wed, 19 Sep 2018 14:43:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DAFBE091F for ; Wed, 19 Sep 2018 14:43:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8705D335C67 for ; Wed, 19 Sep 2018 14:43:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D02763CB for ; Wed, 19 Sep 2018 14:43:38 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1537368136.931d9843fdab04e5cc8882d382b22aa4215c2fca.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/teamspeak-server/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/teamspeak-server/Manifest media-sound/teamspeak-server/teamspeak-server-3.4.0.ebuild X-VCS-Directories: media-sound/teamspeak-server/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 931d9843fdab04e5cc8882d382b22aa4215c2fca X-VCS-Branch: master Date: Wed, 19 Sep 2018 14:43:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 76214729-7436-4845-b64b-2d12914a980e X-Archives-Hash: 7e0eb2ba1975dc9714ecc3156880c2c6 commit: 931d9843fdab04e5cc8882d382b22aa4215c2fca Author: Conrad Kostecki kostecki com> AuthorDate: Sun Sep 16 20:01:35 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Sep 19 14:42:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931d9843 media-sound/teamspeak-server: bump to version 3.4.0 Closes: https://bugs.gentoo.org/665284 Signed-off-by: Conrad Kostecki kostecki.com> Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Michał Górny gentoo.org> media-sound/teamspeak-server/Manifest | 2 + .../teamspeak-server/teamspeak-server-3.4.0.ebuild | 114 +++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest index 8378fbd711b..8e39636b08d 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 00000000000..e8110a9eba1 --- /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." +}