public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/teamspeak-server/
Date: Sat,  9 Nov 2019 07:52:49 +0000 (UTC)	[thread overview]
Message-ID: <1573285924.26c44f16e88251dc53916aac5bafa96b54672152.juippis@gentoo> (raw)

commit:     26c44f16e88251dc53916aac5bafa96b54672152
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Fri Nov  8 08:51:09 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 07:52:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c44f16

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

Also migrated user and group to GLEP 81.

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-sound/teamspeak-server/Manifest              |   2 +
 .../teamspeak-server-3.10.0.ebuild                 | 119 +++++++++++++++++++++
 2 files changed, 121 insertions(+)

diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest
index 10faf488f35..f3ff9760716 100644
--- a/media-sound/teamspeak-server/Manifest
+++ b/media-sound/teamspeak-server/Manifest
@@ -1,2 +1,4 @@
+DIST teamspeak3-server_linux_amd64-3.10.0.tar.bz2 9242882 BLAKE2B 0315c438305827a4bddd73f07a4f813e2268ec5eefa6f89e45de43afe61b4d8c0e17e0d45317b485472aae5a60ce9afcd393ecd31a9d43304c466eff7db918d6 SHA512 d847fbe18ab2676bcd299773f4070a6e58ba86784f18c9cf9e843cd28adbcdbebff69c9bdc8a5f46f714913f657d8fd603fe1b8c90a938d9e49b06ed0ce0bacb
 DIST teamspeak3-server_linux_amd64-3.9.1.tar.bz2 8907155 BLAKE2B 02fe945f6d4db41989cf38c3edfbdddd1c0086d69a1d4f7b3eb5d194f0d48998dd27014aea7c2cb0311ba0be463ac453c3e2c3d5a0825c0c55f02583ae6c7b93 SHA512 aaffb43bc5559736ee9d41f02edb438ceced78e0bc935e6402d2cad6c00b4db6ab42c93df1af7bd9b9254a38aeef908b4024e736d6035e845124c373ed8e096c
+DIST teamspeak3-server_linux_x86-3.10.0.tar.bz2 9047531 BLAKE2B 8fa0eba5b9dd4a5274b8b4b626c85326d1d6a8b9d00c17d9b26ac558dd4bfc233e09863bea01a590a0273e5d20c7b1513f0cc80df82366f9c327cf85173e553c SHA512 42baa7ef4d1451c9e4533ef186b0b48a92619a673bf11c4876b0caa908e7e8846fc7307eb01b220a6d12f62273ae7a3c3b5c90f3cf891e490554d254fd552c5e
 DIST teamspeak3-server_linux_x86-3.9.1.tar.bz2 8781184 BLAKE2B 78fd1678782cc0dc50d85d94a7fa22f61190f84b0d4990366ff10fabbef27499a693c316a181b52fa6db0b127a5819092c026259db7cf5ef49f379abdf821eaf SHA512 ed9f89b19d52d7f49808719d333459c4118148123fe9047be845aac0b05b2e7b120837811f6da1aed891b87ca06606ddb6e0772eaaef2fd8e71775dc7158a819

diff --git a/media-sound/teamspeak-server/teamspeak-server-3.10.0.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.10.0.ebuild
new file mode 100644
index 00000000000..034c317b9dd
--- /dev/null
+++ b/media-sound/teamspeak-server/teamspeak-server-3.10.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="A server software for hosting quality voice communication via the internet"
+HOMEPAGE="https://www.teamspeak.com/"
+SRC_URI="
+	amd64? ( https://files.teamspeak-services.com/releases/server/${PV}/teamspeak3-server_linux_amd64-${PV}.tar.bz2 )
+	x86? ( https://files.teamspeak-services.com/releases/server/${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="bindist mirror"
+
+RDEPEND="
+	acct-group/teamspeak
+	acct-user/teamspeak
+"
+
+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
+"
+
+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 "${ED}"/opt/teamspeak3-server/.ts3server_license_accepted || die
+
+	exeinto /opt/teamspeak3-server
+	doexe ts3server
+
+	dodir /opt/bin
+	dosym ../teamspeak3-server/ts3server /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 license,"
+	elog "place it in /opt/teamspeak3-server as licensekey.dat."
+	elog "Please note, that the license must be writeable by the teamspeak user,"
+	elog "as it will be automatically updated every six months."
+}


             reply	other threads:[~2019-11-09  7:52 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-09  7:52 Joonas Niilola [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-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-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=1573285924.26c44f16e88251dc53916aac5bafa96b54672152.juippis@gentoo \
    --to=juippis@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