diff --git a/media-sound/teamspeak-server/Manifest b/media-sound/teamspeak-server/Manifest deleted file mode 100644 index 59b052f..0000000 --- a/media-sound/teamspeak-server/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST teamspeak3-server_linux_amd64-3.5.0.tar.bz2 8455959 BLAKE2B 1569716e80187a5de0316b8305d55c0a3b094553145a494ed7e1d0599fb1ebb0c3585b9e59a11340e6f1e4537a0502ca11124203e814a39e9650a6a0ae5122c6 SHA512 692b88d1a2a43232fe52927b6c2a70039d814ff02bfc2f1bf69138d256a2242100145fe6d7133d5745d7f945f79e24a1f3f40caf1da3697ae766cab493af9b8d -DIST teamspeak3-server_linux_x86-3.5.0.tar.bz2 8326197 BLAKE2B 792e9429f1eb6ab9cb49f304fd8159927ca8b3d6a9fa4ceffc830d76712202b8a79fb8c5ded6cd4219a779bab7662c47fe43e2d589edf69334ee631c32f17213 SHA512 efae8d3315ccd7b36b7a031e65496bde37596e3bdd4f84a5836971d246996f92071b8dd48aab1053acc00f98a38a3a0a6bea399de0c4536194a6d1988b96cfd7 diff --git a/media-sound/teamspeak-server/files/teamspeak.initd-r1 b/media-sound/teamspeak-server/files/teamspeak.initd-r1 deleted file mode 100644 index 200ce02..0000000 --- a/media-sound/teamspeak-server/files/teamspeak.initd-r1 +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -config="/etc/teamspeak3-server/ts3server.ini" -name="TeamSpeak3 Server" -pidfile="/run/${RC_SVCNAME}.pid" -start_stop_daemon_args="--chdir /opt/teamspeak3-server --env TS3SERVER_LICENSE=accept" - -command="ts3server" -command_args="inifile=${config}" -command_background="true" -command_group="teamspeak" -command_user="teamspeak" - -depend() { - use mysql -} - -start_pre() { - # Fix for EPERM bug - rm -f /dev/shm/7gbhujb54g8z9hu43jre8 -} diff --git a/media-sound/teamspeak-server/files/teamspeak.service b/media-sound/teamspeak-server/files/teamspeak.service deleted file mode 100644 index 0c77e4c..0000000 --- a/media-sound/teamspeak-server/files/teamspeak.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=TeamSpeak3 Server -After=network-online.target - -[Service] -Type=simple -User=teamspeak -Group=teamspeak -WorkingDirectory=/opt/teamspeak3-server -Environment="LD_LIBRARY_PATH=/opt/teamspeak3-server" -Environment="TS3SERVER_LICENSE=accept" -ExecStartPre=/bin/rm -f /dev/shm/7gbhujb54g8z9hu43jre8 -ExecStart=/opt/bin/ts3server inifile=/etc/teamspeak3-server/ts3server.ini - -[Install] -WantedBy=multi-user.target diff --git a/media-sound/teamspeak-server/files/ts3db_mariadb.ini.sample b/media-sound/teamspeak-server/files/ts3db_mariadb.ini.sample deleted file mode 100644 index 0a8ebc4..0000000 --- a/media-sound/teamspeak-server/files/ts3db_mariadb.ini.sample +++ /dev/null @@ -1,7 +0,0 @@ -[config] -host=localhost -port=3306 -username=teamspeak -password=teamspeak -database=teamspeak -socket= diff --git a/media-sound/teamspeak-server/files/ts3server-bin b/media-sound/teamspeak-server/files/ts3server-bin deleted file mode 100644 index 3deb9dd..0000000 --- a/media-sound/teamspeak-server/files/ts3server-bin +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# Sets BASEDIR for teamspeak3-server -BASEDIR="/opt/teamspeak3-server" - -# Work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH -export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}" - -# Launch teamspeak3-server -cd "${BASEDIR}" && exec "${BASEDIR}/ts3server" $* diff --git a/media-sound/teamspeak-server/files/ts3server.ini-r1 b/media-sound/teamspeak-server/files/ts3server.ini-r1 deleted file mode 100644 index 769e815..0000000 --- a/media-sound/teamspeak-server/files/ts3server.ini-r1 +++ /dev/null @@ -1,29 +0,0 @@ -machine_id= -default_voice_port=9987 -voice_ip= -licensepath=/opt/teamspeak3-server/ -filetransfer_port=30033 -filetransfer_ip= -query_port=10011 -query_ip=0.0.0.0, :: -query_ip_whitelist=query_ip_whitelist.txt -query_ip_blacklist=query_ip_blacklist.txt -dbplugin=ts3db_sqlite3 -dbpluginparameter= -dbsqlpath=/opt/teamspeak3-server/sql/ -dbsqlcreatepath=create_sqlite/ -dbconnections=10 -logpath=/var/log/teamspeak3-server/ -logquerycommands=0 -dbclientkeepdays=30 -logappend=0 -query_skipbruteforcecheck=0 -query_buffer_mb=20 -http_proxy= -license_accepted=1 -serverquerydocs_path=/opt/teamspeak3-server/serverquerydocs/ -query_ssh_ip=0.0.0.0, :: -query_ssh_port=10022 -query_protocols=raw -query_ssh_rsa_host_key=ssh_host_rsa_key -query_timeout=300 diff --git a/media-sound/teamspeak-server/files/ts3server_mariadb.ini.sample-r1 b/media-sound/teamspeak-server/files/ts3server_mariadb.ini.sample-r1 deleted file mode 100644 index 6b2a28d..0000000 --- a/media-sound/teamspeak-server/files/ts3server_mariadb.ini.sample-r1 +++ /dev/null @@ -1,29 +0,0 @@ -machine_id= -default_voice_port=9987 -voice_ip= -licensepath=/opt/teamspeak3-server/ -filetransfer_port=30033 -filetransfer_ip= -query_port=10011 -query_ip=0.0.0.0, :: -query_ip_whitelist=query_ip_whitelist.txt -query_ip_blacklist=query_ip_blacklist.txt -dbplugin=ts3db_mariadb -dbpluginparameter=/etc/teamspeak3-server/ts3db_mariadb.ini -dbsqlpath=/opt/teamspeak3-server/sql/ -dbsqlcreatepath=create_mariadb/ -dbconnections=10 -logpath=/var/log/teamspeak3-server/ -logquerycommands=0 -dbclientkeepdays=30 -logappend=0 -query_skipbruteforcecheck=0 -query_buffer_mb=20 -http_proxy= -license_accepted=1 -serverquerydocs_path=/opt/teamspeak3-server/serverquerydocs/ -query_ssh_ip=0.0.0.0, :: -query_ssh_port=10022 -query_protocols=raw -query_ssh_rsa_host_key=ssh_host_rsa_key -query_timeout=300 diff --git a/media-sound/teamspeak-server/teamspeak-server-3.5.0.ebuild b/media-sound/teamspeak-server/teamspeak-server-3.5.0.ebuild deleted file mode 100644 index ee67ece..0000000 --- a/media-sound/teamspeak-server/teamspeak-server-3.5.0.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit systemd user - -MY_PV="$(ver_cut 1-4)-Beta-$(ver_cut 5)" - -DESCRIPTION="A server software for hosting quality voice communication via the internet" -HOMEPAGE="https://www.teamspeak.com/" -if [[ ${PV} != "*_beta*" ]] ; then - 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 )" -else - SRC_URI=" - amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/pre_releases/server/${MY_PV}/teamspeak3-server_linux_amd64-${MY_PV}.tar.bz2 ) - x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/pre_releases/server/${MY_PV}/teamspeak3-server_linux_x86-${MY_PV}.tar.bz2 )" -fi -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." -}