summaryrefslogtreecommitdiff
path: root/net/coturn
Commit message (Collapse)AuthorAgeFilesLines
* coturn: update to 4.6.1Eneas U de Queiroz2023-02-105-37/+292
| | | | | | Added a patch from Gentoo that brings compatiblity with OpenSSL 3.0. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* coturn: use return in init scriptSebastian Kemper2022-11-082-2/+2
| | | | | | | "start_service()" is a function, hence "return" should be used instead of "exit". Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* coturn: fix build on macosSergey V. Lobanov2022-02-011-1/+2
| | | | | | | | | | | coturn build fails on macos due using `ar -r` by default, but macos system `ar` is not compatible with the objects generated by OpenWrt GCC toolchain. This patch redefines ARCHIVERCMD="$(TARGET_AR) -r" to make it possible to build coturn on macos build host. Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
* coturn: improve reproducibility (Ubuntu build host fix)Sergey V. Lobanov2022-02-011-1/+2
| | | | | | | | | | | | | | | | | coturn package is reproducible unless the build OS is Ubuntu coturn configure script detects Ubuntu build host([1]) and changes compilation flags so produced OpenWrt binaries are different on Ubuntu and any other build OS (e.g. Debian). It might be necessary for native build but this check is not valid for cross-compiling. This patch set LIBEV_OK=1 to generate the same binaries on Ubuntu and other build OS Refs: [1] https://github.com/coturn/coturn/blob/upstream/4.5.2/configure#L426-L435 Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
* coturn: add patch for not linking libintlJosef Schlehofer2021-12-302-1/+23
| | | | | | | | | | | | | If there is enabled CONFIG_BUILD_NLS, coturn can not be compiled. It fails with the following error: Package coturn is missing dependencies for the following libraries: libintl.so.8 But thanks to @micmac1, it was realized that libintl is not used anywhere in coturn, that's why there was sent PR to upstream. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* coturn: add /etc/turnserver to conffilesSebastian Kemper2021-12-191-0/+1
| | | | | | | If turndb it created in this folder it should be saved during sysupgrade. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* coturn: new packageSebastian Kemper2021-12-086-0/+222
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>