View | Details | Raw Unified | Return to bug 263193 | Differences between
and this patch

Collapse All | Expand All

(-)b/UPDATING (+22 lines)
Lines 5-10 they are unavoidable. Link Here
5
You should get into the habit of checking this file for changes each time
5
You should get into the habit of checking this file for changes each time
6
you update your ports collection, before attempting any port upgrades.
6
you update your ports collection, before attempting any port upgrades.
7
7
8
20220413:
9
  AFFECTS: users of net-im/py-matrix-synapse
10
  AUTHOR: ports@skyforge.at
11
12
  Synapse will now refuse to start up if open registration is enabled,
13
  in order to help mitigate abuse across the federation. If you would
14
  like to provide registration to anyone, consider adding email,
15
  recaptcha or token-based verification in order to prevent automated
16
  registration from bad actors. This check can be disabled by setting
17
  the enable_registration_without_verification option in your
18
  homeserver configuration file to true. More details are available in
19
  the upgrade notes[0].
20
21
  Synapse will additionally now refuse to start when using PostgreSQL
22
  with a non-C values for COLLATE and CTYPE, unless the config flag
23
  allow_unsafe_locale, found in the database section of the
24
  configuration file, is set to true. See the upgrade notes[1] for
25
  details.
26
27
  [0] https://matrix-org.github.io/synapse/v1.56/upgrade.html#open-registration-without-verification-is-now-disabled-by-default
28
  [1] https://matrix-org.github.io/synapse/v1.56/upgrade#change-in-behaviour-for-postgresql-databases-with-unsafe-locale
29
8
20220410:
30
20220410:
9
  AFFECTS: users of sysutils/screen
31
  AFFECTS: users of sysutils/screen
10
  AUTHOR: cy@FreeBSD.org
32
  AUTHOR: cy@FreeBSD.org
(-)b/net-im/py-matrix-synapse/Makefile (-2 / +2 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	matrix-synapse
3
PORTNAME=	matrix-synapse
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	1.55.2
5
DISTVERSION=	1.56.0
6
CATEGORIES=	net-im python
6
CATEGORIES=	net-im python
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
8
Lines 37-43 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0:devel/py-jsonschema@${PY_F Link Here
37
		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.4.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \
37
		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.4.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \
38
		${PYTHON_PKGNAMEPREFIX}attrs>19.2.0:devel/py-attrs@${PY_FLAVOR} \
38
		${PYTHON_PKGNAMEPREFIX}attrs>19.2.0:devel/py-attrs@${PY_FLAVOR} \
39
		${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \
39
		${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \
40
		${PYTHON_PKGNAMEPREFIX}Jinja2<3.1.0:devel/py-Jinja2@${PY_FLAVOR} \
40
		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \
41
		${PYTHON_PKGNAMEPREFIX}bleach>=1.4.3:www/py-bleach@${PY_FLAVOR} \
41
		${PYTHON_PKGNAMEPREFIX}bleach>=1.4.3:www/py-bleach@${PY_FLAVOR} \
42
		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} \
42
		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} \
43
		${PYTHON_PKGNAMEPREFIX}ijson>=3.1.4:devel/py-ijson@${PY_FLAVOR} \
43
		${PYTHON_PKGNAMEPREFIX}ijson>=3.1.4:devel/py-ijson@${PY_FLAVOR} \
(-)b/net-im/py-matrix-synapse/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1648214024
1
TIMESTAMP = 1649590803
2
SHA256 (matrix-org-synapse-v1.55.2_GH0.tar.gz) = 8e06cb264d1631d2518f2f726c89d62c5ed7148b73fbb8190a9c120d3166e7c4
2
SHA256 (matrix-org-synapse-v1.56.0_GH0.tar.gz) = 7afda1fefa2af42966fdffa1f3ab6643674a738ad722e76bf94b873b8845c373
3
SIZE (matrix-org-synapse-v1.55.2_GH0.tar.gz) = 7739760
3
SIZE (matrix-org-synapse-v1.56.0_GH0.tar.gz) = 7750479
(-)b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py (-2 / +11 lines)
Lines 1-6 Link Here
1
--- synapse/python_dependencies.py.orig	2022-03-24 17:18:43 UTC
1
--- synapse/python_dependencies.py.orig	2022-04-12 08:11:46 UTC
2
+++ synapse/python_dependencies.py
2
+++ synapse/python_dependencies.py
3
@@ -80,7 +80,7 @@ REQUIREMENTS = [
3
@@ -48,7 +48,7 @@ REQUIREMENTS = [
4
     "unpaddedbase64>=1.1.0",
5
     "canonicaljson>=1.4.0",
6
     # we use the type definitions added in signedjson 1.1.
7
-    "signedjson>=1.1.0,<=1.1.1",
8
+    "signedjson>=1.1.0",
9
     "pynacl>=1.2.1",
10
     "idna>=2.5",
11
     # validating SSL certs for IP addresses requires service_identity 18.1.
12
@@ -83,7 +83,7 @@ REQUIREMENTS = [
4
     "typing-extensions>=3.10.0",
13
     "typing-extensions>=3.10.0",
5
     # We enforce that we have a `cryptography` version that bundles an `openssl`
14
     # We enforce that we have a `cryptography` version that bundles an `openssl`
6
     # with the latest security patches.
15
     # with the latest security patches.
(-)b/net-im/py-matrix-synapse/files/pkg-message.in (-1 / +17 lines)
Lines 56-59 If you're currently using synapse with sqlite and would like to switch to postgr Link Here
56
please read the instructions at %%DOCSDIR%%/postgres.md
56
please read the instructions at %%DOCSDIR%%/postgres.md
57
EOM
57
EOM
58
}
58
}
59
{ type: upgrade
60
  maximum_version: 1.55.2
61
  message: <<EOM
62
Synapse will now refuse to start up if open registration is enabled, in order to help
63
mitigate abuse across the federation. If you would like to provide registration to
64
anyone, consider adding email, recaptcha or token-based verification in order to
65
prevent automated registration from bad actors. This check can be disabled by setting
66
the enable_registration_without_verification option in your homeserver configuration
67
file to true. More details are available in the upgrade notes[0].
68
69
Synapse will additionally now refuse to start when using PostgreSQL with a non-C values
70
for COLLATE and CTYPE, unless the config flag allow_unsafe_locale, found in the database
71
section of the configuration file, is set to true. See the upgrade notes[1] for details.
72
73
[0] https://matrix-org.github.io/synapse/v1.56/upgrade.html#open-registration-without-verification-is-now-disabled-by-default
74
[1] https://matrix-org.github.io/synapse/v1.56/upgrade#change-in-behaviour-for-postgresql-databases-with-unsafe-locale
75
EOM
59
]
76
]
60
- 

Return to bug 263193