public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/teamspeak-server/
Date: Wed, 19 Dec 2018 09:34:57 +0000 (UTC)	[thread overview]
Message-ID: <1545212054.a107d98f2a690cfd3770b78ebfaebef3e17bd879.gyakovlev@gentoo> (raw)

commit:     a107d98f2a690cfd3770b78ebfaebef3e17bd879
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Wed Dec 19 08:23:54 2018 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Dec 19 09:34:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a107d98f

media-sound/teamspeak-server: bump to version 3.5.1

This server relases fixes some permission bypass exploits.

Closes: https://bugs.gentoo.org/673418
Closes: https://github.com/gentoo/gentoo/pull/10664

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-sound/teamspeak-server/Manifest              |   2 +
 .../teamspeak-server/teamspeak-server-3.5.1.ebuild | 118 +++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest
index 59b052f4daa..cadeced92e5 100644
--- a/media-sound/teamspeak-server/Manifest
+++ b/media-sound/teamspeak-server/Manifest
@@ -1,2 +1,4 @@
 DIST teamspeak3-server_linux_amd64-3.5.0.tar.bz2 8455959 BLAKE2B 1569716e80187a5de0316b8305d55c0a3b094553145a494ed7e1d0599fb1ebb0c3585b9e59a11340e6f1e4537a0502ca11124203e814a39e9650a6a0ae5122c6 SHA512 692b88d1a2a43232fe52927b6c2a70039d814ff02bfc2f1bf69138d256a2242100145fe6d7133d5745d7f945f79e24a1f3f40caf1da3697ae766cab493af9b8d
+DIST teamspeak3-server_linux_amd64-3.5.1.tar.bz2 8455161 BLAKE2B 3a85c00982567be779279877868b814101ec543f3f58046ca49b45e2d94a9d4aaab2b2de057302e5125dd3a2f5c831715a426f9d30a26e0164845d205cb5d842 SHA512 f4091aa594636dc6556204fc3a4b86d3e7a6fa4e3f889585326e025db7fc1944fa416be5378829abd60a44a71714ead5712e002825abe352f907cefaa91cea9f
 DIST teamspeak3-server_linux_x86-3.5.0.tar.bz2 8326197 BLAKE2B 792e9429f1eb6ab9cb49f304fd8159927ca8b3d6a9fa4ceffc830d76712202b8a79fb8c5ded6cd4219a779bab7662c47fe43e2d589edf69334ee631c32f17213 SHA512 efae8d3315ccd7b36b7a031e65496bde37596e3bdd4f84a5836971d246996f92071b8dd48aab1053acc00f98a38a3a0a6bea399de0c4536194a6d1988b96cfd7
+DIST teamspeak3-server_linux_x86-3.5.1.tar.bz2 8326316 BLAKE2B 7533d44b6bdb54edf22b932797890563f50ad520a2ebcb9305c328559dcddfc5ac41bbfe892014ddd9201018f2b715ec69b8c655585761883928833b6106ea6a SHA512 03c9b3aecc962c968b954da440fea5186612c63d00ae8927af539e2e09e0b7a3b07289f3645933e69c742ad9a4ff57c5cb7617aa37d0ddfff765da4123a8c21c

diff --git a/media-sound/teamspeak-server/teamspeak-server-3.5.1.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.5.1.ebuild
new file mode 100644
index 00000000000..dda16c3b435
--- /dev/null
+++ b/media-sound/teamspeak-server/teamspeak-server-3.5.1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit systemd user
+
+DESCRIPTION="A server software for hosting quality voice communication via the internet"
+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 )
+"
+
+LICENSE="Apache-2.0 Boost-1.0 BSD LGPL-2.1 LGPL-3 MIT teamspeak3"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="doc mysql tsdns"
+
+RESTRICT="mirror"
+
+QA_PREBUILT="
+	opt/teamspeak3-server/libmariadb.so.2
+	opt/teamspeak3-server/libts3db_mariadb.so
+	opt/teamspeak3-server/libts3db_sqlite3.so
+	opt/teamspeak3-server/libts3_ssh.so
+	opt/teamspeak3-server/ts3server
+	opt/teamspeak3-server/tsdnsserver
+"
+
+pkg_setup() {
+	enewgroup teamspeak
+	enewuser teamspeak -1 -1 /opt/teamspeak3-server teamspeak
+}
+
+src_unpack() {
+	default
+
+	mv teamspeak3-server_linux_$(usex amd64 amd64 x86) "${P}" || die
+}
+
+src_install() {
+	diropts -o teamspeak -g teamspeak
+	keepdir /opt/teamspeak3-server /var/log/teamspeak3-server
+
+	diropts
+	keepdir /etc/teamspeak3-server
+
+	touch "${D%/}"/opt/teamspeak3-server/.ts3server_license_accepted || die
+
+	exeinto /opt/teamspeak3-server
+	doexe ts3server
+	doexe "${FILESDIR}"/ts3server-bin
+	dodir /opt/bin
+	dosym ../teamspeak3-server/ts3server-bin /opt/bin/ts3server
+
+	exeinto /opt/teamspeak3-server
+	doexe libts3db_sqlite3.so libts3_ssh.so
+
+	insinto /opt/teamspeak3-server/serverquerydocs
+	doins -r serverquerydocs/.
+
+	insinto /opt/teamspeak3-server/sql
+	doins sql/*.sql
+	doins -r sql/create_sqlite
+
+	insinto /etc/teamspeak3-server
+	newins "${FILESDIR}"/ts3server.ini-r1 ts3server.ini
+
+	dodoc CHANGELOG
+	docinto ts3server
+	dodoc doc/*.txt
+
+	newinitd "${FILESDIR}"/teamspeak.initd-r1 teamspeak3-server
+	systemd_newunit "${FILESDIR}"/teamspeak.service teamspeak3-server.service
+
+	newenvd - 99teamspeak3-server <<- EOF
+		CONFIG_PROTECT="/etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini"
+	EOF
+
+	if use doc; then
+		docinto html
+		dodoc -r doc/serverquery/.
+	fi
+
+	if use mysql; then
+		insinto /etc/teamspeak3-server
+		newins "${FILESDIR}"/ts3server_mariadb.ini.sample-r1 ts3server_mariadb.ini.sample
+		doins "${FILESDIR}"/ts3db_mariadb.ini.sample
+
+		exeinto /opt/teamspeak3-server
+		doexe libts3db_mariadb.so
+		doexe redist/libmariadb.so.2
+
+		insinto /opt/teamspeak3-server/sql
+		doins -r sql/create_mariadb
+		doins -r sql/updates_and_fixes
+	fi
+
+	if use tsdns; then
+		exeinto /opt/teamspeak3-server
+		doexe tsdns/tsdnsserver
+		dodir /opt/bin
+		dosym ../teamspeak3-server/tsdnsserver /opt/bin/tsdnsserver
+
+		insinto /etc/teamspeak3-server
+		doins tsdns/tsdns_settings.ini.sample
+
+		docinto tsdns
+		dodoc tsdns/{README,USAGE}
+	fi
+}
+
+pkg_postinst() {
+	elog "If you have a Non-Profit License (NPL),"
+	elog "place it in /opt/teamspeak3-server as licensekey.dat."
+	elog "Please note, that the license must be writeable by the teamspeak user."
+}


             reply	other threads:[~2018-12-19  9:35 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-19  9:34 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-25 18:37 [gentoo-commits] repo/gentoo:master commit in: media-sound/teamspeak-server/ Conrad Kostecki
2022-07-25 18:37 Conrad Kostecki
2022-07-25 18:37 Conrad Kostecki
2022-06-25 14:35 Conrad Kostecki
2021-08-07 22:49 Conrad Kostecki
2021-08-07 22:49 Conrad Kostecki
2021-08-07 22:49 Conrad Kostecki
2021-07-01 10:28 Conrad Kostecki
2021-07-01 10:28 Conrad Kostecki
2021-06-03 21:47 Conrad Kostecki
2021-01-23 19:34 Conrad Kostecki
2021-01-23 19:34 Conrad Kostecki
2020-12-18 21:02 Conrad Kostecki
2020-12-18 21:02 Conrad Kostecki
2020-11-29 22:07 Conrad Kostecki
2020-11-29 22:07 Conrad Kostecki
2020-05-21 22:28 Conrad Kostecki
2020-05-21  8:06 Agostino Sarubbo
2020-05-21  7:53 Agostino Sarubbo
2020-04-04 14:15 Conrad Kostecki
2020-04-04 14:15 Conrad Kostecki
2020-03-27 22:30 Conrad Kostecki
2020-03-27 22:30 Conrad Kostecki
2020-01-16 23:41 Conrad Kostecki
2019-12-15 18:03 Agostino Sarubbo
2019-12-15 13:43 Agostino Sarubbo
2019-12-02  6:24 Joonas Niilola
2019-12-02  6:24 Joonas Niilola
2019-11-20  6:03 Joonas Niilola
2019-11-20  6:03 Joonas Niilola
2019-11-09  7:52 Joonas Niilola
2019-11-09  7:52 Joonas Niilola
2019-09-23 17:16 Michał Górny
2019-07-05 17:53 Michał Górny
2019-07-05 17:53 Michał Górny
2019-06-25 17:57 Andreas Sturmlechner
2019-06-25 17:57 Andreas Sturmlechner
2019-06-09 10:24 Michał Górny
2019-06-09 10:24 Michał Górny
2019-04-09  8:07 Patrice Clement
2019-04-09  8:07 Patrice Clement
2019-03-20 21:35 Patrice Clement
2019-03-20 21:35 Patrice Clement
2019-02-03 14:08 Andreas Sturmlechner
2018-12-19  9:34 Georgy Yakovlev
2018-11-03  9:49 Michał Górny
2018-11-03  9:49 Michał Górny
2018-09-19 14:43 Michał Górny
2018-09-19 14:43 Michał Górny
2018-09-04 22:32 Patrice Clement
2018-09-04 22:32 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1545212054.a107d98f2a690cfd3770b78ebfaebef3e17bd879.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox