mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Merge branch 'testing' into Update_helpers
This commit is contained in:
commit
79a7fc0ea7
7 changed files with 21 additions and 13 deletions
|
@ -16,7 +16,7 @@ Instant messaging server matrix network.
|
||||||
|
|
||||||
Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org)
|
Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org)
|
||||||
|
|
||||||
**Shipped version:** 0.33.0
|
**Shipped version:** 0.33.1
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v0.33.0/matrix-synapse_0.33.0-jessie-bin1_armv7l.tar.gz
|
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v0.33.1/matrix-synapse_0.33.1-jessie-bin1_armv7l.tar.gz
|
||||||
SOURCE_SUM=64a68f2988b8fad7d07c163b1f097beeedbb7d7411baafd2f8595c0291862f20
|
SOURCE_SUM=cdeffcf86392a92d776198d125e1b3a953eb587e327b0e611cbc78db5b73f9e7
|
||||||
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
||||||
# default: sha256
|
# default: sha256
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v0.33.0/matrix-synapse_0.33.0-stretch-bin1_armv7l.tar.gz
|
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v0.33.1/matrix-synapse_0.33.1-stretch-bin1_armv7l.tar.gz
|
||||||
SOURCE_SUM=e7a766f6eda0b704620d29c4633dfadea1572d8730fde4ec31b79f2d65a0f8eb
|
SOURCE_SUM=bb6f83dd936b56577bb4bdaa2d1d9dac040bd81cc704bfbbc83f371252975325
|
||||||
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
||||||
# default: sha256
|
# default: sha256
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Synapse Matrix homeserver
|
Description=Synapse Matrix homeserver
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/matrix-org/synapse/archive/v0.33.0.tar.gz
|
SOURCE_URL=https://github.com/matrix-org/synapse/archive/v0.33.1.tar.gz
|
||||||
SOURCE_SUM=5d134216f6efa2ba170d56bc7fe4c3fcaa8dbd7e651a155e729a979bafbfbc7a
|
SOURCE_SUM=2fb51254cdc7f12ada7f2f7d848aeeecaa5b484298cfecf18a676790f157e3e4
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_FILENAME=synapse_source.tar.gz
|
SOURCE_FILENAME=synapse_source.tar.gz
|
||||||
SOURCE_EXTRACT=false
|
SOURCE_EXTRACT=false
|
|
@ -9,7 +9,7 @@
|
||||||
"en": "Instant messaging server who use matrix",
|
"en": "Instant messaging server who use matrix",
|
||||||
"fr": "Un serveur de messagerie instantané basé sur matrix"
|
"fr": "Un serveur de messagerie instantané basé sur matrix"
|
||||||
},
|
},
|
||||||
"version": "0.33.0~ynh1",
|
"version": "0.33.1~ynh1",
|
||||||
"url": "http://matrix.org",
|
"url": "http://matrix.org",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -170,10 +170,6 @@ then
|
||||||
|
|
||||||
yunohost firewall allow Both $turnserver_alt_tls_port > /dev/null 2>&1
|
yunohost firewall allow Both $turnserver_alt_tls_port > /dev/null 2>&1
|
||||||
|
|
||||||
# Configure systemd
|
|
||||||
cp ../conf/default_coturn /etc/default/coturn-$app
|
|
||||||
ynh_add_systemd_config coturn-$app coturn-synapse.service
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MAKE A CLEAN LOGROTATE CONFIG
|
# MAKE A CLEAN LOGROTATE CONFIG
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -256,6 +252,17 @@ ynh_store_file_checksum "$coturn_config_path"
|
||||||
cp ../sources/Coturn_config_rotate.sh $final_path/
|
cp ../sources/Coturn_config_rotate.sh $final_path/
|
||||||
ynh_replace_string __APP__ $app "$final_path/Coturn_config_rotate.sh"
|
ynh_replace_string __APP__ $app "$final_path/Coturn_config_rotate.sh"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# UPDATE SYSTEMD
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# Create systemd service for synapse and turnserver
|
||||||
|
cp ../conf/default_matrix-synapse /etc/default/matrix-$app
|
||||||
|
ynh_add_systemd_config matrix-$app matrix-synapse.service
|
||||||
|
|
||||||
|
cp ../conf/default_coturn /etc/default/coturn-$app
|
||||||
|
ynh_add_systemd_config coturn-$app coturn-synapse.service
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue