pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/matrix-synapse chat/matrix-synapse: Update to 1.58.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/a8ed32272d25
branches: trunk
changeset: 380828:a8ed32272d25
user: gdt <gdt%pkgsrc.org@localhost>
date: Thu Jun 16 11:49:08 2022 +0000
description:
chat/matrix-synapse: Update to 1.58.1
Change to wheel/poetry from egg. Port remediation of upstream's
cryptography version demands to new build system.
Upstream no longer installs synmark.
Upstream NEWS, less bugfixes and minor updates:
Synapse 1.58.1 (2022-05-05)
===========================
[Debian packaging bugfix]
Synapse 1.58.0 (2022-05-03)
===========================
As of this release, the groups/communities feature in Synapse is now disabled by default. See [\#11584](https://github.com/matrix-org/synapse/issues/11584) for details. As mentioned in [the upgrade
notes](https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md#upgrading-to-v1580), this feature will be removed in Synapse 1.61.
Synapse 1.58.0rc1 (2022-04-26)
==============================
Features
--------
- Implement [MSC3383](https://github.com/matrix-org/matrix-spec-proposals/pull/3383) for including the destination in server-to-server authentication headers. Contributed by @Bubu and @jcgruenhage
for Famedly. ([\#11398](https://github.com/matrix-org/synapse/issues/11398))
- Docker images and Debian packages from matrix.org now contain a locked set of Python dependencies, greatly improving build reproducibility. ([Board](https://github.com/orgs/matrix-org/projects/54),
[\#11537](https://github.com/matrix-org/synapse/issues/11537))
- Enable processing of device list updates asynchronously. ([\#12365](https://github.com/matrix-org/synapse/issues/12365), [\#12465](https://github.com/matrix-org/synapse/issues/12465))
- Implement [MSC2815](https://github.com/matrix-org/matrix-spec-proposals/pull/2815) to allow room moderators to view redacted event content. Contributed by @tulir @ Beeper.
([\#12427](https://github.com/matrix-org/synapse/issues/12427))
- Build Debian packages for Ubuntu 22.04 "Jammy Jellyfish". ([\#12543](https://github.com/matrix-org/synapse/issues/12543))
Improved Documentation
----------------------
- Strongly recommend [Poetry](https://python-poetry.org/) for development. ([\#12475](https://github.com/matrix-org/synapse/issues/12475))
Deprecations and Removals
-------------------------
- The groups/communities feature in Synapse is now disabled by default. ([\#12344](https://github.com/matrix-org/synapse/issues/12344))
- Remove unstable identifiers from [MSC3440](https://github.com/matrix-org/matrix-doc/pull/3440). ([\#12382](https://github.com/matrix-org/synapse/issues/12382))
diffstat:
chat/matrix-synapse/Makefile | 20 +-
chat/matrix-synapse/PLIST | 547 +---------
chat/matrix-synapse/distinfo | 10 +-
chat/matrix-synapse/patches/patch-pyproject.toml | 17 +
chat/matrix-synapse/patches/patch-synapse_python_dependencies.py | 18 -
5 files changed, 49 insertions(+), 563 deletions(-)
diffs (truncated from 1797 to 300 lines):
diff -r 99742a9c54bd -r a8ed32272d25 chat/matrix-synapse/Makefile
--- a/chat/matrix-synapse/Makefile Thu Jun 16 07:22:44 2022 +0000
+++ b/chat/matrix-synapse/Makefile Thu Jun 16 11:49:08 2022 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2022/06/16 00:29:04 gdt Exp $
+# $NetBSD: Makefile,v 1.51 2022/06/16 11:49:08 gdt Exp $
-DISTNAME= matrix-synapse-1.57.0
+DISTNAME= matrix-synapse-1.58.1
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/}
-EGG_NAME= matrix_synapse-${PKGVERSION_NOREV}
GITHUB_PROJECT= synapse
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -12,6 +11,10 @@
COMMENT= Reference homeserver for the Matrix decentralised comms protocol
LICENSE= apache-2.0
+# Build tools:
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-[0-9]*:../../devel/py-poetry
+
+# Dependencies as defined by synapse's build system (in theory):
DEPENDS+= ${PYPKGPREFIX}-asn1-modules>=0.0.7:../../security/py-asn1-modules
DEPENDS+= ${PYPKGPREFIX}-asn1>=0.1.9:../../security/py-asn1
DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
@@ -52,6 +55,9 @@
USE_PKG_RESOURCES= yes
USE_LANGUAGES= # none
+
+REPLACE_PYTHON+= synapse/_scripts/*.py
+
USE_TOOLS+= perl:run
REPLACE_PERL+= scripts/sync_room_to_group.pl
@@ -88,10 +94,16 @@
BUILD_DEFS+= SYNAPSE_DEFAULT_CREATOR_PL
+post-patch:
+ # Otherwise, this file is installed and pollutes PLIST.
+ rm ${WRKSRC}/synapse/handlers/room.py.orig
+
+# \todo Grok upstream's new test scheme and port to it.
# test status as of 1.51.0
# 51 warnings, 1 error
do-test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} pytest-${PYVERSSUFFIX}
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 99742a9c54bd -r a8ed32272d25 chat/matrix-synapse/PLIST
--- a/chat/matrix-synapse/PLIST Thu Jun 16 07:22:44 2022 +0000
+++ b/chat/matrix-synapse/PLIST Thu Jun 16 11:49:08 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2022/06/16 00:29:04 gdt Exp $
+@comment $NetBSD: PLIST,v 1.26 2022/06/16 11:49:08 gdt Exp $
bin/export_signing_key
bin/generate_config
bin/generate_log_config
@@ -11,807 +11,542 @@
bin/synapse_worker
bin/synctl
bin/update_synapse_database
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/synapse/__init__.py
${PYSITELIB}/synapse/__init__.pyc
-${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
${PYSITELIB}/synapse/api/auth.py
${PYSITELIB}/synapse/api/auth.pyc
-${PYSITELIB}/synapse/api/auth.pyo
${PYSITELIB}/synapse/api/auth_blocking.py
${PYSITELIB}/synapse/api/auth_blocking.pyc
-${PYSITELIB}/synapse/api/auth_blocking.pyo
${PYSITELIB}/synapse/api/constants.py
${PYSITELIB}/synapse/api/constants.pyc
-${PYSITELIB}/synapse/api/constants.pyo
${PYSITELIB}/synapse/api/errors.py
${PYSITELIB}/synapse/api/errors.pyc
-${PYSITELIB}/synapse/api/errors.pyo
${PYSITELIB}/synapse/api/filtering.py
${PYSITELIB}/synapse/api/filtering.pyc
-${PYSITELIB}/synapse/api/filtering.pyo
${PYSITELIB}/synapse/api/presence.py
${PYSITELIB}/synapse/api/presence.pyc
-${PYSITELIB}/synapse/api/presence.pyo
${PYSITELIB}/synapse/api/ratelimiting.py
${PYSITELIB}/synapse/api/ratelimiting.pyc
-${PYSITELIB}/synapse/api/ratelimiting.pyo
${PYSITELIB}/synapse/api/room_versions.py
${PYSITELIB}/synapse/api/room_versions.pyc
-${PYSITELIB}/synapse/api/room_versions.pyo
${PYSITELIB}/synapse/api/urls.py
${PYSITELIB}/synapse/api/urls.pyc
-${PYSITELIB}/synapse/api/urls.pyo
${PYSITELIB}/synapse/app/__init__.py
${PYSITELIB}/synapse/app/__init__.pyc
-${PYSITELIB}/synapse/app/__init__.pyo
${PYSITELIB}/synapse/app/_base.py
${PYSITELIB}/synapse/app/_base.pyc
-${PYSITELIB}/synapse/app/_base.pyo
${PYSITELIB}/synapse/app/admin_cmd.py
${PYSITELIB}/synapse/app/admin_cmd.pyc
-${PYSITELIB}/synapse/app/admin_cmd.pyo
${PYSITELIB}/synapse/app/appservice.py
${PYSITELIB}/synapse/app/appservice.pyc
-${PYSITELIB}/synapse/app/appservice.pyo
${PYSITELIB}/synapse/app/client_reader.py
${PYSITELIB}/synapse/app/client_reader.pyc
-${PYSITELIB}/synapse/app/client_reader.pyo
${PYSITELIB}/synapse/app/event_creator.py
${PYSITELIB}/synapse/app/event_creator.pyc
-${PYSITELIB}/synapse/app/event_creator.pyo
${PYSITELIB}/synapse/app/federation_reader.py
${PYSITELIB}/synapse/app/federation_reader.pyc
-${PYSITELIB}/synapse/app/federation_reader.pyo
${PYSITELIB}/synapse/app/federation_sender.py
${PYSITELIB}/synapse/app/federation_sender.pyc
-${PYSITELIB}/synapse/app/federation_sender.pyo
${PYSITELIB}/synapse/app/frontend_proxy.py
${PYSITELIB}/synapse/app/frontend_proxy.pyc
-${PYSITELIB}/synapse/app/frontend_proxy.pyo
${PYSITELIB}/synapse/app/generic_worker.py
${PYSITELIB}/synapse/app/generic_worker.pyc
-${PYSITELIB}/synapse/app/generic_worker.pyo
${PYSITELIB}/synapse/app/homeserver.py
${PYSITELIB}/synapse/app/homeserver.pyc
-${PYSITELIB}/synapse/app/homeserver.pyo
${PYSITELIB}/synapse/app/media_repository.py
${PYSITELIB}/synapse/app/media_repository.pyc
-${PYSITELIB}/synapse/app/media_repository.pyo
${PYSITELIB}/synapse/app/phone_stats_home.py
${PYSITELIB}/synapse/app/phone_stats_home.pyc
-${PYSITELIB}/synapse/app/phone_stats_home.pyo
${PYSITELIB}/synapse/app/pusher.py
${PYSITELIB}/synapse/app/pusher.pyc
-${PYSITELIB}/synapse/app/pusher.pyo
${PYSITELIB}/synapse/app/synchrotron.py
${PYSITELIB}/synapse/app/synchrotron.pyc
-${PYSITELIB}/synapse/app/synchrotron.pyo
${PYSITELIB}/synapse/app/user_dir.py
${PYSITELIB}/synapse/app/user_dir.pyc
-${PYSITELIB}/synapse/app/user_dir.pyo
${PYSITELIB}/synapse/appservice/__init__.py
${PYSITELIB}/synapse/appservice/__init__.pyc
-${PYSITELIB}/synapse/appservice/__init__.pyo
${PYSITELIB}/synapse/appservice/api.py
${PYSITELIB}/synapse/appservice/api.pyc
-${PYSITELIB}/synapse/appservice/api.pyo
${PYSITELIB}/synapse/appservice/scheduler.py
${PYSITELIB}/synapse/appservice/scheduler.pyc
-${PYSITELIB}/synapse/appservice/scheduler.pyo
${PYSITELIB}/synapse/config/__init__.py
${PYSITELIB}/synapse/config/__init__.pyc
-${PYSITELIB}/synapse/config/__init__.pyo
${PYSITELIB}/synapse/config/__main__.py
${PYSITELIB}/synapse/config/__main__.pyc
-${PYSITELIB}/synapse/config/__main__.pyo
${PYSITELIB}/synapse/config/_base.py
${PYSITELIB}/synapse/config/_base.pyc
${PYSITELIB}/synapse/config/_base.pyi
-${PYSITELIB}/synapse/config/_base.pyo
${PYSITELIB}/synapse/config/_util.py
${PYSITELIB}/synapse/config/_util.pyc
-${PYSITELIB}/synapse/config/_util.pyo
${PYSITELIB}/synapse/config/account_validity.py
${PYSITELIB}/synapse/config/account_validity.pyc
-${PYSITELIB}/synapse/config/account_validity.pyo
${PYSITELIB}/synapse/config/api.py
${PYSITELIB}/synapse/config/api.pyc
-${PYSITELIB}/synapse/config/api.pyo
${PYSITELIB}/synapse/config/appservice.py
${PYSITELIB}/synapse/config/appservice.pyc
-${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
${PYSITELIB}/synapse/config/captcha.py
${PYSITELIB}/synapse/config/captcha.pyc
-${PYSITELIB}/synapse/config/captcha.pyo
${PYSITELIB}/synapse/config/cas.py
${PYSITELIB}/synapse/config/cas.pyc
-${PYSITELIB}/synapse/config/cas.pyo
${PYSITELIB}/synapse/config/consent.py
${PYSITELIB}/synapse/config/consent.pyc
-${PYSITELIB}/synapse/config/consent.pyo
${PYSITELIB}/synapse/config/database.py
${PYSITELIB}/synapse/config/database.pyc
-${PYSITELIB}/synapse/config/database.pyo
${PYSITELIB}/synapse/config/emailconfig.py
${PYSITELIB}/synapse/config/emailconfig.pyc
-${PYSITELIB}/synapse/config/emailconfig.pyo
${PYSITELIB}/synapse/config/experimental.py
${PYSITELIB}/synapse/config/experimental.pyc
-${PYSITELIB}/synapse/config/experimental.pyo
${PYSITELIB}/synapse/config/federation.py
${PYSITELIB}/synapse/config/federation.pyc
-${PYSITELIB}/synapse/config/federation.pyo
${PYSITELIB}/synapse/config/groups.py
${PYSITELIB}/synapse/config/groups.pyc
-${PYSITELIB}/synapse/config/groups.pyo
${PYSITELIB}/synapse/config/homeserver.py
${PYSITELIB}/synapse/config/homeserver.pyc
-${PYSITELIB}/synapse/config/homeserver.pyo
${PYSITELIB}/synapse/config/jwt.py
${PYSITELIB}/synapse/config/jwt.pyc
-${PYSITELIB}/synapse/config/jwt.pyo
${PYSITELIB}/synapse/config/key.py
${PYSITELIB}/synapse/config/key.pyc
-${PYSITELIB}/synapse/config/key.pyo
${PYSITELIB}/synapse/config/logger.py
${PYSITELIB}/synapse/config/logger.pyc
-${PYSITELIB}/synapse/config/logger.pyo
${PYSITELIB}/synapse/config/metrics.py
${PYSITELIB}/synapse/config/metrics.pyc
-${PYSITELIB}/synapse/config/metrics.pyo
${PYSITELIB}/synapse/config/modules.py
${PYSITELIB}/synapse/config/modules.pyc
-${PYSITELIB}/synapse/config/modules.pyo
${PYSITELIB}/synapse/config/oembed.py
${PYSITELIB}/synapse/config/oembed.pyc
-${PYSITELIB}/synapse/config/oembed.pyo
${PYSITELIB}/synapse/config/oidc.py
${PYSITELIB}/synapse/config/oidc.pyc
-${PYSITELIB}/synapse/config/oidc.pyo
${PYSITELIB}/synapse/config/password_auth_providers.py
${PYSITELIB}/synapse/config/password_auth_providers.pyc
-${PYSITELIB}/synapse/config/password_auth_providers.pyo
${PYSITELIB}/synapse/config/push.py
${PYSITELIB}/synapse/config/push.pyc
-${PYSITELIB}/synapse/config/push.pyo
${PYSITELIB}/synapse/config/ratelimiting.py
${PYSITELIB}/synapse/config/ratelimiting.pyc
-${PYSITELIB}/synapse/config/ratelimiting.pyo
${PYSITELIB}/synapse/config/redis.py
${PYSITELIB}/synapse/config/redis.pyc
-${PYSITELIB}/synapse/config/redis.pyo
${PYSITELIB}/synapse/config/registration.py
Home |
Main Index |
Thread Index |
Old Index