diff options
author | Conrad Kostecki <ck@conrad-kostecki.de> | 2017-08-07 16:12:32 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-08-15 21:59:36 +0200 |
commit | 8576539a17ab8659e4297cabee013a4803abedc4 (patch) | |
tree | a621e0fbebc65596142bc7615e94a7ab05b81aa4 /media-sound | |
parent | x11-misc/safeeyes: Optional PortAudio (bug #627896) (diff) | |
download | gentoo-8576539a17ab8659e4297cabee013a4803abedc4.tar.gz gentoo-8576539a17ab8659e4297cabee013a4803abedc4.tar.bz2 gentoo-8576539a17ab8659e4297cabee013a4803abedc4.zip |
media-sound/teamspeak-server-bin: 3.0.13.8 version bump
Gentoo-bug: 624508
Closes: https://github.com/gentoo/gentoo/pull/5316
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/teamspeak-server-bin/Manifest | 2 | ||||
-rw-r--r-- | media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.13.8.ebuild | 87 |
2 files changed, 89 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server-bin/Manifest b/media-sound/teamspeak-server-bin/Manifest index 201285f8e79b..4e4070af5f51 100644 --- a/media-sound/teamspeak-server-bin/Manifest +++ b/media-sound/teamspeak-server-bin/Manifest @@ -1,2 +1,4 @@ DIST teamspeak3-server_linux_amd64-3.0.13.6.tar.bz2 6492488 SHA256 19ccd8db5427758d972a864b70d4a1263ebb9628fcc42c3de75ba87de105d179 SHA512 95271e5a44c7a14b8fbe134b855973c1af53ac76e6ba01089116b1f63c03bae25f5abfd176f9e26207aa4da8501d646298128078ab5b475458a7ccaba2a48e9c WHIRLPOOL 348356570a45d00d4e98ebfa01c8acc3ea7f3bfcf5b74a4b459999715d836b0feef0eefff50534fca2f034505814187fd8b3037b22452aff159e940ed184e871 +DIST teamspeak3-server_linux_amd64-3.0.13.8.tar.bz2 6916065 SHA256 460c771bf58c9a49b4be2c677652f21896b98a021d7fff286e59679b3f987a59 SHA512 d8985f5850602660a6c037c1768a97c79b5842640d618ad00d242035a12820b52ba959545f3e668eb3d6079b1a228ff648c569e7d1fc64be6743ee77995ab0be WHIRLPOOL a9863eb89200b7de89775112ccf8d47f5dad08b6c06f39cbac1d09810c45dbeebd08265982e9e2b0ceea6bc9eb616b86e6cc632533a41591e391b7338c2672a2 DIST teamspeak3-server_linux_x86-3.0.13.6.tar.bz2 6367104 SHA256 2f70b3e70a3d9bf86106fab67a938922c8d27fec24e66e229913f78a0791b967 SHA512 a35e0fffe320206f2ca19153bd46a910bd1690541c83ec3c784fe1f4aaf8dbe430556990f6ebe0efbe71e52d3887b725da4e659db9d1e3c96fd6fd46e6dcd40d WHIRLPOOL 16d35b684f2f3af540464d80158778c62e19bd3c6ae29c791cfec4e509b5d38118b6a34ef113d0f73999adbd2d0cc35c043475866c122d243aa950fb59b99bd7 +DIST teamspeak3-server_linux_x86-3.0.13.8.tar.bz2 6772664 SHA256 c1be39df7ee136c87e0ea1eff4e3aa84074e2d141c66d23f9a66eb5afa2b1876 SHA512 7ef5d5d0fa2a1244011c2a68662481e4859aa1660e967b203a508497a4fd3c54db44a9f33116ed4932745942df4b5e4c646658346f288ce6191e3e5629d9638f WHIRLPOOL 6246446439b676f69e56168df445c6f7b6956212e0330e4b541a84c1a2e3466273f60b26298bf7c41b0f8157d1b70c165a2e5a9feb96b3d9651463073adbca46 diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.13.8.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.13.8.ebuild new file mode 100644 index 000000000000..60875a3cb837 --- /dev/null +++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.13.8.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit multilib systemd user + +DESCRIPTION="Crystal Clear Cross-Platform Voice Communication Server" +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 )" + +SLOT="0" +LICENSE="teamspeak3 GPL-2" +IUSE="doc tsdns" +KEYWORDS="~amd64 ~x86" + +RESTRICT="installsources fetch mirror strip" + +S="${WORKDIR}/teamspeak3-server_linux_${ARCH}" + +QA_PREBUILT="opt/*" + +pkg_nofetch() { + elog "Please download ${A}" + elog "from ${HOMEPAGE}downloads and place this" + elog "file in ${DISTDIR}" +} + +pkg_setup() { + enewuser teamspeak3 +} + +src_install() { + # Install wrapper + dosbin "${FILESDIR}"/ts3server + + # Install TeamSpeak 3 server into /opt/teamspeak3-server. + local opt_dir="/opt/teamspeak3-server" + into ${opt_dir} + insinto ${opt_dir} + exeinto ${opt_dir} + newsbin ts3server ts3server-bin + doexe *.sh + doins *.so + doins -r sql + + # Install documentation and tsdns. + dodoc -r CHANGELOG doc/*.txt + use doc && dodoc -r serverquerydocs doc/serverquery && \ + docompress -x /usr/share/doc/${PF}/serverquerydocs && \ + docompress -x /usr/share/doc/${PF}/serverquery && \ + dosym ../../../usr/share/doc/${PF}/serverquery ${opt_dir}/doc/serverquery && \ + dosym ../../usr/share/doc/${PF}/serverquerydocs ${opt_dir}/serverquerydocs + + if use tsdns; then + newsbin tsdns/tsdnsserver tsdnsserver + newdoc tsdns/README README.tsdns + newdoc tsdns/USAGE USAGE.tsdns + dodoc tsdns/tsdns_settings.ini.sample + fi + + # Install the runtime FS layout. + insinto /etc/teamspeak3-server + doins "${FILESDIR}"/server.conf "${FILESDIR}"/ts3db_mariadb.ini + keepdir /{etc,var/{lib,log}}/teamspeak3-server + + # Install the init script and systemd unit. + newinitd "${FILESDIR}"/${PN}-init-r1 teamspeak3-server + systemd_newunit "${FILESDIR}"/systemd/teamspeak3-r1.service teamspeak3-server.service + systemd_newtmpfilesd "${FILESDIR}"/systemd/teamspeak3.conf teamspeak3-server.conf + + # Fix up permissions. + fowners teamspeak3 /{etc,var/{lib,log}}/teamspeak3-server + fowners teamspeak3 ${opt_dir} + + fperms 700 /{etc,var/{lib,log}}/teamspeak3-server + fperms 755 ${opt_dir} +} + +pkg_postinst() { + einfo "Starting with version 3.0.13, there are two important changes:" + einfo "- IPv6 is now supported." + einfo "- Binding to any address (0.0.0.0 / 0::0)," + einfo " instead of just the default ip of the network interface." +} |