Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 368581 | Differences between
and this patch

Collapse All | Expand All

(-)media-sound.bak/teamspeak-client-bin/teamspeak-client-bin-3.0.0_beta36.ebuild (-64 lines)
Lines 1-64 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.0_beta36.ebuild,v 1.1 2011/02/27 19:47:21 trapni Exp $
4
5
# NOTE: The comments in this file are for instruction and documentation.
6
# They're not meant to appear with your final, production ebuild.  Please
7
# remember to remove them before submitting or committing your ebuild.  That
8
# doesn't mean you can't add your own comments though.
9
10
# The 'Header' on the third line should just be left alone.  When your ebuild
11
# will be committed to cvs, the details on that line will be automatically
12
# generated to contain the correct data.
13
14
EAPI=1
15
16
inherit eutils
17
18
DESCRIPTION="TeamSpeak Client - Voice Communication Software"
19
HOMEPAGE="http://teamspeak.com/"
20
LICENSE="teamspeak3"
21
SLOT="0"
22
KEYWORDS="~amd64 ~x86"
23
IUSE=""
24
RESTRICT="strip"
25
PROPERTIES="interactive"
26
27
SRC_URI="
28
	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/3.0.0_beta/}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
29
	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/3.0.0_beta/}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
30
"
31
32
DEPEND=""
33
RDEPEND="${DEPEND}
34
		=media-libs/libpng-1.4*
35
		x11-libs/qt-gui:4
36
		>=x11-libs/libXinerama-1.0.2"
37
38
src_unpack() {
39
	# TODO: unpack_makeself -- use this version once it supports makeself 2.1.6
40
	for i in ${A}; do
41
		sh "${DISTDIR}/${i}" --target "${WORKDIR}" || die "unpack failed"
42
	done
43
}
44
45
src_install() {
46
	local dest="${D}/opt/teamspeak3-client"
47
48
	mkdir -p "${dest}"
49
50
	# remove the qt-libraries as they just cause trouble with the system's Qt
51
	# see bug #328807
52
	rm "${WORKDIR}"/libQt* || die
53
54
	cp -R "${WORKDIR}/"* "${dest}/" || die
55
56
	exeinto /usr/bin
57
	doexe "${FILESDIR}/teamspeak3"
58
59
	mv "${dest}/ts3client_linux_"* "${dest}/ts3client"
60
61
	make_desktop_entry teamspeak3 TeamSpeak3 \
62
		"/opt/teamspeak3-client/gfx/default/24x24_connect.png" \
63
		Network
64
}
(-)media-sound.bak/teamspeak-client-bin/teamspeak-client-bin-3.0.0_rc1.ebuild (-64 lines)
Lines 1-64 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.0_rc1.ebuild,v 1.1 2011/06/03 07:25:04 trapni Exp $
4
5
# NOTE: The comments in this file are for instruction and documentation.
6
# They're not meant to appear with your final, production ebuild.  Please
7
# remember to remove them before submitting or committing your ebuild.  That
8
# doesn't mean you can't add your own comments though.
9
10
# The 'Header' on the third line should just be left alone.  When your ebuild
11
# will be committed to cvs, the details on that line will be automatically
12
# generated to contain the correct data.
13
14
EAPI=1
15
16
inherit eutils
17
18
DESCRIPTION="TeamSpeak Client - Voice Communication Software"
19
HOMEPAGE="http://teamspeak.com/"
20
LICENSE="teamspeak3"
21
SLOT="0"
22
KEYWORDS="~amd64 ~x86"
23
IUSE=""
24
RESTRICT="strip"
25
PROPERTIES="interactive"
26
27
SRC_URI="
28
	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/rc${PV/3.0.0_rc/}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
29
	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/rc${PV/3.0.0_rc/}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
30
"
31
32
DEPEND=""
33
RDEPEND="${DEPEND}
34
		=media-libs/libpng-1.4*
35
		x11-libs/qt-gui:4
36
		>=x11-libs/libXinerama-1.0.2"
37
38
src_unpack() {
39
	# TODO: unpack_makeself -- use this version once it supports makeself 2.1.6
40
	for i in ${A}; do
41
		sh "${DISTDIR}/${i}" --target "${WORKDIR}" || die "unpack failed"
42
	done
43
}
44
45
src_install() {
46
	local dest="${D}/opt/teamspeak3-client"
47
48
	mkdir -p "${dest}"
49
50
	# remove the qt-libraries as they just cause trouble with the system's Qt
51
	# see bug #328807
52
	rm "${WORKDIR}"/libQt* || die
53
54
	cp -R "${WORKDIR}/"* "${dest}/" || die
55
56
	exeinto /usr/bin
57
	doexe "${FILESDIR}/teamspeak3"
58
59
	mv "${dest}/ts3client_linux_"* "${dest}/ts3client"
60
61
	make_desktop_entry teamspeak3 TeamSpeak3 \
62
		"/opt/teamspeak3-client/gfx/default/24x24_connect.png" \
63
		Network
64
}
(-)media-sound.bak/teamspeak-client-bin/teamspeak-client-bin-3.0.1.ebuild (+56 lines)
Line 0 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.1.ebuild,v 1.1 2011/08/26 15:08:21 cthulhu Exp $
4
5
EAPI=1
6
7
inherit eutils
8
9
DESCRIPTION="TeamSpeak Client - Voice Communication Software"
10
HOMEPAGE="http://teamspeak.com/"
11
LICENSE="teamspeak3"
12
SLOT="0"
13
KEYWORDS="~amd64 ~x86"
14
IUSE=""
15
RESTRICT="strip"
16
PROPERTIES="interactive"
17
18
SRC_URI="
19
	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV/_/-}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
20
	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV/_/-}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
21
"
22
23
DEPEND=""
24
RDEPEND="${DEPEND}
25
		=media-libs/libpng-1.4*
26
		>=x11-libs/qt-gui-4.7
27
		>=x11-libs/libXinerama-1.0.2"
28
29
src_unpack() {
30
	# TODO: unpack_makeself -- use this version once it supports makeself 2.1.6
31
	for i in ${A}; do
32
		sh "${DISTDIR}/${i}" --target "${WORKDIR}" || die "unpack failed"
33
	done
34
}
35
36
src_install() {
37
	local dest="${D}/opt/teamspeak3-client"
38
39
	mkdir -p "${dest}"
40
41
	# remove the qt-libraries as they just cause trouble with the system's Qt
42
	# see bug #328807
43
	rm "${WORKDIR}"/libQt* || die
44
45
	cp -R "${WORKDIR}/"* "${dest}/" || die
46
47
	exeinto /usr/bin
48
	doexe "${FILESDIR}/teamspeak3"
49
50
	mv "${dest}/ts3client_linux_"* "${dest}/ts3client"
51
52
	make_desktop_entry teamspeak3 TeamSpeak3 \
53
		"/opt/teamspeak3-client/gfx/default/24x24_connect.png" \
54
		Network
55
}
56
(-)media-sound.bak/teamspeak-server-bin/files/teamspeak3-server.rc (-3 lines)
Lines 14-22 Link Here
14
	# ensure, that the TS3-server finds all custom supplied shared objects on startup.
14
	# ensure, that the TS3-server finds all custom supplied shared objects on startup.
15
	export LD_LIBRARY_PATH="/opt/teamspeak3-server:$LD_LIBRARY_PATH"
15
	export LD_LIBRARY_PATH="/opt/teamspeak3-server:$LD_LIBRARY_PATH"
16
16
17
	# temporay fix for EPERM bug (we still leave it here to make sure it is *really* not there)
18
	rm -f /dev/shm/7gbhujb54g8z9hu43jre8
19
20
	start-stop-daemon --start --quiet --background \
17
	start-stop-daemon --start --quiet --background \
21
		--pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
18
		--pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
22
		--chuid "teamspeak3" --chdir "/opt/teamspeak3-server" \
19
		--chuid "teamspeak3" --chdir "/opt/teamspeak3-server" \
(-)media-sound.bak/teamspeak-server-bin/files/ts3server (-1 / +1 lines)
Lines 7-10 Link Here
7
# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
7
# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
8
cd "${BASEDIR}"
8
cd "${BASEDIR}"
9
9
10
exec "${BASEDIR}/ts3server-bin" $*
10
"${BASEDIR}/ts3server-bin" $*
(-)media-sound.bak/teamspeak-server-bin/files/tsdns-server.rc (+34 lines)
Line 0 Link Here
1
#!/sbin/runscript
2
# Copyright 1999-2011 Gentoo Foundation
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: $
5
6
depend() {
7
	need net
8
}
9
10
start() {
11
	ebegin "Starting TeamSpeak 3 TSDNS Server"
12
13
	start-stop-daemon --start --quiet --background \
14
		--pidfile "/var/run/teamspeak3-server/tsdns.pid" --make-pidfile \
15
		--chuid "teamspeak3" --chdir "/opt/teamspeak3-server/tsdns" \
16
		--exec "/opt/teamspeak3-server/tsdns/tsdnsserver"
17
	
18
	eend $?
19
}
20
21
stop() {
22
	ebegin "Stopping TeamSpeak 3 TSDNS Server"
23
24
	start-stop-daemon --stop --quiet \
25
		--pidfile "/var/run/teamspeak3-server/tsdns.pid"
26
27
	eend $?
28
}
29
30
restart() {
31
	svc_stop
32
	sleep 3
33
	svc_start
34
}
(-)media-sound.bak/teamspeak-server-bin/teamspeak-server-bin-3.0.0_beta30.ebuild (-60 lines)
Lines 1-60 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.0_beta30.ebuild,v 1.1 2011/02/27 19:45:07 trapni Exp $
4
5
# NOTE: The comments in this file are for instruction and documentation.
6
# They're not meant to appear with your final, production ebuild.  Please
7
# remember to remove them before submitting or committing your ebuild.  That
8
# doesn't mean you can't add your own comments though.
9
10
# The 'Header' on the third line should just be left alone.  When your ebuild
11
# will be committed to cvs, the details on that line will be automatically
12
# generated to contain the correct data.
13
14
EAPI=1
15
16
inherit eutils
17
18
DESCRIPTION="TeamSpeak Server - Voice Communication Software"
19
HOMEPAGE="http://teamspeak.com/"
20
LICENSE="teamspeak3"
21
SLOT="0"
22
IUSE=""
23
KEYWORDS="~amd64 ~x86"
24
RESTRICT="strip"
25
26
SRC_URI="
27
	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/3.0.0_beta/}/teamspeak3-server_linux-amd64-${PV/_/-}.tar.gz )
28
	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/3.0.0_beta/}/teamspeak3-server_linux-x86-${PV/_/-}.tar.gz )
29
"
30
31
DEPEND=""
32
RDEPEND="${DEPEND}"
33
34
pkg_setup() {
35
	enewuser teamspeak3
36
}
37
38
src_install() {
39
	local dest="${D}/opt/teamspeak3-server"
40
41
	mkdir -p "${dest}"
42
	cp -R "${WORKDIR}/teamspeak3-server_linux-"*/* "${dest}/" || die
43
44
	mv "${dest}/ts3server_linux_"* "${dest}/ts3server-bin" || die
45
46
	exeinto /usr/sbin || die
47
	doexe "${FILESDIR}/ts3server" || die
48
49
	# runtime FS layout ...
50
	insinto /etc/teamspeak3-server
51
	doins "${FILESDIR}/server.conf"
52
	newinitd "${FILESDIR}/teamspeak3-server.rc" teamspeak3-server
53
54
	keepdir /{etc,var/{lib,log,run}}/teamspeak3-server
55
	fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3-server
56
	fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server
57
58
	fowners teamspeak3 /opt/teamspeak3-server
59
	fperms 755 /opt/teamspeak3-server
60
}
(-)media-sound.bak/teamspeak-server-bin/teamspeak-server-bin-3.0.0.ebuild (+56 lines)
Line 0 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.0_rc1.ebuild,v 1.1 2011/06/03 00:40:21 trapni Exp $
4
5
EAPI=1
6
7
inherit eutils
8
9
DESCRIPTION="TeamSpeak Server - Voice Communication Software"
10
HOMEPAGE="http://teamspeak.com/"
11
LICENSE="teamspeak3"
12
SLOT="0"
13
IUSE=""
14
KEYWORDS="~amd64 ~x86"
15
RESTRICT="strip"
16
17
SRC_URI="
18
	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-amd64-${PV}.tar.gz )
19
	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-x86-${PV}.tar.gz )
20
"
21
22
DEPEND=""
23
RDEPEND="${DEPEND}"
24
25
pkg_setup() {
26
	enewuser teamspeak3
27
}
28
29
src_install() {
30
	local dest="${D}/opt/teamspeak3-server"
31
32
	mkdir -p "${dest}"
33
	cp -R "${WORKDIR}/teamspeak3-server_linux-"*/* "${dest}/" || die
34
35
	mv "${dest}/ts3server_linux_"* "${dest}/ts3server-bin" || die
36
	mv "${dest}/tsdns/tsdnsserver_linux_"* "${dest}/tsdns/tsdnsserver" || die
37
38
	# upstream is poked wrt inifile switch for tsdns, we need to keep the inifile in /opt for now.
39
	mv "${dest}/tsdns/tsdns_settings.ini.sample" "${dest}/tsdns/tsdns_settings.ini" || die
40
41
	exeinto /usr/sbin || die
42
	doexe "${FILESDIR}/ts3server" || die
43
44
	# runtime FS layout ...
45
	insinto /etc/teamspeak3-server
46
	doins "${FILESDIR}/server.conf"
47
	newinitd "${FILESDIR}/teamspeak3-server.rc" teamspeak3-server
48
	newinitd "${FILESDIR}/tsdns-server.rc" tsdns-server
49
50
	keepdir /{etc,var/{lib,log,run}}/teamspeak3-server
51
	fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3-server
52
	fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server
53
54
	fowners teamspeak3 /opt/teamspeak3-server
55
	fperms 755 /opt/teamspeak3-server
56
}
(-)media-sound.bak/teamspeak-server-bin/teamspeak-server-bin-3.0.0_rc1.ebuild (-60 lines)
Lines 1-60 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.0_rc1.ebuild,v 1.1 2011/06/03 00:40:21 trapni Exp $
4
5
# NOTE: The comments in this file are for instruction and documentation.
6
# They're not meant to appear with your final, production ebuild.  Please
7
# remember to remove them before submitting or committing your ebuild.  That
8
# doesn't mean you can't add your own comments though.
9
10
# The 'Header' on the third line should just be left alone.  When your ebuild
11
# will be committed to cvs, the details on that line will be automatically
12
# generated to contain the correct data.
13
14
EAPI=1
15
16
inherit eutils
17
18
DESCRIPTION="TeamSpeak Server - Voice Communication Software"
19
HOMEPAGE="http://teamspeak.com/"
20
LICENSE="teamspeak3"
21
SLOT="0"
22
IUSE=""
23
KEYWORDS="~amd64 ~x86"
24
RESTRICT="strip"
25
26
SRC_URI="
27
	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/rc${PV/3.0.0_rc/}/teamspeak3-server_linux-amd64-${PV/_/-}.tar.gz )
28
	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/rc${PV/3.0.0_rc/}/teamspeak3-server_linux-x86-${PV/_/-}.tar.gz )
29
"
30
31
DEPEND=""
32
RDEPEND="${DEPEND}"
33
34
pkg_setup() {
35
	enewuser teamspeak3
36
}
37
38
src_install() {
39
	local dest="${D}/opt/teamspeak3-server"
40
41
	mkdir -p "${dest}"
42
	cp -R "${WORKDIR}/teamspeak3-server_linux-"*/* "${dest}/" || die
43
44
	mv "${dest}/ts3server_linux_"* "${dest}/ts3server-bin" || die
45
46
	exeinto /usr/sbin || die
47
	doexe "${FILESDIR}/ts3server" || die
48
49
	# runtime FS layout ...
50
	insinto /etc/teamspeak3-server
51
	doins "${FILESDIR}/server.conf"
52
	newinitd "${FILESDIR}/teamspeak3-server.rc" teamspeak3-server
53
54
	keepdir /{etc,var/{lib,log,run}}/teamspeak3-server
55
	fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3-server
56
	fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server
57
58
	fowners teamspeak3 /opt/teamspeak3-server
59
	fperms 755 /opt/teamspeak3-server
60
}

Return to bug 368581