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 116CA138334 for ; Fri, 5 Jul 2019 17:54:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C7DAE0878; Fri, 5 Jul 2019 17:54:01 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D5792E0878 for ; Fri, 5 Jul 2019 17:54:00 +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 A8A1034718C for ; Fri, 5 Jul 2019 17:53:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 597C1615 for ; Fri, 5 Jul 2019 17:53:58 +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: <1562349168.9bfdee8970c9a52e1105f09e953c3a332ae25261.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.9.1.ebuild X-VCS-Directories: media-sound/teamspeak-server/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9bfdee8970c9a52e1105f09e953c3a332ae25261 X-VCS-Branch: master Date: Fri, 5 Jul 2019 17:53:58 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 59954dcf-b036-4d71-99a1-aab822764f86 X-Archives-Hash: 9fc1caf8fee0c57e3faee67fa9c54304 commit: 9bfdee8970c9a52e1105f09e953c3a332ae25261 Author: Conrad Kostecki kostecki com> AuthorDate: Wed Jul 3 06:51:59 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jul 5 17:52:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bfdee89 media-sound/teamspeak-server: bump to version 3.9.1 Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Conrad Kostecki kostecki.com> Signed-off-by: Michał Górny gentoo.org> media-sound/teamspeak-server/Manifest | 2 + .../teamspeak-server/teamspeak-server-3.9.1.ebuild | 118 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest index 7447c17e665..c5273ad33d8 100644 --- a/media-sound/teamspeak-server/Manifest +++ b/media-sound/teamspeak-server/Manifest @@ -1,2 +1,4 @@ DIST teamspeak3-server_linux_amd64-3.9.0.tar.bz2 8907195 BLAKE2B 5a83674cd2f3722468349f150179d07a656527c5139cee351272faea983b492badb6f0f40629e5eaa78afdd7bcf236e4d437290461bce12ca129863695e2ed79 SHA512 eef59c4ac8bc22c38df4124ef9dd7b272f885696d1660b7fafc925996bb76689148f2f996961addb35424d73e44f95e7dd41d8e06da7d3ffa73ff409694e756e +DIST teamspeak3-server_linux_amd64-3.9.1.tar.bz2 8907155 BLAKE2B 02fe945f6d4db41989cf38c3edfbdddd1c0086d69a1d4f7b3eb5d194f0d48998dd27014aea7c2cb0311ba0be463ac453c3e2c3d5a0825c0c55f02583ae6c7b93 SHA512 aaffb43bc5559736ee9d41f02edb438ceced78e0bc935e6402d2cad6c00b4db6ab42c93df1af7bd9b9254a38aeef908b4024e736d6035e845124c373ed8e096c DIST teamspeak3-server_linux_x86-3.9.0.tar.bz2 8780476 BLAKE2B babcd5ba0754642998de67ba8b424fd2e4a697c19d4b4bccc96250d2b886456375d56f46416b4123972a441f725865f18e2c54ef3890fd191494eb62208b4f17 SHA512 aa11743a6c2a2e4d278c94b20449eb6c58e5c1420fff5c95d6a4e04046811cfd78c1ae0c3f47dd7f6e2c645d704a5031cae0e6a9fb280be86ed3ce5da23968fc +DIST teamspeak3-server_linux_x86-3.9.1.tar.bz2 8781184 BLAKE2B 78fd1678782cc0dc50d85d94a7fa22f61190f84b0d4990366ff10fabbef27499a693c316a181b52fa6db0b127a5819092c026259db7cf5ef49f379abdf821eaf SHA512 ed9f89b19d52d7f49808719d333459c4118148123fe9047be845aac0b05b2e7b120837811f6da1aed891b87ca06606ddb6e0772eaaef2fd8e71775dc7158a819 diff --git a/media-sound/teamspeak-server/teamspeak-server-3.9.1.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.9.1.ebuild new file mode 100644 index 00000000000..5e3cf10c64d --- /dev/null +++ b/media-sound/teamspeak-server/teamspeak-server-3.9.1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd user + +DESCRIPTION="A server software for hosting quality voice communication via the internet" +HOMEPAGE="https://www.teamspeak.com/" +SRC_URI=" + amd64? ( https://files.teamspeak-services.com/releases/server/${PV}/teamspeak3-server_linux_amd64-${PV}.tar.bz2 ) + x86? ( https://files.teamspeak-services.com/releases/server/${PV}/teamspeak3-server_linux_x86-${PV}.tar.bz2 ) +" + +LICENSE="Apache-2.0 Boost-1.0 BSD LGPL-2.1 LGPL-3 MIT teamspeak3" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="doc mysql tsdns" + +RESTRICT="mirror" + +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 + + dodir /opt/bin + dosym ../teamspeak3-server/ts3server /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 license," + elog "place it in /opt/teamspeak3-server as licensekey.dat." + elog "Please note, that the license must be writeable by the teamspeak user." +}