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 0F8A4138336 for ; Tue, 4 Sep 2018 22:32:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7559E089B; Tue, 4 Sep 2018 22:32:21 +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 A13B6E089B for ; Tue, 4 Sep 2018 22:32:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 ADEEB335CCF for ; Tue, 4 Sep 2018 22:32:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B8E93C6 for ; Tue, 4 Sep 2018 22:32:16 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1536100276.e41994fe0fc7ea90c427337b20adc99b82510264.monsieurp@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.3.1.ebuild X-VCS-Directories: media-sound/teamspeak-server/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: e41994fe0fc7ea90c427337b20adc99b82510264 X-VCS-Branch: master Date: Tue, 4 Sep 2018 22:32:16 +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: 0b648033-f89e-40af-9bff-503a08698cae X-Archives-Hash: d5133ba18e1a30585b2a5f9a003559d2 commit: e41994fe0fc7ea90c427337b20adc99b82510264 Author: Conrad Kostecki kostecki com> AuthorDate: Sat Aug 25 14:48:45 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Sep 4 22:31:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e41994fe media-sound/teamspeak-server: bump to version 3.3.1. Closes: https://bugs.gentoo.org/664584 Package-Manager: Portage-2.3.48, Repoman-2.3.10 Closes: https://github.com/gentoo/gentoo/pull/9694 media-sound/teamspeak-server/Manifest | 2 + .../teamspeak-server/teamspeak-server-3.3.1.ebuild | 114 +++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest index e723192c1d1..92faeb4beaa 100644 --- a/media-sound/teamspeak-server/Manifest +++ b/media-sound/teamspeak-server/Manifest @@ -1,2 +1,4 @@ DIST teamspeak3-server_linux_amd64-3.3.0.tar.bz2 8383889 BLAKE2B 7397f1c084c7487b613db7c2a71670320636b1c3c5fa353f255d721404dabee39f4f876440613772a1c784947393907c58fb7f275bf212ac3ae46957feb0c5a2 SHA512 375d1476fcbc507aec75a781ee071ccb99753290ecbfb2f2709c9a14556502f27adbbfc31abc9905e33eab3796a6addbde3f81e4714969e18204873c62c0647f +DIST teamspeak3-server_linux_amd64-3.3.1.tar.bz2 8415114 BLAKE2B 22908295d78677ecd09778c85b3e8dae6acd2170732759760884b76bb3614c4af8553910b9c62800bf5ab9cd32423acfe3c9bb476b7b6d7450330626f9f8ad8e SHA512 4335ed9a3ba11a8b26385f5c0b73c01da8c7374b3c0fa24bdeefc66bc297dd241e012ab30e9d0185c44a6c575a38d6c131dfdd8819147dd34f7e79d940ec49cb DIST teamspeak3-server_linux_x86-3.3.0.tar.bz2 8257788 BLAKE2B d23dab70b2f847cf8c1e52b36dd72afa8c6f463b7439d3fd0b10e62586e6678c70eced16c934f87cd8fcc18ee1d2013189a9e60c56dfebf356bb4975f0fce821 SHA512 9b85b75d55f0ea2c89bfc0925de008268cb0c82894dc6909588dd2de6d0c271ad19102f7cc6f5d5f1143be3e3e9c56ac6206fb19d120eede1fc9f4ec67a58142 +DIST teamspeak3-server_linux_x86-3.3.1.tar.bz2 8289228 BLAKE2B 3bdc1fcc29b9650ab6b1eda9d7cb9c201993fed0d194bf75071562d4f553b21098a31d1081113da7b8269056af4bcc3761acff17cf133c9fce874f63c2f4ec75 SHA512 734abdc9e0f3b6bda4fe5c71da51167745d2bdf56890a93c3b4d6d944231e9a561735224d4541f2b70584810aeca8f73f97334d26949fcd1000a708664c44eeb diff --git a/media-sound/teamspeak-server/teamspeak-server-3.3.1.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.3.1.ebuild new file mode 100644 index 00000000000..e8110a9eba1 --- /dev/null +++ b/media-sound/teamspeak-server/teamspeak-server-3.3.1.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." +}