diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-11-29 23:06:08 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-11-29 23:07:41 +0100 |
commit | 4ada7b193a039fb4c2110c7c7f1ac243a3214a60 (patch) | |
tree | 230d68e75f789262d8b6335112eca091ebacfdd3 /media-sound | |
parent | dev-lua/mpack: remove dev-lua/busted version requirement (diff) | |
download | gentoo-4ada7b193a039fb4c2110c7c7f1ac243a3214a60.tar.gz gentoo-4ada7b193a039fb4c2110c7c7f1ac243a3214a60.tar.bz2 gentoo-4ada7b193a039fb4c2110c7c7f1ac243a3214a60.zip |
media-sound/teamspeak-server: bump to version 3.13.2
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/teamspeak-server/Manifest | 2 | ||||
-rw-r--r-- | media-sound/teamspeak-server/teamspeak-server-3.13.2.ebuild | 134 |
2 files changed, 136 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest index a45333c2b60a..0d5548a4990e 100644 --- a/media-sound/teamspeak-server/Manifest +++ b/media-sound/teamspeak-server/Manifest @@ -1,4 +1,6 @@ DIST teamspeak3-server_linux_amd64-3.12.1.tar.bz2 9428301 BLAKE2B aeab07edc31d1ee57ffd34b218aeb3f7e23f31ffb5b8b940cbc46bca91b6ef9caffb67f1a52c059439a64d73ceb8fce124c0e8101d3e04d752782344ff6c1843 SHA512 58bfb582deddc4137245fe73d3aabfbcd84c3c346fe5fd3db8c7756014fcdd1f0bd7798ee029aa9beebe454fa8021dd180dd577f147cc5f02c833b68d9253fc7 DIST teamspeak3-server_linux_amd64-3.13.1.tar.bz2 9946950 BLAKE2B 3a84f969fdc7da5599a5b61720b5d598b066aa2eeb65295270f14929ea58027f603288b9258d7f9ba90499bfa7fd1e21a8fe38b3a038c3054bf1f017728330ee SHA512 20a24fd5f35dfd58647900c7b1dd541c7132be4e0ccfa2d6f57fc9778b9d303721a0b5371cda16089b543b964b1cdc8351fd68c99b347d225df63311231d11d7 +DIST teamspeak3-server_linux_amd64-3.13.2.tar.bz2 9945659 BLAKE2B bb3d10e5824aab613b5713c86845ce86405de351ee8e1ab378b35b57da5458a007c3663bb5c70b8e02ab1c3554d1bb7c74a8df0535d47dff6ed15e5068a1e14a SHA512 40c8630ed05eb46cd3d1eb870f2ab66b185b68b9d3118789de99a2ad817e5cb38fdd9f1bc16607f850cc5f0823c3f306d7cb9ab544fe41e5a1fbc8cddd977d9b DIST teamspeak3-server_linux_x86-3.12.1.tar.bz2 9268349 BLAKE2B 61d0794944775e4e9bfb57bc2ac331c5cc9da04d6a3956d4c1ec6c6d36ef87cb04ea1f0004d75251adc4baa1b9be999373d08ea36ca9f86e10b00e03d0f20f38 SHA512 83222586ff6e157af7242afc151c900eb339f05813f8b5fef602f9989a109b80de46bc86c7381b6acce240c62e9859b86df655a0b0219225162315337ca609ef DIST teamspeak3-server_linux_x86-3.13.1.tar.bz2 9780835 BLAKE2B 4bcfd9c3567f58cc340bd5a08547c9f3dc272898cd79c653ae0892fd35b9af7a8efe56b0a0e730bfdc7c22ffbdf6dfee403a00839e0eb59a82e4f3b9d1c9bd57 SHA512 a479f6e4306b505d0a620aab9b98395c4def3ceb143b27a5aea29bf4bacf2a1c9a87902d247566e0f333fadccec21be2855e96863c9f1e0675a399ff5608039f +DIST teamspeak3-server_linux_x86-3.13.2.tar.bz2 9780711 BLAKE2B c6749062abd4d23aa86be0348f973b3a4cba85f990845f63a9b175545daa707e443b01699690994843480028b5f44797096b6624266756ca3ff00faf1e8003d2 SHA512 8ed1bd7aebcea214b33209d1330fd6f9701aeefd804d2e1d69d4219e15eea580ec5c2e492312065f9150f48629a7c86490519b37a8fb333d3632a76c56e31086 diff --git a/media-sound/teamspeak-server/teamspeak-server-3.13.2.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.13.2.ebuild new file mode 100644 index 000000000000..75790c371a7d --- /dev/null +++ b/media-sound/teamspeak-server/teamspeak-server-3.13.2.ebuild @@ -0,0 +1,134 @@ +# 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 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." +} |