summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-08-02 13:00:19 +0000
committerJustin Lecher <jlec@gentoo.org>2015-08-02 13:00:19 +0000
commit339cb7239487f58978213f72082580c14008e026 (patch)
treed11ed8e53ed70b9a8dbd246dcc78ac322b2cdf14 /media-sound
parentRemove unused patch. (diff)
downloadgentoo-2-339cb7239487f58978213f72082580c14008e026.tar.gz
gentoo-2-339cb7239487f58978213f72082580c14008e026.tar.bz2
gentoo-2-339cb7239487f58978213f72082580c14008e026.zip
Version Bump, bug #530408; hopefully fixes mysql DB problems, bug #519412; fix installation of docs, bug #530414
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/teamspeak-server-bin/ChangeLog11
-rw-r--r--media-sound/teamspeak-server-bin/files/teamspeak-server-bin-init-r1 (renamed from media-sound/teamspeak-server-bin/files/teamspeak-server-bin-3.0.7.2.rc)35
-rw-r--r--media-sound/teamspeak-server-bin/files/ts3db_mariadb.ini (renamed from media-sound/teamspeak-server-bin/files/ts3db_mysql.ini)0
-rw-r--r--media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.3.ebuild (renamed from media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3-r1.ebuild)23
4 files changed, 38 insertions, 31 deletions
diff --git a/media-sound/teamspeak-server-bin/ChangeLog b/media-sound/teamspeak-server-bin/ChangeLog
index 74287034ea75..e1f8f97e21bb 100644
--- a/media-sound/teamspeak-server-bin/ChangeLog
+++ b/media-sound/teamspeak-server-bin/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-sound/teamspeak-server-bin
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/ChangeLog,v 1.39 2015/03/31 09:14:47 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/ChangeLog,v 1.40 2015/08/02 13:00:19 jlec Exp $
+
+*teamspeak-server-bin-3.0.11.3 (02 Aug 2015)
+
+ 02 Aug 2015; Justin Lecher <jlec@gentoo.org>
+ +files/teamspeak-server-bin-init-r1, +files/ts3db_mariadb.ini,
+ +teamspeak-server-bin-3.0.11.3.ebuild, -files/teamspeak-server-bin-3.0.7.2.rc,
+ -files/ts3db_mysql.ini, -teamspeak-server-bin-3.0.10.3-r1.ebuild:
+ Version Bump, bug #530408; hopefully fixes mysql DB problems, bug #519412; fix
+ installation of docs, bug #530414
*teamspeak-server-bin-3.0.10.3-r1 (31 Mar 2015)
diff --git a/media-sound/teamspeak-server-bin/files/teamspeak-server-bin-3.0.7.2.rc b/media-sound/teamspeak-server-bin/files/teamspeak-server-bin-init-r1
index 81b869590905..170c811f9293 100644
--- a/media-sound/teamspeak-server-bin/files/teamspeak-server-bin-3.0.7.2.rc
+++ b/media-sound/teamspeak-server-bin/files/teamspeak-server-bin-init-r1
@@ -1,16 +1,19 @@
#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak-server-bin-3.0.7.2.rc,v 1.1 2013/05/22 11:22:59 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/files/teamspeak-server-bin-init-r1,v 1.1 2015/08/02 13:00:19 jlec Exp $
+
+name="TeamSpeak Server"
+command="/usr/sbin/ts3server"
+pidfile="/run/teamspeak3-server/server.pid"
+command_background="true"
depend() {
need net
use mysql
}
-start() {
- ebegin "Starting TeamSpeak 3 Server"
-
+start_pre() {
# ensure, that the TS3-server finds all custom supplied shared objects on startup.
LD_LIBRARY_PATH="/opt/teamspeak3-server:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
@@ -18,11 +21,14 @@ start() {
# temporay fix for EPERM bug (we still leave it here to make sure it is *really* not there)
rm -f /dev/shm/7gbhujb54g8z9hu43jre8
- [ -d /var/run/teamspeak3-server ] || mkdir /var/run/teamspeak3-server
- chown teamspeak3:teamspeak3 /var/run/teamspeak3-server
+ checkpath -d --owner teamspeak3:teamspeak3 --mode 0700 /run/teamspeak3-server
+}
+
+start() {
+ ebegin "Starting ${name}"
start-stop-daemon --start --quiet --background \
- --pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
+ --pidfile "/run/teamspeak3-server/server.pid" --make-pidfile \
--user "teamspeak3" --chdir "/opt/teamspeak3-server" \
--exec "/usr/sbin/ts3server" -- \
inifile="/etc/teamspeak3-server/server.conf"
@@ -30,17 +36,8 @@ start() {
eend $?
}
-stop() {
- ebegin "Stopping TeamSpeak Server"
-
- start-stop-daemon --stop --quiet \
- --pidfile "/var/run/teamspeak3-server/server.pid"
-
- eend $?
-}
-
restart() {
- svc_stop
+ stop
sleep 3
- svc_start
+ start
}
diff --git a/media-sound/teamspeak-server-bin/files/ts3db_mysql.ini b/media-sound/teamspeak-server-bin/files/ts3db_mariadb.ini
index 7cdc6d6075ab..7cdc6d6075ab 100644
--- a/media-sound/teamspeak-server-bin/files/ts3db_mysql.ini
+++ b/media-sound/teamspeak-server-bin/files/ts3db_mariadb.ini
diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3-r1.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.3.ebuild
index 60101e991b9a..e2fa3f0e3539 100644
--- a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3-r1.ebuild
+++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2015 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.3-r1.ebuild,v 1.1 2015/03/31 09:14:47 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.3.ebuild,v 1.1 2015/08/02 13:00:19 jlec Exp $
-EAPI="5"
+EAPI=5
inherit eutils multilib systemd user
@@ -21,6 +21,8 @@ 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"
@@ -43,14 +45,13 @@ src_install() {
newsbin ts3server_linux_${ARCH} ts3server-bin
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
+ 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
@@ -62,18 +63,18 @@ src_install() {
# Install the runtime FS layout.
insinto /etc/teamspeak3-server
- doins "${FILESDIR}"/server.conf "${FILESDIR}"/ts3db_mysql.ini
- keepdir /{etc,var/{lib,log,run}}/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}-3.0.7.2.rc teamspeak3-server
+ 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,run}}/teamspeak3-server
+ fowners teamspeak3 /{etc,var/{lib,log}}/teamspeak3-server
fowners teamspeak3 ${opt_dir}
- fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server
+ fperms 700 /{etc,var/{lib,log}}/teamspeak3-server
fperms 755 ${opt_dir}
}