diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | teamspeak3-server.default | 128 | ||||
-rw-r--r-- | teamspeak3-server.ini | 20 | ||||
-rw-r--r-- | teamspeak3-server.install | 1 | ||||
-rw-r--r-- | teamspeak3-server.service | 4 |
6 files changed, 40 insertions, 149 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sun May 8 18:47:20 UTC 2016 +# Wed Aug 10 17:16:24 UTC 2016 pkgbase = teamspeak3-server pkgdesc = A proprietary VoIP conference software - pkgver = 3.0.12.4 + pkgver = 3.0.13 pkgrel = 1 url = http://www.teamspeak.com install = teamspeak3-server.install @@ -11,15 +11,15 @@ pkgbase = teamspeak3-server license = custom depends = glibc optdepends = mariadb-connector-c: for MariaDB backend - backup = etc/default/teamspeak3-server - source = teamspeak3-server.default + backup = etc/teamspeak3-server.ini + source = teamspeak3-server.ini source = teamspeak3-server.service - sha256sums = bc52b851f5d7c878050e70661fafa8983031a43d115bc2762bae82f4331ee36e - sha256sums = 3d1b7c34e6d460d12f4bf51bdf96d2d58036493a969025fabd2b4ea38c9ac170 - source_i686 = http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.12.4/teamspeak3-server_linux_x86-3.0.12.4.tar.bz2 - sha256sums_i686 = 6c1138abc8e849d956793ddbf4fda79777c5311627239f7bac2a1c08d66373a7 - source_x86_64 = http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.12.4/teamspeak3-server_linux_amd64-3.0.12.4.tar.bz2 - sha256sums_x86_64 = 6bb0e8c8974fa5739b90e1806687128342b3ab36510944f576942e67df7a1bd9 + sha256sums = c678f5d657772920260c4ea4718677e6b00ef28ad74c317e05632a01d33b3ca5 + sha256sums = e278e962cb0068059d5a0b981110dce1a708de59bb8355cdfc6b519dc14b21fa + source_i686 = http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.13/teamspeak3-server_linux_x86-3.0.13.tar.bz2 + sha256sums_i686 = 62998a542a4dd50a0f2df7b812215e3cb402dfc7000d9f52ac5971f9f925cee5 + source_x86_64 = http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.13/teamspeak3-server_linux_amd64-3.0.13.tar.bz2 + sha256sums_x86_64 = 93d702c30e5f3745ad156b020a751e448afa64459d8769d6d848a3ef43b28de9 pkgname = teamspeak3-server @@ -2,7 +2,7 @@ # Contributor: EnteEnteEnte <ducksource@duckpond.ch> pkgname='teamspeak3-server' -pkgver='3.0.12.4' +pkgver='3.0.13' pkgrel=1 pkgdesc='A proprietary VoIP conference software' license=('custom') @@ -10,16 +10,16 @@ arch=('i686' 'x86_64') url="http://www.teamspeak.com" depends=('glibc') optdepends=('mariadb-connector-c: for MariaDB backend') -backup=(etc/default/teamspeak3-server) +backup=(etc/teamspeak3-server.ini) install='teamspeak3-server.install' -source=('teamspeak3-server.default' +source=('teamspeak3-server.ini' 'teamspeak3-server.service') source_i686=("http://teamspeak.gameserver.gamed.de/ts3/releases/$pkgver/teamspeak3-server_linux_x86-$pkgver.tar.bz2") source_x86_64=("http://teamspeak.gameserver.gamed.de/ts3/releases/$pkgver/teamspeak3-server_linux_amd64-$pkgver.tar.bz2") -sha256sums=('bc52b851f5d7c878050e70661fafa8983031a43d115bc2762bae82f4331ee36e' - '3d1b7c34e6d460d12f4bf51bdf96d2d58036493a969025fabd2b4ea38c9ac170') -sha256sums_i686=('6c1138abc8e849d956793ddbf4fda79777c5311627239f7bac2a1c08d66373a7') -sha256sums_x86_64=('6bb0e8c8974fa5739b90e1806687128342b3ab36510944f576942e67df7a1bd9') +sha256sums=('c678f5d657772920260c4ea4718677e6b00ef28ad74c317e05632a01d33b3ca5' + 'e278e962cb0068059d5a0b981110dce1a708de59bb8355cdfc6b519dc14b21fa') +sha256sums_i686=('62998a542a4dd50a0f2df7b812215e3cb402dfc7000d9f52ac5971f9f925cee5') +sha256sums_x86_64=('93d702c30e5f3745ad156b020a751e448afa64459d8769d6d848a3ef43b28de9') if [ "$CARCH" == "x86_64" ]; then _TSARCH='amd64' @@ -30,7 +30,7 @@ fi package() { cd "$srcdir" - install -Dm 644 teamspeak3-server.default "$pkgdir/etc/default/teamspeak3-server" + install -Dm 644 teamspeak3-server.ini "$pkgdir/etc/teamspeak3-server.ini" install -Dm 644 teamspeak3-server.service "$pkgdir/usr/lib/systemd/system/teamspeak3-server.service" install -Dm 755 "teamspeak3-server_linux_$_TSARCH/ts3server" "$pkgdir/usr/bin/ts3server" diff --git a/teamspeak3-server.default b/teamspeak3-server.default deleted file mode 100644 index 79ee13076adb..000000000000 --- a/teamspeak3-server.default +++ /dev/null @@ -1,128 +0,0 @@ -# -# Parameters to be passed to teamspeak3-server -# -# The following commandline parameters are available: -# -#* default_voice_port (9987) -# UDP port open for clients to connect to. This port is used by the first -# virtual server, subsequently started virtual servers will open on increasing -# port numbers. -# Default: The default voice port is 9987. -# -#* voice_ip (0.0.0.0) -# IP on which the server instance will listen for incoming voice connections. -# Default: The server is bound on any IP address. -# -#* create_default_virtualserver (1) -# Normally one virtual server is created automatically when the TeamSpeak 3 -# Server process is started. To disable this behaviour, set this parameter -# to "0". In this case you have to start virtual servers manually using the -# ServerQuery interface. -# Default: If not provided, one virtual server is created. -# -#* machine_id (<empty>) -# Optional name of this server process to identify a group of servers with -# the same ID. This can be useful when running multiple TeamSpeak 3 Server -# instances on the same database. Please note that we strongly recommend that -# you do NOT run multiple server instances on the same SQLite database. -# Default: The server instance will not use a machine ID. -# -#* filetransfer_port (30033) -# TCP Port opened for file transfers. If you specify this parameter, you also -# need to specify the "filetransfer_ip" parameter! -# Default: The default file tranfer port is 30033. -# -#* filetransfer_ip (0.0.0.0) -# IP on which the file transfers are bound to. If you specify this parameter, -# you also need to specify the "filetransfer_port" parameter! -# Default: File transfers are bound on any IP address. -# -#* query_port (10011) -# TCP Port opened for ServerQuery connections. If you specify this parameter, -# need to specify the "query_ip" parameter! -# Default: The default ServerQuery port is 10011. -# -#* query_ip (0.0.0.0) -# IP bound for incoming ServerQuery connections. If you specify this parameter, -# you also need to specify the "query_port" parameter! -# Default: ServerQuery connections are bound on any IP address. -# -#* clear_database (0) -# If set to "1", the server database will be cleared before starting up the server. -# This is mainly used for testing. Usually this parameter should not be specified, -# so all server settings will be restored when the server process is restarted. -# Default: Database is not cleared on start. -# -#* logpath (logs/) -# The physical path where the server will create logfiles. -# Default: The server will create logfiles in the "logs/" subdirectory. -# -#* dbplugin (ts3db_sqlite3) -# Name of the database plugin library used by the server instance. For example, if -# you want to start the server with MySQL support, simply set this parameter to -# "ts3db_mysql" to use the MySQL plugin. Do *NOT* specify the "lib" prefix or the file -# extension of the plugin. -# Default: The default SQLite3 database plugin will be used. -# -#* dbpluginparameter (<empty>) -# A custom parameter passed to the database plugin library. For example, the MySQL -# database plugin supports a parameter to specify the physical path of the plugins -# configuration file. -# Default: The database plugin will be used without a parameter. -# -#* dbsqlpath (sql/) -# The physical path where your SQL script files are located. -# Default: The server will search for SQL script files in the "sql/" subdirectory. -# -#* dbsqlcreatepath (create_sqlite/) -# The physical path where your SQL installation files are located. Note that this -# path will be added to the value of the "dbsqlpath" parameter. -# Default: The server will search for SQL installation scripts files in the -# "<dbsqlpath>/dbsqlcreatepath/" subdirectory. -# -#* licensepath (<empty>) -# The physical path where your license file is located. -# Default: The license file is located in your servers installation directory. -# -#* createinifile (0) -# If set to "1", the server will create an INI-style config file containing all -# commandline parameters with the values you have specified. -# Default: The server will not create a config file. -# -#* inifile (ts3server.ini) -# The physical path where your config file is located. Per default, the config file will -# be called "ts3server.ini". -# Default: The config file is located in your servers installation directory. -# -#* query_ip_whitelist (query_ip_whitelist.txt) -# The file containing whitelisted IP addresses for the ServerQuery interface. All hosts -# listed in this file will be ignored by the ServerQuery flood protection. -# Default: The whitelist file is located in your servers installation directory. -# -#* query_ip_backlist (query_ip_backlist.txt) -# The file containing backlisted IP addresses for the ServerQuery interface. All hosts -# listed in this file are not allowed to connect to the ServerQuery interface. -# Default: The whitelist file is located in your servers installation directory. -# -#* dbclientkeepdays (90) -# Defines how many days to keep unused client identities. Auto-pruning is triggered on every -# start and on every new month while the server is running. -# Default: The server will auto-prune client identities older than 90 days. -# -#* dblogkeepdays (90) -# Defines how many days to keep database log entries. Auto-pruning is triggered on every -# start and on every new month while the server is running. -# Default: The server will auto-prune log entries older than 90 days. -# -#* logquerycommands (1) -# If set to "1", the server will log every ServerQuery command executed by clients. This can -# be useful while trying to diagnose several different issues. -# Default: ServerQuery commands will not be logged. -# -#* no_permission_update (0) -# If set to "1", new permissions will not be added to existing groups automatically. Note that -# this can break your server configuration if you dont update them manually. -# Default: New permissions will be added to existing groups automatically. - -TS_ARGS="logpath=/var/log/teamspeak3-server/ dbsqlpath=/usr/share/teamspeak3-server/sql/" -LD_LIBRARY_PATH="/usr/lib/mariadb/:$LD_LIBRARY_PATH" diff --git a/teamspeak3-server.ini b/teamspeak3-server.ini new file mode 100644 index 000000000000..d00bb2a747c3 --- /dev/null +++ b/teamspeak3-server.ini @@ -0,0 +1,20 @@ +machine_id= +default_voice_port=9987 +voice_ip= +licensepath= +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=/usr/share/teamspeak3-server/sql/ +dbsqlcreatepath=create_sqlite/ +dbconnections=10 +logpath=/var/log/teamspeak3-server/ +logquerycommands=0 +dbclientkeepdays=30 +logappend=0 +query_skipbruteforcecheck=0 diff --git a/teamspeak3-server.install b/teamspeak3-server.install index 48f676a8277c..cbaf1fbe3fff 100644 --- a/teamspeak3-server.install +++ b/teamspeak3-server.install @@ -14,5 +14,4 @@ post_install() { post_remove() { /usr/bin/getent passwd teamspeak &> /dev/null && /usr/bin/userdel teamspeak &> /dev/null - /usr/bin/getent group teamspeak &> /dev/null && /usr/bin/groupdel teamspeak &> /dev/null } diff --git a/teamspeak3-server.service b/teamspeak3-server.service index eb4269b7dd94..bc1f115c5e3e 100644 --- a/teamspeak3-server.service +++ b/teamspeak3-server.service @@ -7,8 +7,8 @@ Type=simple User=teamspeak Group=teamspeak WorkingDirectory=/var/lib/teamspeak3-server -EnvironmentFile=/etc/default/teamspeak3-server -ExecStart=/usr/bin/ts3server $TS_ARGS +Environment='LD_LIBRARY_PATH="/usr/lib/mariadb/:$LD_LIBRARY_PATH"' +ExecStart=/usr/bin/ts3server inifile=/etc/teamspeak3-server.ini [Install] WantedBy=multi-user.target |