From 622f8609f702ff230866c299c57e0efb042c4e24 Mon Sep 17 00:00:00 2001 From: Gredin67 <35761345+Gredin67@users.noreply.github.com> Date: Mon, 28 Sep 2020 22:27:12 +0200 Subject: [PATCH 1/5] Update update_synapse_for_appservice.sh --- sources/update_synapse_for_appservice.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/update_synapse_for_appservice.sh b/sources/update_synapse_for_appservice.sh index fef9ed8..581d333 100644 --- a/sources/update_synapse_for_appservice.sh +++ b/sources/update_synapse_for_appservice.sh @@ -12,7 +12,7 @@ for f in $(ls /etc/matrix-$app/app-service/); do done # Set permissions -chown matrix-$app $service_config_file +chown -R /etc/matrix-$app --reference=$service_config_file chmod 600 $service_config_file systemctl restart matrix-$app From 9c706742d3e0c5d576128b3a7e4020fea9cdcb83 Mon Sep 17 00:00:00 2001 From: Gredin67 <35761345+Gredin67@users.noreply.github.com> Date: Mon, 28 Sep 2020 23:43:21 +0200 Subject: [PATCH 2/5] Update update_synapse_for_appservice.sh --- sources/update_synapse_for_appservice.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/update_synapse_for_appservice.sh b/sources/update_synapse_for_appservice.sh index 581d333..7930b88 100644 --- a/sources/update_synapse_for_appservice.sh +++ b/sources/update_synapse_for_appservice.sh @@ -12,7 +12,7 @@ for f in $(ls /etc/matrix-$app/app-service/); do done # Set permissions -chown -R /etc/matrix-$app --reference=$service_config_file +chown --reference=$service_config_file -R /etc/matrix-$app chmod 600 $service_config_file systemctl restart matrix-$app @@ -22,5 +22,5 @@ if [ $? -eq 0 ]; then exit 0 else echo "Failed to restart synapse with the new config file. Restore the old config file !!" - cp /tmp/app_service_backup.yaml $service_config_file + mv /tmp/app_service_backup.yaml $service_config_file fi From 9b75cf0b2858c919a2cb7508bf94ad6982a4be51 Mon Sep 17 00:00:00 2001 From: Gredin67 <35761345+Gredin67@users.noreply.github.com> Date: Thu, 1 Oct 2020 00:29:01 +0200 Subject: [PATCH 3/5] Update update_synapse_for_appservice.sh --- sources/update_synapse_for_appservice.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/update_synapse_for_appservice.sh b/sources/update_synapse_for_appservice.sh index 7930b88..50097ee 100644 --- a/sources/update_synapse_for_appservice.sh +++ b/sources/update_synapse_for_appservice.sh @@ -9,6 +9,7 @@ cp $service_config_file /tmp/app_service_backup.yaml echo "app_service_config_files:" > $service_config_file for f in $(ls /etc/matrix-$app/app-service/); do echo " - /etc/matrix-$app/app-service/$f" >> $service_config_file + chmod 600 /etc/matrix-$app/app-service/$f done # Set permissions From 5af6b1556d0ec45a69d7f50dcff6a431bb9f8a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 27 Oct 2020 23:49:38 +0000 Subject: [PATCH 4/5] Upgrade synapse to 1.22.0 --- README.md | 2 +- conf/armv7_buster.src | 4 ++-- conf/armv7_stretch.src | 4 ++-- manifest.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4764b92..c65bfd6 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,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) -**Shipped version:** 1.21.2 +**Shipped version:** 1.22.0 ## Configuration diff --git a/conf/armv7_buster.src b/conf/armv7_buster.src index ed57d4d..26e2d90 100644 --- a/conf/armv7_buster.src +++ b/conf/armv7_buster.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.21.2/matrix-synapse_1.21.2-buster-bin1_armv7l.tar.gz -SOURCE_SUM=615f68b81455b8c8a698c8176472031aa16ea220710099a504d593ca2e62d518 +SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.22.0/matrix-synapse_1.22.0-buster-bin1_armv7l.tar.gz +SOURCE_SUM=5df9883c4994a45f208d28f28dba713b256fc45a7673d4f81d16b13a8f97fd00 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/conf/armv7_stretch.src b/conf/armv7_stretch.src index c007363..d22438c 100644 --- a/conf/armv7_stretch.src +++ b/conf/armv7_stretch.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.21.2/matrix-synapse_1.21.2-stretch-bin1_armv7l.tar.gz -SOURCE_SUM=c007b801979b40b0dfebfd0ccc268b5bb11b00623a4e7d1f669356cb44a5adfe +SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.22.0/matrix-synapse_1.22.0-stretch-bin1_armv7l.tar.gz +SOURCE_SUM=ab91e80f6916414124df5b648fcc733730493a8f749891edfe920cbc65459427 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/manifest.json b/manifest.json index de17306..a9881ca 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Instant messaging server which uses Matrix", "fr": "Un serveur de messagerie instantané basé sur Matrix" }, - "version": "1.21.2~ynh1", + "version": "1.22.0~ynh1", "url": "http://matrix.org", "license": "Apache-2.0", "maintainer": { From 7220a2cf34f78106dfd3195de47923c62729e878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 30 Oct 2020 23:42:22 +0000 Subject: [PATCH 5/5] Upgrade synapse to 1.22.1 --- README.md | 2 +- conf/armv7_buster.src | 4 ++-- conf/armv7_stretch.src | 4 ++-- manifest.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c65bfd6..2bf9528 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,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) -**Shipped version:** 1.22.0 +**Shipped version:** 1.22.1 ## Configuration diff --git a/conf/armv7_buster.src b/conf/armv7_buster.src index 26e2d90..5ca9fb6 100644 --- a/conf/armv7_buster.src +++ b/conf/armv7_buster.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.22.0/matrix-synapse_1.22.0-buster-bin1_armv7l.tar.gz -SOURCE_SUM=5df9883c4994a45f208d28f28dba713b256fc45a7673d4f81d16b13a8f97fd00 +SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.22.1/matrix-synapse_1.22.1-buster-bin1_armv7l.tar.gz +SOURCE_SUM=21a6c38dc0adf0f50b568536a9e116f34696ae7e36c3f2b5f1093962444a4bb8 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/conf/armv7_stretch.src b/conf/armv7_stretch.src index d22438c..37f5e91 100644 --- a/conf/armv7_stretch.src +++ b/conf/armv7_stretch.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.22.0/matrix-synapse_1.22.0-stretch-bin1_armv7l.tar.gz -SOURCE_SUM=ab91e80f6916414124df5b648fcc733730493a8f749891edfe920cbc65459427 +SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.22.1/matrix-synapse_1.22.1-stretch-bin1_armv7l.tar.gz +SOURCE_SUM=8a3209322576811dd6ae9f0e1117977eddbf9f0e6eafc6a12de11326c31a86b9 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/manifest.json b/manifest.json index a9881ca..d4a3915 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Instant messaging server which uses Matrix", "fr": "Un serveur de messagerie instantané basé sur Matrix" }, - "version": "1.22.0~ynh1", + "version": "1.22.1~ynh1", "url": "http://matrix.org", "license": "Apache-2.0", "maintainer": {