diff --git a/chat/matrix-synapse/Makefile b/chat/matrix-synapse/Makefile index 0e2ebe101524..110eb2ef2c25 100644 --- a/chat/matrix-synapse/Makefile +++ b/chat/matrix-synapse/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.46 2022/03/18 12:59:38 gdt Exp $ +# $NetBSD: Makefile,v 1.47 2022/04/17 11:08:33 js Exp $ -DISTNAME= matrix-synapse-1.54.0 +DISTNAME= matrix-synapse-1.56.0 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/} EGG_NAME= matrix_synapse-${PKGVERSION_NOREV} @@ -41,7 +41,7 @@ DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=1.4.4:../../devel/py-sortedcontainers DEPENDS+= ${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3 DEPENDS+= ${PYPKGPREFIX}-treq>=15.1:../../devel/py-treq DEPENDS+= ${PYPKGPREFIX}-twisted>=18.9.0:../../net/py-twisted -DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions +DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0:../../devel/py-typing-extensions DEPENDS+= ${PYPKGPREFIX}-unpaddedbase64>=1.1.0:../../devel/py-unpaddedbase64 DEPENDS+= ${PYPKGPREFIX}-yaml>=3.11:../../textproc/py-yaml TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized diff --git a/chat/matrix-synapse/PLIST b/chat/matrix-synapse/PLIST index a9c09fafdce2..fbc667073df1 100644 --- a/chat/matrix-synapse/PLIST +++ b/chat/matrix-synapse/PLIST @@ -1,16 +1,14 @@ -@comment $NetBSD: PLIST,v 1.23 2022/03/18 12:23:50 gdt Exp $ +@comment $NetBSD: PLIST,v 1.24 2022/04/17 11:08:33 js Exp $ bin/export_signing_key bin/generate_config bin/generate_log_config -bin/generate_signing_key.py +bin/generate_signing_key bin/hash_password -bin/move_remote_media_to_new_store.py bin/register_new_matrix_user bin/synapse_homeserver bin/synapse_port_db bin/synapse_review_recent_signups bin/synapse_worker -bin/sync_room_to_group.pl bin/synctl bin/update_synapse_database ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO @@ -26,12 +24,39 @@ ${PYSITELIB}/synapse/__init__.pyo ${PYSITELIB}/synapse/_scripts/__init__.py ${PYSITELIB}/synapse/_scripts/__init__.pyc ${PYSITELIB}/synapse/_scripts/__init__.pyo +${PYSITELIB}/synapse/_scripts/export_signing_key.py +${PYSITELIB}/synapse/_scripts/export_signing_key.pyc +${PYSITELIB}/synapse/_scripts/export_signing_key.pyo +${PYSITELIB}/synapse/_scripts/generate_config.py +${PYSITELIB}/synapse/_scripts/generate_config.pyc +${PYSITELIB}/synapse/_scripts/generate_config.pyo +${PYSITELIB}/synapse/_scripts/generate_log_config.py +${PYSITELIB}/synapse/_scripts/generate_log_config.pyc +${PYSITELIB}/synapse/_scripts/generate_log_config.pyo +${PYSITELIB}/synapse/_scripts/generate_signing_key.py +${PYSITELIB}/synapse/_scripts/generate_signing_key.pyc +${PYSITELIB}/synapse/_scripts/generate_signing_key.pyo +${PYSITELIB}/synapse/_scripts/hash_password.py +${PYSITELIB}/synapse/_scripts/hash_password.pyc +${PYSITELIB}/synapse/_scripts/hash_password.pyo +${PYSITELIB}/synapse/_scripts/move_remote_media_to_new_store.py +${PYSITELIB}/synapse/_scripts/move_remote_media_to_new_store.pyc +${PYSITELIB}/synapse/_scripts/move_remote_media_to_new_store.pyo ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.py ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.pyc ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.pyo ${PYSITELIB}/synapse/_scripts/review_recent_signups.py ${PYSITELIB}/synapse/_scripts/review_recent_signups.pyc ${PYSITELIB}/synapse/_scripts/review_recent_signups.pyo +${PYSITELIB}/synapse/_scripts/synapse_port_db.py +${PYSITELIB}/synapse/_scripts/synapse_port_db.pyc +${PYSITELIB}/synapse/_scripts/synapse_port_db.pyo +${PYSITELIB}/synapse/_scripts/synctl.py +${PYSITELIB}/synapse/_scripts/synctl.pyc +${PYSITELIB}/synapse/_scripts/synctl.pyo +${PYSITELIB}/synapse/_scripts/update_synapse_database.py +${PYSITELIB}/synapse/_scripts/update_synapse_database.pyc +${PYSITELIB}/synapse/_scripts/update_synapse_database.pyo ${PYSITELIB}/synapse/api/__init__.py ${PYSITELIB}/synapse/api/__init__.pyc ${PYSITELIB}/synapse/api/__init__.pyo @@ -144,6 +169,9 @@ ${PYSITELIB}/synapse/config/appservice.pyo ${PYSITELIB}/synapse/config/auth.py ${PYSITELIB}/synapse/config/auth.pyc ${PYSITELIB}/synapse/config/auth.pyo +${PYSITELIB}/synapse/config/background_updates.py +${PYSITELIB}/synapse/config/background_updates.pyc +${PYSITELIB}/synapse/config/background_updates.pyo ${PYSITELIB}/synapse/config/cache.py ${PYSITELIB}/synapse/config/cache.pyc ${PYSITELIB}/synapse/config/cache.pyo @@ -447,6 +475,9 @@ ${PYSITELIB}/synapse/handlers/receipts.pyo ${PYSITELIB}/synapse/handlers/register.py ${PYSITELIB}/synapse/handlers/register.pyc ${PYSITELIB}/synapse/handlers/register.pyo +${PYSITELIB}/synapse/handlers/relations.py +${PYSITELIB}/synapse/handlers/relations.pyc +${PYSITELIB}/synapse/handlers/relations.pyo ${PYSITELIB}/synapse/handlers/room.py ${PYSITELIB}/synapse/handlers/room.pyc ${PYSITELIB}/synapse/handlers/room.pyo @@ -920,6 +951,9 @@ ${PYSITELIB}/synapse/rest/client/login.pyo ${PYSITELIB}/synapse/rest/client/logout.py ${PYSITELIB}/synapse/rest/client/logout.pyc ${PYSITELIB}/synapse/rest/client/logout.pyo +${PYSITELIB}/synapse/rest/client/mutual_rooms.py +${PYSITELIB}/synapse/rest/client/mutual_rooms.pyc +${PYSITELIB}/synapse/rest/client/mutual_rooms.pyo ${PYSITELIB}/synapse/rest/client/notifications.py ${PYSITELIB}/synapse/rest/client/notifications.pyc ${PYSITELIB}/synapse/rest/client/notifications.pyo @@ -971,9 +1005,6 @@ ${PYSITELIB}/synapse/rest/client/room_upgrade_rest_servlet.pyo ${PYSITELIB}/synapse/rest/client/sendtodevice.py ${PYSITELIB}/synapse/rest/client/sendtodevice.pyc ${PYSITELIB}/synapse/rest/client/sendtodevice.pyo -${PYSITELIB}/synapse/rest/client/shared_rooms.py -${PYSITELIB}/synapse/rest/client/shared_rooms.pyc -${PYSITELIB}/synapse/rest/client/shared_rooms.pyo ${PYSITELIB}/synapse/rest/client/sync.py ${PYSITELIB}/synapse/rest/client/sync.pyc ${PYSITELIB}/synapse/rest/client/sync.pyo diff --git a/chat/matrix-synapse/distinfo b/chat/matrix-synapse/distinfo index 6af6a6521a30..8587b2b720d2 100644 --- a/chat/matrix-synapse/distinfo +++ b/chat/matrix-synapse/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.33 2022/03/18 12:23:50 gdt Exp $ +$NetBSD: distinfo,v 1.34 2022/04/17 11:08:33 js Exp $ -BLAKE2s (matrix-synapse-1.54.0.tar.gz) = 3c389cff3eccf8c9b665b5c89fc5a9ff08e81d6bf73fc903f311dc4cd67cefd0 -SHA512 (matrix-synapse-1.54.0.tar.gz) = 2adfc410f3a27010c319e00d323253bc355cd14588fc97199b6d6f579d3c98bd3465f29c3b504bad4cc18bddf73e628bf0cc4c8ea2169781a1a6e0347cdb007b -Size (matrix-synapse-1.54.0.tar.gz) = 7724389 bytes +BLAKE2s (matrix-synapse-1.56.0.tar.gz) = 869a3d920b2bf8ebdd715747544ac3136d7b1e205183a0c0804f514e101b8bb9 +SHA512 (matrix-synapse-1.56.0.tar.gz) = da8233008adc92bbb5975a110e2825c8add5a38db3c21a378f9f1a7b4bf826fc13b6230e69c2b9d400e33d276d5fd781e176623bdf4d44a1e768211e2013e5f1 +Size (matrix-synapse-1.56.0.tar.gz) = 7750479 bytes SHA1 (patch-synapse_handlers_room.py) = f9a62add7171898ec0ea76360f0a4c9969609537 -SHA1 (patch-synapse_python_dependencies.py) = b9284becddaf216ce0a471e87baebd93703d6058 +SHA1 (patch-synapse_python_dependencies.py) = eb159e1a92527cd231f7eb9685877d8f4a419848 diff --git a/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py index ec63aaa0d44b..a6a116ba26bb 100644 --- a/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py +++ b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py @@ -1,15 +1,15 @@ -$NetBSD: patch-synapse_python_dependencies.py,v 1.7 2022/03/18 12:23:50 gdt Exp $ +$NetBSD: patch-synapse_python_dependencies.py,v 1.8 2022/04/17 11:08:33 js Exp $ Patch out cryptography check: It doesn't need a version this high and it was added by upstream as an ugly hack to force a patched OpenSSL, in case it is linked statically. ---- synapse/python_dependencies.py.orig 2022-03-08 14:01:19.000000000 +0000 +--- synapse/python_dependencies.py.orig 2022-04-05 11:55:15.000000000 +0000 +++ synapse/python_dependencies.py -@@ -77,9 +77,6 @@ REQUIREMENTS = [ - "Jinja2>=2.9", +@@ -81,9 +81,6 @@ REQUIREMENTS = [ "bleach>=1.4.3", - "typing-extensions>=3.7.4", + # We use `ParamSpec`, which was added in `typing-extensions` 3.10.0.0. + "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",