diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-10-17 08:00:08 +0800 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-10-17 08:00:39 +0800 |
commit | 3bc7c56b1612961669fb9e790e67295fb49e6b76 (patch) | |
tree | 3eb24d44ed044659a4c8dbe316a09b81be3209c4 /media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.4.ebuild | |
parent | dev-php/pecl-svn: depend on <dev-vcs/subversion-1.9 to fix a build failure. (diff) | |
download | gentoo-3bc7c56b1612961669fb9e790e67295fb49e6b76.tar.gz gentoo-3bc7c56b1612961669fb9e790e67295fb49e6b76.tar.bz2 gentoo-3bc7c56b1612961669fb9e790e67295fb49e6b76.zip |
media-sound/teamspeak-server-bin: bump to -3.0.11.4
Added new proxy maintainer C. Kosteki to metadata under
proxy-maintainers herd, bump submitted via the gentoo bug,
cross tested by user 'undersys', vulnerable version cleaned
Gentoo bug: #559112 (Security bug)
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.4.ebuild')
-rw-r--r-- | media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.4.ebuild | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.4.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.4.ebuild new file mode 100644 index 000000000000..4dd1d7f477ac --- /dev/null +++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.4.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib systemd user + +DESCRIPTION="Voice Communication Software - Server" +HOMEPAGE="http://www.teamspeak.com/" +SRC_URI=" + amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-amd64-${PV}.tar.gz ) + x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-x86-${PV}.tar.gz )" + +SLOT="0" +LICENSE="teamspeak3 GPL-2" +IUSE="doc pdf 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}?page=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_linux_${ARCH} ts3server-bin + doexe *.sh + doins *.so + doins -r sql + + # Install documentation and tsdns. + dodoc -r CHANGELOG doc/*.txt + use doc && dodoc -r serverquerydocs doc/*.pdf && \ + docompress -x /usr/share/doc/${PF}/serverquerydocs && \ + dosym ../../usr/share/doc/${PF}/serverquerydocs ${opt_dir}/serverquerydocs + + if use tsdns; then + newsbin tsdns/tsdnsserver_linux_${ARCH} 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_dounit "${FILESDIR}"/systemd/teamspeak3.service + systemd_dotmpfilesd "${FILESDIR}"/systemd/teamspeak3.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} +} |