mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Merge branch 'datadir' of https://github.com/YunoHost-Apps/galene_ynh into datadir
This commit is contained in:
commit
e2d6a8ea11
13 changed files with 20 additions and 20 deletions
|
@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
|
||||||
- Command-line client for Galene file transfer
|
- Command-line client for Galene file transfer
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 0.9~ynh1
|
**Shipped version:** 0.9~ynh2
|
||||||
|
|
||||||
**Demo:** <https://galene.org:8443/>
|
**Demo:** <https://galene.org:8443/>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
|
||||||
- Command-line client for Galene file transfer
|
- Command-line client for Galene file transfer
|
||||||
|
|
||||||
|
|
||||||
**Versión actual:** 0.9~ynh1
|
**Versión actual:** 0.9~ynh2
|
||||||
|
|
||||||
**Demo:** <https://galene.org:8443/>
|
**Demo:** <https://galene.org:8443/>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
|
||||||
- Command-line client for Galene file transfer
|
- Command-line client for Galene file transfer
|
||||||
|
|
||||||
|
|
||||||
**Paketatutako bertsioa:** 0.9~ynh1
|
**Paketatutako bertsioa:** 0.9~ynh2
|
||||||
|
|
||||||
**Demoa:** <https://galene.org:8443/>
|
**Demoa:** <https://galene.org:8443/>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Galène est un serveur de visioconférence (un « SFU ») facile à déployer et
|
||||||
- Client en ligne de commande pour le transfert de fichiers Galene
|
- Client en ligne de commande pour le transfert de fichiers Galene
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 0.9~ynh1
|
**Version incluse :** 0.9~ynh2
|
||||||
|
|
||||||
**Démo :** <https://galene.org:8443/>
|
**Démo :** <https://galene.org:8443/>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
|
||||||
- Command-line client for Galene file transfer
|
- Command-line client for Galene file transfer
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 0.9~ynh1
|
**Versión proporcionada:** 0.9~ynh2
|
||||||
|
|
||||||
**Demo:** <https://galene.org:8443/>
|
**Demo:** <https://galene.org:8443/>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th
|
||||||
- Command-line client for Galene file transfer
|
- Command-line client for Galene file transfer
|
||||||
|
|
||||||
|
|
||||||
**分发版本:** 0.9~ynh1
|
**分发版本:** 0.9~ynh2
|
||||||
|
|
||||||
**演示:** <https://galene.org:8443/>
|
**演示:** <https://galene.org:8443/>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"users": {
|
"users": {
|
||||||
"__ADMIN__": {
|
"__ADMIN__": {
|
||||||
"permissions": "admin",
|
"permissions": "admin",
|
||||||
"password": "__PASSWORD_HASH__"
|
"password": __PASSWORD_HASH__
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
"users": {
|
"users": {
|
||||||
"__ADMIN__": {"permissions": "op", "password": "__PASSWORD_HASH__"},
|
"__ADMIN__": {"permissions": "op", "password": __PASSWORD_HASH__},
|
||||||
"description": "__GROUP_DESCRIPTION__",
|
"description": "__GROUP_DESCRIPTION__",
|
||||||
"public": true,
|
"public": true,
|
||||||
"allow-recording": true,
|
"allow-recording": true,
|
||||||
|
|
|
@ -8,7 +8,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/live/
|
WorkingDirectory=__INSTALL_DIR__/live/
|
||||||
ExecStart=__INSTALL_DIR__/live/galene -http "127.0.0.1:__PORT__" -insecure -turn __PUBLIC_IP4__:__PORT_TURN__ -udp-range 49152-65535 -groups __DATA_DIR__/groups -recordings __DATA_DIR__/recordings -data __INSTALL_DIR__/live/data/ -static __INSTALL_DIR__/live/static
|
ExecStart=__INSTALL_DIR__/live/galene -http "127.0.0.1:__PORT__" -insecure -turn __PUBLIC_IP4__:__PORT_TURN__ -udp-range 49152-65535 -groups __DATA_DIR__/groups -recordings __DATA_DIR__/recordings -data __DATA_DIR__/data/ -static __INSTALL_DIR__/live/static
|
||||||
LimitNOFILE=65536
|
LimitNOFILE=65536
|
||||||
|
|
||||||
# Sandboxing options to harden security
|
# Sandboxing options to harden security
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Galène"
|
||||||
description.en = "Videoconferencing server that is easy to deploy"
|
description.en = "Videoconferencing server that is easy to deploy"
|
||||||
description.fr = "Serveur de visioconférence facile à déployer"
|
description.fr = "Serveur de visioconférence facile à déployer"
|
||||||
|
|
||||||
version = "0.9~ynh1"
|
version = "0.9~ynh2"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = ["eric_G"]
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ userdoc = "https://galene.org/faq.html"
|
||||||
code = "https://github.com/jech/galene"
|
code = "https://github.com/jech/galene"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.2.12"
|
yunohost = ">= 11.2.14"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ ram.runtime = "50M"
|
||||||
url = "https://github.com/jech/galene/archive/refs/tags/galene-0.9.tar.gz"
|
url = "https://github.com/jech/galene/archive/refs/tags/galene-0.9.tar.gz"
|
||||||
sha256 = "066f2b06fdbda4b8d29d3048166123dc5bc2c0f6f863cee235df82758ddbef90"
|
sha256 = "066f2b06fdbda4b8d29d3048166123dc5bc2c0f6f863cee235df82758ddbef90"
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
[resources.sources.ldap]
|
[resources.sources.ldap]
|
||||||
url = "https://github.com/jech/galene-ldap/archive/c6b6f3859927a3cb8bf36b6e39614dff79275dd5.tar.gz"
|
url = "https://github.com/jech/galene-ldap/archive/c6b6f3859927a3cb8bf36b6e39614dff79275dd5.tar.gz"
|
||||||
sha256 = "5f261fde39694b2dc4412c9abaf8f2c269119ccdaea5fd0a6f69bd00a42885f3"
|
sha256 = "5f261fde39694b2dc4412c9abaf8f2c269119ccdaea5fd0a6f69bd00a42885f3"
|
||||||
|
|
|
@ -43,7 +43,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=2
|
||||||
|
|
||||||
domain="$new_domain"
|
domain="$new_domain"
|
||||||
|
|
||||||
# Configure Galene
|
# Configure Galène
|
||||||
ynh_add_config --template="config.json" --destination="$data_dir/data/config.json"
|
ynh_add_config --template="config.json" --destination="$data_dir/data/config.json"
|
||||||
chmod 400 "$data_dir/data/config.json"
|
chmod 400 "$data_dir/data/config.json"
|
||||||
chown $app:$app "$data_dir/data/config.json"
|
chown $app:$app "$data_dir/data/config.json"
|
||||||
|
|
|
@ -84,9 +84,9 @@ password_hash=$(echo $($install_dir/galene-password-generator $password))
|
||||||
ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash"
|
ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash"
|
||||||
|
|
||||||
# Configure Galène
|
# Configure Galène
|
||||||
ynh_add_config --template="config.json" --destination="$install_dir/live/data/config.json"
|
ynh_add_config --template="config.json" --destination="$install_dir/data/config.json"
|
||||||
chmod 400 "$install_dir/live/data/config.json"
|
chmod 400 "$install_dir/data/config.json"
|
||||||
chown $app:$app "$install_dir/live/data/config.json"
|
chown $app:$app "$install_dir/data/config.json"
|
||||||
|
|
||||||
# Configure Galène LDAP
|
# Configure Galène LDAP
|
||||||
key=$(jose jwk gen -i '{"kty":"oct","alg":"HS256"}')
|
key=$(jose jwk gen -i '{"kty":"oct","alg":"HS256"}')
|
||||||
|
|
|
@ -115,9 +115,9 @@ chmod 400 "$install_dir/live_ldap/data/galene-ldap.json"
|
||||||
chown $app:$app "$install_dir/live_ldap/data/galene-ldap.json"
|
chown $app:$app "$install_dir/live_ldap/data/galene-ldap.json"
|
||||||
|
|
||||||
# Create a group name config
|
# Create a group name config
|
||||||
#ynh_add_config --template="groupname.json" --destination="$data_dir/groups/$group_name.json"
|
# ynh_add_config --template="groupname.json" --destination="$data_dir/groups/$group_name.json"
|
||||||
#chmod 400 "$data_dir/groups/$group_name.json"
|
# chmod 400 "$data_dir/groups/$group_name.json"
|
||||||
#chown $app:$app "$data_dir/groups/$group_name.json"
|
# chown $app:$app "$data_dir/groups/$group_name.json"
|
||||||
|
|
||||||
# Create a group name authenticated on LDAP
|
# Create a group name authenticated on LDAP
|
||||||
ynh_add_config --template="groupname-ldap.json" --destination="$data_dir/groups/YunoHost_Users.json"
|
ynh_add_config --template="groupname-ldap.json" --destination="$data_dir/groups/YunoHost_Users.json"
|
||||||
|
|
Loading…
Add table
Reference in a new issue