mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
commit
1b78f340eb
6 changed files with 11 additions and 19 deletions
|
@ -24,7 +24,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
|
|||
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.
|
||||
|
||||
|
||||
**Shipped version:** 0.5.0~ynh1
|
||||
**Shipped version:** 0.5.1~ynh1
|
||||
|
||||
|
||||
|
||||
|
@ -39,7 +39,6 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
|
|||
## Documentation and resources
|
||||
|
||||
* Official app website: https://matrix.org/
|
||||
* Official user documentation: https://yunohost.org/apps
|
||||
* Official admin documentation: https://github.com/matrix-org/dendrite/tree/master/docs
|
||||
* Upstream app code repository: https://github.com/matrix-org/dendrite
|
||||
* YunoHost documentation for this app: https://yunohost.org/app_dendrite
|
||||
|
|
|
@ -20,7 +20,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
|
|||
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.
|
||||
|
||||
|
||||
**Version incluse :** 0.5.0~ynh1
|
||||
**Version incluse :** 0.5.1~ynh1
|
||||
|
||||
|
||||
|
||||
|
@ -35,7 +35,6 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
|
|||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : https://matrix.org/
|
||||
* Documentation officielle utilisateur : https://yunohost.org/apps
|
||||
* Documentation officielle de l'admin : https://github.com/matrix-org/dendrite/tree/master/docs
|
||||
* Dépôt de code officiel de l'app : https://github.com/matrix-org/dendrite
|
||||
* Documentation YunoHost pour cette app : https://yunohost.org/app_dendrite
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
SOURCE_URL=https://github.com/matrix-org/dendrite/archive/v0.5.0.zip
|
||||
SOURCE_SUM=0e2923f19c90b808a1cd8bed3649cbd3c6b29ceb9c8d35716c92890a40d70c5b
|
||||
SOURCE_URL=https://github.com/matrix-org/dendrite/archive/v0.5.1.zip
|
||||
SOURCE_SUM=8df61627d3209f4ff529cbac8318a3a9da274de527f858fdb72578988a5aeefe
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=
|
||||
SOURCE_EXTRACT=true
|
||||
|
|
|
@ -6,13 +6,12 @@
|
|||
"en": "Matrix homeserver of second generation",
|
||||
"fr": "Serveur Matrix de seconde génération"
|
||||
},
|
||||
"version": "0.5.0~ynh1",
|
||||
"version": "0.5.1~ynh1",
|
||||
"url": "https://matrix.org/",
|
||||
"upstream": {
|
||||
"license": "Apache-2.0",
|
||||
"website": "https://matrix.org/",
|
||||
"admindoc": "https://github.com/matrix-org/dendrite/tree/master/docs",
|
||||
"userdoc": "https://yunohost.org/apps",
|
||||
"code": "https://github.com/matrix-org/dendrite"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
|
@ -21,7 +20,7 @@
|
|||
"email": "tituspijean@outlook.com"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.1.7"
|
||||
"yunohost": ">= 4.3.0"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
|
|
@ -129,7 +129,7 @@ adduser $app ssl-cert
|
|||
# BUILDING SOURCES AND SETTING UP THE SERVER
|
||||
#=================================================
|
||||
|
||||
pushd "$final_path" || ynh_die
|
||||
pushd "$final_path"
|
||||
ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6
|
||||
# Build the sources
|
||||
mkdir ./bin
|
||||
|
@ -139,7 +139,7 @@ pushd "$final_path" || ynh_die
|
|||
./bin/generate-keys --private-key matrix_key.pem
|
||||
# Generate a self-signed certificate
|
||||
./bin/generate-keys --tls-cert server.crt --tls-key server.key
|
||||
popd || ynh_die
|
||||
popd
|
||||
|
||||
# Allow or deny registration based of is_public
|
||||
registration=false
|
||||
|
|
|
@ -70,7 +70,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=3
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/dendrite.yaml"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
@ -112,11 +112,11 @@ ynh_system_user_create --username=$app
|
|||
# BUILDING SOURCES AND SETTING UP THE SERVER
|
||||
#=================================================
|
||||
|
||||
pushd "$final_path" || ynh_die
|
||||
pushd "$final_path"
|
||||
ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6
|
||||
# Build the sources
|
||||
ynh_exec_warn_less ./build.sh
|
||||
popd || ynh_die
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
|
@ -126,10 +126,6 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
|
|||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue