diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-10-12 12:35:31 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-10-12 12:35:31 +0000 |
commit | f1d50bd2d3e2f9f38c3e42f6b1e4cc0dd7f46863 (patch) | |
tree | 87e282a45b6ff4c2d382bdda798ef36d18525988 /media-sound/teamspeak-server-bin | |
parent | Version bump to 3.0.13, reported by Jarry and Karsten in bug #487662 and bug ... (diff) | |
download | gentoo-2-f1d50bd2d3e2f9f38c3e42f6b1e4cc0dd7f46863.tar.gz gentoo-2-f1d50bd2d3e2f9f38c3e42f6b1e4cc0dd7f46863.tar.bz2 gentoo-2-f1d50bd2d3e2f9f38c3e42f6b1e4cc0dd7f46863.zip |
Version bump to 3.0.10, reported by Jarry and Karsten in bug #487662 and bug #487760.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'media-sound/teamspeak-server-bin')
-rw-r--r-- | media-sound/teamspeak-server-bin/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.ebuild | 87 |
2 files changed, 95 insertions, 1 deletions
diff --git a/media-sound/teamspeak-server-bin/ChangeLog b/media-sound/teamspeak-server-bin/ChangeLog index b9a00bb66ec7..7f076dd11cc4 100644 --- a/media-sound/teamspeak-server-bin/ChangeLog +++ b/media-sound/teamspeak-server-bin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/teamspeak-server-bin # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/ChangeLog,v 1.33 2013/09/21 11:53:32 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/ChangeLog,v 1.34 2013/10/12 12:35:31 tomwij Exp $ + +*teamspeak-server-bin-3.0.10 (12 Oct 2013) + + 12 Oct 2013; Tom Wijsman <TomWij@gentoo.org> + +teamspeak-server-bin-3.0.10.ebuild: + Version bump to 3.0.10, reported by Jarry and Karsten in bug #487662 and bug + #487760. *teamspeak-server-bin-3.0.9 (21 Sep 2013) diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.ebuild new file mode 100644 index 000000000000..11d04d2e1869 --- /dev/null +++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.ebuild,v 1.1 2013/10/12 12:35:31 tomwij Exp $ + +EAPI="5" + +inherit eutils systemd user + +DESCRIPTION="TeamSpeak Server - Voice Communication Software" +HOMEPAGE="http://www.teamspeak.com/" +LICENSE="teamspeak3 GPL-2" + +SLOT="0" +IUSE="doc pdf tsdns" +KEYWORDS="~amd64 ~x86" + +RESTRICT="installsources fetch mirror strip" + +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 )" + +S="${WORKDIR}/teamspeak3-server_linux-${ARCH}" + +pkg_nofetch() { + if use amd64 ; then + einfo "Please download teamspeak3-server_linux-amd64-${PV}.tar.gz" + elif use x86 ; then + einfo "Please download teamspeak3-server_linux-x86-${PV}.tar.gz" + fi + einfo "from ${HOMEPAGE}?page=downloads and place this" + einfo "file in ${DISTDIR}" +} + +pkg_setup() { + enewuser teamspeak3 +} + +src_install() { + # Install TeamSpeak 3 server into /opt/teamspeak3-server. + local opt_dir="/opt/teamspeak3-server" + into ${opt_dir} + insinto ${opt_dir} + + # Install binary, wrapper, shell files and libraries. + newsbin ts3server_linux_${ARCH} ts3server-bin + + exeinto /usr/sbin + doexe "${FILESDIR}"/ts3server + + exeinto ${opt_dir} + doexe *.sh + doins *.so + # 'libmysqlclient.so.15' is hard-coded into the ts3-server binary :( + dosym "${ROOT}"/usr/$(get_libdir)/mysql/libmysqlclient.so ${opt_dir}/libmysqlclient.so.15 + doins -r sql + + # Install documentation and tsdns. + dodoc -r CHANGELOG doc/*.txt + use doc && dodoc -r serverquerydocs + use pdf && dodoc doc/*.pdf + + 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 + doins "${FILESDIR}"/ts3db_mysql.ini + keepdir /{etc,var/{lib,log,run}}/teamspeak3-server + + # Install the init script and systemd unit. + newinitd "${FILESDIR}"/${PN}-3.0.7.2.rc teamspeak3-server + systemd_dounit "${FILESDIR}"/systemd/teamspeak3.service + systemd_dotmpfilesd "${FILESDIR}"/systemd/teamspeak3.conf + + # Fix up permissions. + fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3-server + fowners teamspeak3 ${opt_dir} + + fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server + fperms 755 ${opt_dir} +} |