summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-07-01 12:11:04 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-07-01 12:11:04 +0200
commit514e5bea181b1f0bb9877a5893653c0479e00203 (patch)
tree2d3d379e11fc12bbf5dcedd4d18a4a5766e8fbb6 /media-sound/teamspeak-server
parentnet-analyzer/suricata: add 6.0.3, drop 6.0.2 (diff)
downloadgentoo-514e5bea181b1f0bb9877a5893653c0479e00203.tar.gz
gentoo-514e5bea181b1f0bb9877a5893653c0479e00203.tar.bz2
gentoo-514e5bea181b1f0bb9877a5893653c0479e00203.zip
media-sound/teamspeak-server: bump to version 3.13.6
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-sound/teamspeak-server')
-rw-r--r--media-sound/teamspeak-server/Manifest2
-rw-r--r--media-sound/teamspeak-server/teamspeak-server-3.13.6.ebuild134
2 files changed, 136 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest
index acc1c71895bb..296824365f2e 100644
--- a/media-sound/teamspeak-server/Manifest
+++ b/media-sound/teamspeak-server/Manifest
@@ -1,4 +1,6 @@
DIST teamspeak3-server_linux_amd64-3.13.3.tar.bz2 9945408 BLAKE2B d714a046279c8cac11ff373a66ba41010e5839704030ae29f8d7f429759126dff8675b8b0b37b584115ad44d9e216cb5449d4b159dae53ece72f9e5bbe119f84 SHA512 39ad3a00f5e38a0601ed9e9df4227a7f00b4cb9bdaed6562ccf05e0fce22ed040cfd5a2ea36e9e97a18a74c335e90c0c080106cdaf5c0b32859819286727cb58
DIST teamspeak3-server_linux_amd64-3.13.5.tar.bz2 9950540 BLAKE2B 0ba97317364a2b219d98d7c9590355a8ce62a91f1e6b1b647d5a00643c79fe197fefb548c872f54ac2b67612eef4d97e36c7bbdb59647ab061520ad2295344ab SHA512 c190ff1fccea71d90fae70e5786a4b6d269161a073f4a10abf24c9c75e694eae2b49e8aabf3dcb1afbcbc4242e1a8c6616e39b950c719ccebb47ad49d8a4f8ae
+DIST teamspeak3-server_linux_amd64-3.13.6.tar.bz2 9948972 BLAKE2B 397e96751e6688b5579ff7828e4998e3b26183b0b10980e89748d51207428059e7d8cfa6f2f6fb961b77f735f61e1ba00ac13a077c76b5d22a7b2abb28d67e48 SHA512 dc007cdc924fd284da4a206cf615816b53c2f03ccb2573a29aa2bce6874e09ce5764a3953f8e84de8a3cc02aee306b1505d8c7edf8d48713bbf5f172c3be3422
DIST teamspeak3-server_linux_x86-3.13.3.tar.bz2 9779788 BLAKE2B 1ddb466dfc6a7d19dacfa05a0608487a8b086963186eb48e2480b83fb9eaa408ca45bc80bfc6fbfd1623c21caeb27e516f6d893ab84e442ba75c9f59daf4fa79 SHA512 9b14e1fd8b969c32ca63e3b9665e0941c3d1e67b3e49d5f2d6cc701aa4ee10a80f1c10428ef2d59bb3767cd03ad5503a527c47b1db11ea525cca8c7e07787621
DIST teamspeak3-server_linux_x86-3.13.5.tar.bz2 9784415 BLAKE2B 54fa526f2fa4ebade068faf1c7e6becdf34fd70bc12771f90b454c9adfdefb5fd61ee4cc9e59c20041cd2387871598c7bd900845cdffbb822b2ce238a826d861 SHA512 05a5440dd7a18f9af1023f9ed98626f0e68a31375a7d5debfa401601a743546a44ff2162e92a18bfacccf5a1b9f5c4218bd5ea82ca5700133c30be70ffb0aea0
+DIST teamspeak3-server_linux_x86-3.13.6.tar.bz2 9785491 BLAKE2B f0d196a72e9a4283006c4dfd9a1d86e96a3b435d8bf14dfca178ea0240e94b88bcf3b9e20b6c99638e04019065fa79d28ac2d9ad452e306c4c27966e32464c69 SHA512 ef124964590c106bacd3bc98847a5e8f64fbbf69ccb2a216f9af6548f5f2d200c0bd307d283f48cb08c254fddb92fe03f6cff2c3c87e7ca593edf3023b053bee
diff --git a/media-sound/teamspeak-server/teamspeak-server-3.13.6.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.13.6.ebuild
new file mode 100644
index 000000000000..bd2a13a829c1
--- /dev/null
+++ b/media-sound/teamspeak-server/teamspeak-server-3.13.6.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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."
+}