From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- media-sound/teamspeak-server/Manifest | 3 + .../teamspeak-server-3.13.7.ebuild | 134 +++++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 media-sound/teamspeak-server/teamspeak-server-3.13.7.ebuild (limited to 'media-sound/teamspeak-server') diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest index 784a2ecba5a1..1d281b95dda2 100644 --- a/media-sound/teamspeak-server/Manifest +++ b/media-sound/teamspeak-server/Manifest @@ -6,6 +6,9 @@ AUX ts3server.ini-r2 721 BLAKE2B 8427ffb88e2856b0807fe3c3ed2411039fe330f65322cca AUX ts3server_mariadb.ini.sample-r2 762 BLAKE2B c70d4c7e375a9ab43ca9c1c4cadea9843009e7004f38734f7f2d8da3e3e86d83a2301d713b6bffee4e14ad04ef08c05bdae5e7daec4a8678ef3b9b5348824d2b SHA512 c2a4468288251e39e4061363016f6146aceae4c7f19c0e962341748ada5127e0b80380c75d217b1a2d1716c6e53c669aed34d75258b22f32c7f0ffb50b759288 AUX ts3server_postgresql.ini.sample 768 BLAKE2B a8a8e9255012dda70d2096c793c44f22978cab1e2a632f3abbb81f288d9d8716e76727c6edde33146ff4e7dc08da43c7996565c8c05a27ca4f17e1bb02f095d3 SHA512 293917b6310d456e51fc72cf967cb2a0f99ec38b7a62550f2358d1996841d1aa15c0169945884a10799fb72f9831d9d12d4f2a535d1480f8fbaa6b23c9f4cf21 DIST teamspeak3-server_linux_amd64-3.13.6.tar.bz2 9948972 BLAKE2B 397e96751e6688b5579ff7828e4998e3b26183b0b10980e89748d51207428059e7d8cfa6f2f6fb961b77f735f61e1ba00ac13a077c76b5d22a7b2abb28d67e48 SHA512 dc007cdc924fd284da4a206cf615816b53c2f03ccb2573a29aa2bce6874e09ce5764a3953f8e84de8a3cc02aee306b1505d8c7edf8d48713bbf5f172c3be3422 +DIST teamspeak3-server_linux_amd64-3.13.7.tar.bz2 9968877 BLAKE2B 7c2f200b1e3a3184005aab213acc681326e16a776f529dbdac900f5b9a6ee9d91883d1aabfe4526e52e9a706a4856366291f061efc6eff581216d7450746322d SHA512 cd026e0c51d8269bd6965f9f274ff6478d4e179d23ee1b00f93a887997985b97afcb7eda05e34150d6fe0610f2715a61989a7f3ca05994067e71b9d3171e2962 DIST teamspeak3-server_linux_x86-3.13.6.tar.bz2 9785491 BLAKE2B f0d196a72e9a4283006c4dfd9a1d86e96a3b435d8bf14dfca178ea0240e94b88bcf3b9e20b6c99638e04019065fa79d28ac2d9ad452e306c4c27966e32464c69 SHA512 ef124964590c106bacd3bc98847a5e8f64fbbf69ccb2a216f9af6548f5f2d200c0bd307d283f48cb08c254fddb92fe03f6cff2c3c87e7ca593edf3023b053bee +DIST teamspeak3-server_linux_x86-3.13.7.tar.bz2 9820644 BLAKE2B 37789bfe4c544b8eeb28a34d1fae933e2d2a11b23e85a6de66ac4c9772a061860803a3a767227d787efd90f7aa031b3ca77b229acca554aebd69f1f78b28128c SHA512 04278359a03cb9f8bc6db48b54976020da6a44629f17b503378bf0ffe554da838193ba590ab895e97c96e026aa87d96a3e167a009710adc4b9b03193d496201d EBUILD teamspeak-server-3.13.6-r1.ebuild 3510 BLAKE2B 1cc38840e47143772fe861213a2600cc1c2d0cf49573f33dd17709a0cac406d495b2ee3b20b21d726d12b16fd1c8e90d43a50f7bf7d716b0a286a15531bc23bd SHA512 923e0a4e1f22b74d4a9f0f7d5abd430b046086c8cb129c7ff1e754781d7b20ace30836a7913b95ffc6890ff5317d4021f0d182edf7494bff8d3ea37a790188b2 +EBUILD teamspeak-server-3.13.7.ebuild 3512 BLAKE2B 3d6f944642de423c000c62f1e6881b35d4d1df2512c0588a78f25d177301bceece967f32dc63ef9a4b0a31bccdcb53d8227b40f5ad4c38f3da12453130faa075 SHA512 2e83ca71bee8e8959f877fac3fc13adba2c8e72524e53946a913e8638b0bbe0fc17c8ed817d301240d5c2015efb9f8471a5968029206729557cfc67fd7ccdd09 MISC metadata.xml 704 BLAKE2B 68e04b7596542e2549233e228e8db2bf5943c2b859133b55a41800ef7048730e5298ee5cc5d034e8ec2f4187230f1bf470c2195d2c88b451faaf4ae0b6f53128 SHA512 f517abc5ee9903df810da51cd0fa86fd8c4b9bfcae05816d6d2596e645a59a1596007da5634ce33d3cb7efcf252b238dc197da0dc992b06654b17f12a1f5b239 diff --git a/media-sound/teamspeak-server/teamspeak-server-3.13.7.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.13.7.ebuild new file mode 100644 index 000000000000..9ecdd00b61b5 --- /dev/null +++ b/media-sound/teamspeak-server/teamspeak-server-3.13.7.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +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 postgres tsdns" + +RESTRICT="bindist mirror" + +RDEPEND=" + acct-group/teamspeak + acct-user/teamspeak + postgres? ( dev-db/postgresql ) +" + +QA_PREBUILT=" + opt/teamspeak3-server/libmariadb.so.2 + opt/teamspeak3-server/libts3db_mariadb.so + opt/teamspeak3-server/libts3db_postgresql.so + opt/teamspeak3-server/libts3db_sqlite3.so + opt/teamspeak3-server/libts3_ssh.so + opt/teamspeak3-server/ts3server + opt/teamspeak3-server/tsdnsserver +" + +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 "${ED}"/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-r2 ts3server.ini + + dodoc CHANGELOG + docinto ts3server + dodoc doc/*.{md,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-r2 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 postgres; then + insinto /etc/teamspeak3-server + doins "${FILESDIR}"/ts3server_postgresql.ini.sample + doins "${FILESDIR}"/ts3db_postgresql.ini.sample + + exeinto /opt/teamspeak3-server + doexe libts3db_postgresql.so + + insinto /opt/teamspeak3-server/sql + doins -r sql/create_postgresql + 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 "put it in /opt/teamspeak3-server named as licensekey.dat." + elog "Please note, that the license must be writeable by the teamspeak user," + elog "as it will be automatically updated every six months." +} -- cgit v1.2.3