From 7108f3fdfcda953087c7aa0e3ce13f5c35a0d14b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 2 Apr 2018 02:50:57 +0000 Subject: [PATCH] Upgrade synapse to 0.27.2 --- README.md | 2 +- conf/armv7.src | 4 ++-- conf/python_source.src | 4 ++-- manifest.json | 2 +- scripts/upgrade | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 183b27a..cde3dc0 100644 --- a/README.md +++ b/README.md @@ -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) -**Shipped version:** 0.26.1 +**Shipped version:** 0.27.2 Configuration ------------- diff --git a/conf/armv7.src b/conf/armv7.src index eb9790a..a58496f 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/v0.26.1/matrix-synapse_0.26.1-bin1_armv7l.tar.gz -SOURCE_SUM=ca5e2dfed4f5658696d0d061951b6351efdc94625a8d615beba26d0b37f4a030 +SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/v0.27.2/matrix-synapse_0.27.2-bin1_armv7l.tar.gz +SOURCE_SUM=4dfba2316986ad0e3df7d3a14c79006d3f2dc48ef062fc14bb1614f4af99a2fb # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/conf/python_source.src b/conf/python_source.src index 0116c62..f119177 100644 --- a/conf/python_source.src +++ b/conf/python_source.src @@ -1,2 +1,2 @@ -SOURCE_URL=https://github.com/matrix-org/synapse/archive/v0.26.1.tar.gz -SOURCE_SUM=52cf9322e6cc4d4b8a745a3acb369fe828f471ab3de674e8f636c9d2abeaf5da +SOURCE_URL=https://github.com/matrix-org/synapse/archive/v0.27.2.tar.gz +SOURCE_SUM=01080b19f66779335eb68d203c34a4caf681d3c3ed66a1ebd923dcd0833effa2 diff --git a/manifest.json b/manifest.json index 99b0cfd..a5da53a 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "en": "Instant messaging server who use matrix", "fr": "Un serveur de messagerie instantané basé sur matrix" }, - "version": "0.26.1~ynh1", + "version": "0.27.2~ynh1", "url": "http://matrix.org", "license": "Apache-2.0", "maintainer": { diff --git a/scripts/upgrade b/scripts/upgrade index 1fed1d7..68b9797 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,7 +48,7 @@ cli_port=$(ynh_app_setting_get $app cli_port) #================================================= # To be sure that the migration is sucessfull we check that the old synapse version is compatible with the synapse_port_db script. -if [[ -z $synapse_old_version ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.25") != 1 ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.26") != 1 ]] +if [[ -z $synapse_old_version ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.27") != 1 ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.26") != 1 ]] then ynh_die "Update from this synapse version is not available now. You need to wait for the next update." fi