1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dendrite_ynh.git synced 2024-09-03 18:25:58 +02:00
This commit is contained in:
ericgaspar 2021-11-21 16:21:18 +01:00
parent 69a94a3477
commit af28ffdb0a
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 9 additions and 15 deletions

View file

@ -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

View file

@ -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": [

View file

@ -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

View file

@ -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
#=================================================