aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Biberhofer <ports@skyforge.at>2022-03-24 19:23:56 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2022-03-26 15:44:25 +0000
commitac83da8f0f647fdcfd6c5d8abf01fe09a7ed28fb (patch)
tree5be2f1d33b44d585b44923bbbf19593cf80d39d2
parent6c811cf2e9d5e5a498c4056c04fd7dda3427d714 (diff)
downloadports-ac83da8f0f647fdcfd6c5d8abf01fe09a7ed28fb.tar.gz
ports-ac83da8f0f647fdcfd6c5d8abf01fe09a7ed28fb.zip
net-im/py-matrix-synapse: Update to 1.55.2
-rw-r--r--net-im/py-matrix-synapse/Makefile9
-rw-r--r--net-im/py-matrix-synapse/distinfo6
-rw-r--r--net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py10
-rw-r--r--net-im/py-matrix-synapse/files/pkg-message.in11
4 files changed, 24 insertions, 12 deletions
diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index 12b3aaac05a1..12cf37a11a43 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -2,7 +2,7 @@
PORTNAME= matrix-synapse
DISTVERSIONPREFIX= v
-DISTVERSION= 1.53.0
+DISTVERSION= 1.55.2
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -37,11 +37,12 @@ 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>=2.9:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2<3.1.0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bleach>=1.4.3:www/py-bleach@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4:devel/py-typing-extensions@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}ijson>=3.1:devel/py-ijson@${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} \
${PYTHON_PKGNAMEPREFIX}pyjwt>=1.7.0:www/py-pyjwt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=16.1:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matrix-common>=1.1.0:devel/py-matrix-common@${PY_FLAVOR} \
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
diff --git a/net-im/py-matrix-synapse/distinfo b/net-im/py-matrix-synapse/distinfo
index c8613b3ff465..4892f2cafbfa 100644
--- a/net-im/py-matrix-synapse/distinfo
+++ b/net-im/py-matrix-synapse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645551924
-SHA256 (matrix-org-synapse-v1.53.0_GH0.tar.gz) = e9fb5c8d1178996e677f6ce8f44c11d9294da0a06297fffa34706879870f9bf4
-SIZE (matrix-org-synapse-v1.53.0_GH0.tar.gz) = 7696244
+TIMESTAMP = 1648214024
+SHA256 (matrix-org-synapse-v1.55.2_GH0.tar.gz) = 8e06cb264d1631d2518f2f726c89d62c5ed7148b73fbb8190a9c120d3166e7c4
+SIZE (matrix-org-synapse-v1.55.2_GH0.tar.gz) = 7739760
diff --git a/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py
index 342f69ef66bf..f6d0e485233d 100644
--- a/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py
+++ b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py
@@ -1,11 +1,11 @@
---- synapse/python_dependencies.py.orig 2022-02-22 11:32:11 UTC
+--- synapse/python_dependencies.py.orig 2022-03-24 17:18:43 UTC
+++ synapse/python_dependencies.py
-@@ -86,7 +87,7 @@ REQUIREMENTS = [
- "typing-extensions>=3.7.4",
+@@ -80,7 +80,7 @@ REQUIREMENTS = [
+ "typing-extensions>=3.10.0",
# We enforce that we have a `cryptography` version that bundles an `openssl`
# with the latest security patches.
- "cryptography>=3.4.7",
+ "cryptography",
- "ijson>=3.1",
+ # ijson 3.1.4 fixes a bug with "." in property names
+ "ijson>=3.1.4",
"matrix-common~=1.1.0",
- ]
diff --git a/net-im/py-matrix-synapse/files/pkg-message.in b/net-im/py-matrix-synapse/files/pkg-message.in
index 9bf3ac75d6c2..5280b1c46a37 100644
--- a/net-im/py-matrix-synapse/files/pkg-message.in
+++ b/net-im/py-matrix-synapse/files/pkg-message.in
@@ -33,6 +33,17 @@ details on this issue.
EOM
}
+{ type: upgrade
+ maximum_version: 1.55.0
+ message: <<EOM
+The default room version of synapse has been increased to version 9. Consider
+changing this if interoperability with other matrix servers is an issue.
+
+If you're using Mjolnir, be advised that this version of synapse is
+incompatible with Mjolnir 1.3.1 and earlier.
+
+EOM
+}
{
message: <<EOM
Running synapse with the sqlite backend is only recommended for testing purposes.