1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coturn_ynh.git synced 2024-09-03 18:16:32 +02:00

Merge pull request #22 from YunoHost-Apps/testing

Testing
This commit is contained in:
Alexandre Aubin 2024-04-11 01:03:41 +02:00 committed by GitHub
commit 25d6fec67c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 127 additions and 35 deletions

6
ALL_README.md Normal file
View file

@ -0,0 +1,6 @@
# All available README files by language
- [Read the README in English](README.md)
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)

View file

@ -1,5 +1,5 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator N.B.: This README was automatically generated by <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Install Coturn with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coturn) [![Install Coturn with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coturn)
*[Lire ce readme en français.](./README_fr.md)* *[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Coturn quickly and simply on a YunoHost server. > *This package allows you to install Coturn quickly and simply on a YunoHost server.*
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
## Overview ## Overview
@ -21,18 +21,18 @@ The TURN Server is a VoIP media traffic NAT traversal server and gateway. It can
**Shipped version:** 4.5.2.3~ynh4 **Shipped version:** 4.5.2.3~ynh4
## Documentation and resources ## Documentation and resources
* Official admin documentation: <https://github.com/coturn/coturn/wiki> - Official admin documentation: <https://github.com/coturn/coturn/wiki>
* Upstream app code repository: <https://github.com/coturn/coturn> - Upstream app code repository: <https://github.com/coturn/coturn>
* YunoHost Store: <https://apps.yunohost.org/app/coturn> - YunoHost Store: <https://apps.yunohost.org/app/coturn>
* Report a bug: <https://github.com/YunoHost-Apps/coturn_ynh/issues> - Report a bug: <https://github.com/YunoHost-Apps/coturn_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/coturn_ynh/tree/testing). Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/coturn_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the `testing` branch, please proceed like that:
``` bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
or or
sudo yunohost app upgrade coturn -u https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug sudo yunohost app upgrade coturn -u https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug

41
README_eu.md Normal file
View file

@ -0,0 +1,41 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Coturn YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/coturn.svg)](https://dash.yunohost.org/appci/app/coturn) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/coturn.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/coturn.maintain.svg)
[![Instalatu Coturn YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coturn)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Coturn YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
The TURN Server is a VoIP media traffic NAT traversal server and gateway. It can be used as a general-purpose network traffic TURN server and gateway, too.
**Paketatutako bertsioa:** 4.5.2.3~ynh4
## Dokumentazioa eta baliabideak
- Administratzaileen dokumentazio ofiziala: <https://github.com/coturn/coturn/wiki>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/coturn/coturn>
- YunoHost Denda: <https://apps.yunohost.org/app/coturn>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/coturn_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/coturn_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
edo
sudo yunohost app upgrade coturn -u https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -1,6 +1,6 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator Nota bene: ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
It shall NOT be edited by hand. Il NE doit PAS être modifié à la main.
--> -->
# Coturn pour YunoHost # Coturn pour YunoHost
@ -9,33 +9,33 @@ It shall NOT be edited by hand.
[![Installer Coturn avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coturn) [![Installer Coturn avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coturn)
*[Read this readme in english.](./README.md)* *[Lire le README dans d'autres langues.](./ALL_README.md)*
> *Ce package vous permet dinstaller Coturn rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller Coturn rapidement et simplement sur un serveur YunoHost.*
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.* > *Si vous navez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment linstaller et en profiter.*
## Vue densemble ## Vue densemble
Le serveur TURN est un serveur et une passerelle NAT pour le trafic multimédia VoIP. Il peut également être utilisé comme serveur et passerelle TURN de trafic réseau à usage général. Le serveur TURN est un serveur et une passerelle NAT pour le trafic multimédia VoIP. Il peut également être utilisé comme serveur et passerelle TURN de trafic réseau à usage général.
**Version incluse :** 4.5.2.3~ynh4 **Version incluse:** 4.5.2.3~ynh4
## Documentations et ressources ## Documentations et ressources
* Documentation officielle de ladmin : <https://github.com/coturn/coturn/wiki> - Documentation officielle de ladmin: <https://github.com/coturn/coturn/wiki>
* Dépôt de code officiel de lapp : <https://github.com/coturn/coturn> - Dépôt de code officiel de lapp: <https://github.com/coturn/coturn>
* YunoHost Store: <https://apps.yunohost.org/app/coturn> - YunoHost Store: <https://apps.yunohost.org/app/coturn>
* Signaler un bug : <https://github.com/YunoHost-Apps/coturn_ynh/issues> - Signaler un bug: <https://github.com/YunoHost-Apps/coturn_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/coturn_ynh/tree/testing). Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/coturn_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche `testing`, procédez comme suit:
``` bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade coturn -u https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug sudo yunohost app upgrade coturn -u https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
``` ```
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications:** <https://yunohost.org/packaging_apps>

41
README_gl.md Normal file
View file

@ -0,0 +1,41 @@
<!--
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON debe editarse manualmente.
-->
# Coturn para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/coturn.svg)](https://dash.yunohost.org/appci/app/coturn) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/coturn.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/coturn.maintain.svg)
[![Instalar Coturn con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coturn)
*[Le este README en outros idiomas.](./ALL_README.md)*
> *Este paquete permíteche instalar Coturn de xeito rápido e doado nun servidor YunoHost.*
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
## Vista xeral
The TURN Server is a VoIP media traffic NAT traversal server and gateway. It can be used as a general-purpose network traffic TURN server and gateway, too.
**Versión proporcionada:** 4.5.2.3~ynh4
## Documentación e recursos
- Documentación oficial para admin: <https://github.com/coturn/coturn/wiki>
- Repositorio de orixe do código: <https://github.com/coturn/coturn>
- Tenda YunoHost: <https://apps.yunohost.org/app/coturn>
- Informar dun problema: <https://github.com/YunoHost-Apps/coturn_ynh/issues>
## Info de desenvolvemento
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/coturn_ynh/tree/testing).
Para probar a rama `testing`, procede deste xeito:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
ou
sudo yunohost app upgrade coturn -u https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
```
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>

View file

@ -1,8 +1,9 @@
## Testing ## Testing
For testing we can use Trickle-Ice testing tool. Go to [trickle-ice page](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice) and enter following details. For testing we can use Trickle-Ice testing tool. Go to [trickle-ice page](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice) and enter following details.
``` ```
TURN URI : turn:<YOUR_PUBLIC_IP_ADDRESS>:5349 STUN or TURN URI: turn:__DOMAIN__:__PORT_TURNSERVER_TLS__
TURN username: <YOUR_USERNAME> TURN username: turnserver
TURN password: <YOUR_PASSWORD> TURN password: __TURNSERVER_PWD__
``` ```

View file

@ -1,8 +1,9 @@
## Testing ## Tester que ça marche
Pour les tests, vous pouvez utiliser l'outil de test Trickle-Ice. Accédez à la page [trickle-ice](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice) et entrez les détails suivants. Pour les tests, vous pouvez utiliser l'outil de test Trickle-Ice. Accédez à la page [trickle-ice](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice) et entrez les détails suivants.
``` ```
TURN URI : turn:__DOMAIN__:5349 STUN or TURN URI: turn:__DOMAIN__:__PORT_TURNSERVER_TLS__
TURN username: <YOUR_USERNAME> TURN username: turnserver
TURN password: <YOUR_PASSWORD> TURN password: __TURNSERVER_PWD__
``` ```

View file

@ -1,5 +1,7 @@
For testing we can use Trickle-Ice testing tool. Go to trickle-ice page https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ and enter following details. For testing we can use Trickle-Ice testing tool. Go to trickle-ice page https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ and enter following details.
```
STUN or TURN URI: turn:__DOMAIN__:__PORT_TURNSERVER_TLS__ STUN or TURN URI: turn:__DOMAIN__:__PORT_TURNSERVER_TLS__
TURN username: turnserver TURN username: turnserver
TURN password: __TURNSERVER_PWD__ TURN password: __TURNSERVER_PWD__
```

View file

@ -7,7 +7,7 @@ description.fr = "Serveur et passerelle NAT du trafic média VoIP"
version = "4.5.2.3~ynh4" version = "4.5.2.3~ynh4"
maintainers = ["eric_G"] maintainers = []
[upstream] [upstream]
license = "BSD-3-Clause" license = "BSD-3-Clause"

View file

@ -23,7 +23,7 @@ ynh_script_progression --message="Creating a dhparam file..." --weight=3
# Make dhparam cert for Coturn if it doesn't exist # Make dhparam cert for Coturn if it doesn't exist
if [ ! -e /etc/ssl/private/dh2048.pem ] if [ ! -e /etc/ssl/private/dh2048.pem ]
then then
ynh_exec_warn_less openssl dhparam -out /etc/ssl/private/dh2048.pem -outform PEM -2 2048 -dsaparam ynh_exec_warn_less openssl dhparam -out /etc/ssl/private/dh2048.pem -outform PEM -dsaparam 2048
chown root:ssl-cert /etc/ssl/private/dh2048.pem chown root:ssl-cert /etc/ssl/private/dh2048.pem
chmod 640 /etc/ssl/private/dh2048.pem chmod 640 /etc/ssl/private/dh2048.pem
fi fi

View file

@ -48,7 +48,7 @@ ynh_script_progression --message="Creating a dhparam file..." --weight=3
# Make dhparam cert for Coturn if it doesn't exist # Make dhparam cert for Coturn if it doesn't exist
if [ ! -e /etc/ssl/private/dh2048.pem ] if [ ! -e /etc/ssl/private/dh2048.pem ]
then then
ynh_exec_warn_less openssl dhparam -out /etc/ssl/private/dh2048.pem -outform PEM -2 2048 -dsaparam ynh_exec_warn_less openssl dhparam -out /etc/ssl/private/dh2048.pem -outform PEM -dsaparam 2048
chown root:ssl-cert /etc/ssl/private/dh2048.pem chown root:ssl-cert /etc/ssl/private/dh2048.pem
chmod 640 /etc/ssl/private/dh2048.pem chmod 640 /etc/ssl/private/dh2048.pem
fi fi