summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-03-26 23:40:50 +0100
committerConrad Kostecki <conikost@gentoo.org>2020-03-27 23:28:16 +0100
commit329671499949bdde6399c826cf240187f229a577 (patch)
tree82c9519536cc0ab2d2568b2c6440f7ff1b00b37d
parentmedia-libs/libjpeg-turbo: stable 2.0.4 for sparc, bug #714874 (diff)
downloadgentoo-329671499949bdde6399c826cf240187f229a577.tar.gz
gentoo-329671499949bdde6399c826cf240187f229a577.tar.bz2
gentoo-329671499949bdde6399c826cf240187f229a577.zip
media-sound/teamspeak-server: bump to version 3.12.0
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r--media-sound/teamspeak-server/Manifest2
-rw-r--r--media-sound/teamspeak-server/teamspeak-server-3.12.0.ebuild119
2 files changed, 121 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest
index 54bb992039a8..9008a8dd44da 100644
--- a/media-sound/teamspeak-server/Manifest
+++ b/media-sound/teamspeak-server/Manifest
@@ -1,4 +1,6 @@
DIST teamspeak3-server_linux_amd64-3.10.2.tar.bz2 9242362 BLAKE2B ad275eac241182aa15410ba32983bc1e598f55090eb35559fe6cf3f18fd6b3a1395a36f320dd36ea3fa44390afd698f6734b034536cd48d049028e09943df7f4 SHA512 3be39004d557fb58efd272dac3e005c08db8ae05e04cc5cfdc146296bca7b0a02d7011bb77d6d45074056b458e14111dbd79882603b4be9fba58de7c9b384b84
DIST teamspeak3-server_linux_amd64-3.11.0.tar.bz2 9245357 BLAKE2B ae40cb8d651d2dce71590836a72e9798b312e54363416a863926924be7eda0327f03349cef0006633661d8789c3f8495b700a8d278255cde59d42e8d0c79ce52 SHA512 e72d042e971f98a55f53eaf55d716c85db28f67fd72be545e47bcef8e4c8bd03281963eb757a0b1293bcc2e37630769b66f4c3daebf2c3510fd323dad849dbc0
+DIST teamspeak3-server_linux_amd64-3.12.0.tar.bz2 9429587 BLAKE2B 3787479d8cc64912bb342e0a4e601660914f6e37784b0ef8fe03e4675315e7f88185d366bcda087203336aad4e042ad69775a9be98cd646ea59c18d32e509672 SHA512 7cb9378c3f2940da369117afe58cb441a051e3ab6b33d291b677a8a55b0975f18431d076951edc49ffaed8783d0f787840a01a21a3b25d1adcca23baa82ae532
DIST teamspeak3-server_linux_x86-3.10.2.tar.bz2 9049720 BLAKE2B 86f854c2b18397bde3cbb02b9d0024af8d3fbbdc695dae0f7f950fb5670cc6c983e8eb20dee97409a87b6cd572772cf72cfddee0254857023aa4e8446ea71068 SHA512 5ad16efc1a0b8dad6696d4121560cc793a35b15473391fcb18a8edd72031415775fb10d0c686a2af550f36748c17db03ac8caae76b0ef7e4ffa528d3ab416951
DIST teamspeak3-server_linux_x86-3.11.0.tar.bz2 9052940 BLAKE2B 6b045232734e7b19e2f2acbeaac9d254bf9c58f26cbb2cbb3f8bd1992492033694201b8ea0386e397f0237a9cc43ba96c181ae450615a64f607b6799654afc0b SHA512 18deaeb10f7753f68ec1c3cd6612f04d9c057fe4c4f566a3d1f0874836d554d602630d0890540d7e0f7a5c150bd098073eba7f84f4c3aed7e002a3677304c654
+DIST teamspeak3-server_linux_x86-3.12.0.tar.bz2 9267706 BLAKE2B 65f233c60ba8e470ae3c0f7ba82c0eaeaadc0b645edf9ddbee3c997f07d69cce91c8cf394eb0ae1f2245c56b405a843c138d07095eb4a050d117a5a478af90f0 SHA512 b15ab64f70f054c71bf149342dbab1f097fd9cd664b203e40703025de48bf76f5d9addc6c77a1bcfd90254fcc6e0ea8898bb6f4fe82964d3f83727e5141a5326
diff --git a/media-sound/teamspeak-server/teamspeak-server-3.12.0.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.12.0.ebuild
new file mode 100644
index 000000000000..bf9ed2742678
--- /dev/null
+++ b/media-sound/teamspeak-server/teamspeak-server-3.12.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2020 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 tsdns"
+
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ acct-group/teamspeak
+ acct-user/teamspeak
+"
+
+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
+"
+
+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-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 "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."
+}