summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-02-09 22:02:25 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-02-09 23:56:11 +0100
commite44d3113803dd1f2065cc2c7335c6b194c67dbb9 (patch)
tree131f4247c146fbbf8d68123ca5e56a222a84129f
parentmedia-sound/teamspeak-server: update EAPI 7 -> 8 (diff)
downloadgentoo-e44d3113803dd1f2065cc2c7335c6b194c67dbb9.tar.gz
gentoo-e44d3113803dd1f2065cc2c7335c6b194c67dbb9.tar.bz2
gentoo-e44d3113803dd1f2065cc2c7335c6b194c67dbb9.zip
media-sound/teamspeak-server: drop 3.13.6
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r--media-sound/teamspeak-server/teamspeak-server-3.13.6.ebuild134
1 files changed, 0 insertions, 134 deletions
diff --git a/media-sound/teamspeak-server/teamspeak-server-3.13.6.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.13.6.ebuild
deleted file mode 100644
index 04a06cc4ff6e..000000000000
--- a/media-sound/teamspeak-server/teamspeak-server-3.13.6.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2021 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 postgres tsdns"
-
-RESTRICT="bindist mirror"
-
-RDEPEND="
- acct-group/teamspeak
- acct-user/teamspeak
- postgres? ( dev-db/postgresql )
-"
-
-QA_PREBUILT="
- opt/teamspeak3-server/libmariadb.so.2
- opt/teamspeak3-server/libts3db_mariadb.so
- opt/teamspeak3-server/libts3db_postgresql.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-r2 ts3server.ini
-
- dodoc CHANGELOG
- docinto ts3server
- dodoc doc/*.{md,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-r2 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 postgres; then
- insinto /etc/teamspeak3-server
- doins "${FILESDIR}"/ts3server_postgresql.ini.sample
- doins "${FILESDIR}"/ts3db_postgresql.ini.sample
-
- exeinto /opt/teamspeak3-server
- doexe libts3db_postgresql.so
-
- insinto /opt/teamspeak3-server/sql
- doins -r sql/create_postgresql
- 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 "put it in /opt/teamspeak3-server named 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."
-}