net-im/py-matrix-synapse: Update to 1.56.0

- Mention important changes related to the upgrade to UPDATING
- Update the dependency constraints

Co-authored-by:	Sascha Biberhofer <ports at skyforge dot at>
PR:		263193
Approved by:	Sascha Biberhofer <ports at skyforge dot at> (maintainer)
This commit is contained in:
Ashish SHUKLA 2022-04-10 11:45:30 +00:00
parent e26af9cd58
commit 76ad2b55b7
No known key found for this signature in database
GPG Key ID: C746CFA9E74FA4B0
5 changed files with 55 additions and 7 deletions

View File

@ -5,6 +5,28 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20220413:
AFFECTS: users of net-im/py-matrix-synapse
AUTHOR: ports@skyforge.at
Synapse will now refuse to start up if open registration is enabled,
in order to help mitigate abuse across the federation. If you would
like to provide registration to anyone, consider adding email,
recaptcha or token-based verification in order to prevent automated
registration from bad actors. This check can be disabled by setting
the enable_registration_without_verification option in your
homeserver configuration file to true. More details are available in
the upgrade notes[0].
Synapse will additionally now refuse to start when using PostgreSQL
with a non-C values for COLLATE and CTYPE, unless the config flag
allow_unsafe_locale, found in the database section of the
configuration file, is set to true. See the upgrade notes[1] for
details.
[0] https://matrix-org.github.io/synapse/v1.56/upgrade.html#open-registration-without-verification-is-now-disabled-by-default
[1] https://matrix-org.github.io/synapse/v1.56/upgrade#change-in-behaviour-for-postgresql-databases-with-unsafe-locale
20220410:
AFFECTS: users of sysutils/screen
AUTHOR: cy@FreeBSD.org

View File

@ -2,7 +2,7 @@
PORTNAME= matrix-synapse
DISTVERSIONPREFIX= v
DISTVERSION= 1.55.2
DISTVERSION= 1.56.0
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -37,7 +37,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0:devel/py-jsonschema@${PY_F
${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.4.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}attrs>19.2.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2<3.1.0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bleach>=1.4.3:www/py-bleach@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ijson>=3.1.4:devel/py-ijson@${PY_FLAVOR} \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1648214024
SHA256 (matrix-org-synapse-v1.55.2_GH0.tar.gz) = 8e06cb264d1631d2518f2f726c89d62c5ed7148b73fbb8190a9c120d3166e7c4
SIZE (matrix-org-synapse-v1.55.2_GH0.tar.gz) = 7739760
TIMESTAMP = 1649590803
SHA256 (matrix-org-synapse-v1.56.0_GH0.tar.gz) = 7afda1fefa2af42966fdffa1f3ab6643674a738ad722e76bf94b873b8845c373
SIZE (matrix-org-synapse-v1.56.0_GH0.tar.gz) = 7750479

View File

@ -1,6 +1,15 @@
--- synapse/python_dependencies.py.orig 2022-03-24 17:18:43 UTC
--- synapse/python_dependencies.py.orig 2022-04-12 08:11:46 UTC
+++ synapse/python_dependencies.py
@@ -80,7 +80,7 @@ REQUIREMENTS = [
@@ -48,7 +48,7 @@ REQUIREMENTS = [
"unpaddedbase64>=1.1.0",
"canonicaljson>=1.4.0",
# we use the type definitions added in signedjson 1.1.
- "signedjson>=1.1.0,<=1.1.1",
+ "signedjson>=1.1.0",
"pynacl>=1.2.1",
"idna>=2.5",
# validating SSL certs for IP addresses requires service_identity 18.1.
@@ -83,7 +83,7 @@ REQUIREMENTS = [
"typing-extensions>=3.10.0",
# We enforce that we have a `cryptography` version that bundles an `openssl`
# with the latest security patches.

View File

@ -56,4 +56,21 @@ If you're currently using synapse with sqlite and would like to switch to postgr
please read the instructions at %%DOCSDIR%%/postgres.md
EOM
}
{ type: upgrade
maximum_version: 1.55.2
message: <<EOM
Synapse will now refuse to start up if open registration is enabled, in order to help
mitigate abuse across the federation. If you would like to provide registration to
anyone, consider adding email, recaptcha or token-based verification in order to
prevent automated registration from bad actors. This check can be disabled by setting
the enable_registration_without_verification option in your homeserver configuration
file to true. More details are available in the upgrade notes[0].
Synapse will additionally now refuse to start when using PostgreSQL with a non-C values
for COLLATE and CTYPE, unless the config flag allow_unsafe_locale, found in the database
section of the configuration file, is set to true. See the upgrade notes[1] for details.
[0] https://matrix-org.github.io/synapse/v1.56/upgrade.html#open-registration-without-verification-is-now-disabled-by-default
[1] https://matrix-org.github.io/synapse/v1.56/upgrade#change-in-behaviour-for-postgresql-databases-with-unsafe-locale
EOM
]