coturn: new package 715/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Mon, 6 Dec 2021 23:30:04 +0000 (00:30 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Wed, 8 Dec 2021 15:58:44 +0000 (16:58 +0100)
commitceec95d92d85d94f5907b8dd34d8ac5ad46dff65
tree6701608dfcfeb0d7abb3c799056afe14a5be7c25
parent5ee7928640c0fcbe6cbc2a970397a75d7ba4279f
coturn: new package

This is meant as a replacement for restund.

By default, sqlite3 support is enabled. The DBs to use can be freely
changed in menuselect, though. sqlite3 is enabled by default as it is
the upstream default DB.

The package installs turnserver, which includes an init script. Options
can be set via /etc/config/turnserver and /etc/turnserver.conf.

turnserver is started as root and later drops privileges to user/group
turnserver/turnserver.

DB schemas etc. get installed to /usr/share/coturn. The default DB path
is set to /etc/turnserver, to avoid volatile /var on OpenWrt.
/etc/turnserver is created and permissions are automatically set to only
allow access for user turnserver (done via fakeroot).

The utilities coturn provides are installed as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/coturn/Makefile [new file with mode: 0644]
net/coturn/files/turnserver.conf [new file with mode: 0644]
net/coturn/files/turnserver.init [new file with mode: 0755]
net/coturn/patches/01-includes.patch [new file with mode: 0644]
net/coturn/patches/02-fix-flags-dupes.patch [new file with mode: 0644]
net/coturn/patches/03-fix-libmariadb-detection.patch [new file with mode: 0644]