diff options
author | gdt <gdt@pkgsrc.org> | 2022-03-18 12:23:50 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2022-03-18 12:23:50 +0000 |
commit | 425fe117fc47b6630c9ea9218d7f6964830e6776 (patch) | |
tree | 650625e3ad1d3977cbf36f5007b19c5a7f9731c8 /chat | |
parent | 617371372d7add00da86b00bf6634290477a9e6b (diff) | |
download | pkgsrc-425fe117fc47b6630c9ea9218d7f6964830e6776.tar.gz |
===========================================================================
$NetBSD: MESSAGE,v 1.2 2021/04/15 15:54:00 jperkin Exp $
To generate a Synapse configuration, run:
cd ${SYNAPSE_DATA} &&
${PYTHONBIN} -m synapse.app.homeserver \
--server-name my.domain.name \
--config-path ${PKG_SYSCONFDIR}/homeserver.yaml \
--config-directory ${PKG_SYSCONFDIR} \
--generate-config \
--report-stats=no
If you want to use Synapse with SQLite3 on NetBSD, you need to add
PREFER_PKGSRC+= sqlite3 to mk.conf and rebuild databases/py-sqlite3.
===========================================================================
Diffstat (limited to 'chat')
-rw-r--r-- | chat/matrix-synapse/Makefile | 5 | ||||
-rw-r--r-- | chat/matrix-synapse/PLIST | 17 | ||||
-rw-r--r-- | chat/matrix-synapse/distinfo | 10 | ||||
-rw-r--r-- | chat/matrix-synapse/patches/patch-synapse_python_dependencies.py | 10 |
4 files changed, 25 insertions, 17 deletions
diff --git a/chat/matrix-synapse/Makefile b/chat/matrix-synapse/Makefile index 0fceb1526f2..ce67bda1482 100644 --- a/chat/matrix-synapse/Makefile +++ b/chat/matrix-synapse/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.44 2022/02/25 16:37:22 js Exp $ +# $NetBSD: Makefile,v 1.45 2022/03/18 12:23:50 gdt Exp $ -DISTNAME= matrix-synapse-1.53.0 -PKGREVISION= 1 +DISTNAME= matrix-synapse-1.54.0 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/} EGG_NAME= matrix_synapse-${PKGVERSION_NOREV} diff --git a/chat/matrix-synapse/PLIST b/chat/matrix-synapse/PLIST index a085528ffba..a9c09fafdce 100644 --- a/chat/matrix-synapse/PLIST +++ b/chat/matrix-synapse/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.22 2022/02/25 16:18:36 js Exp $ +@comment $NetBSD: PLIST,v 1.23 2022/03/18 12:23:50 gdt Exp $ bin/export_signing_key bin/generate_config bin/generate_log_config @@ -360,6 +360,9 @@ ${PYSITELIB}/synapse/groups/groups_server.pyo ${PYSITELIB}/synapse/handlers/__init__.py ${PYSITELIB}/synapse/handlers/__init__.pyc ${PYSITELIB}/synapse/handlers/__init__.pyo +${PYSITELIB}/synapse/handlers/account.py +${PYSITELIB}/synapse/handlers/account.pyc +${PYSITELIB}/synapse/handlers/account.pyo ${PYSITELIB}/synapse/handlers/account_data.py ${PYSITELIB}/synapse/handlers/account_data.pyc ${PYSITELIB}/synapse/handlers/account_data.pyo @@ -546,9 +549,6 @@ ${PYSITELIB}/synapse/logging/__init__.pyo ${PYSITELIB}/synapse/logging/_remote.py ${PYSITELIB}/synapse/logging/_remote.pyc ${PYSITELIB}/synapse/logging/_remote.pyo -${PYSITELIB}/synapse/logging/_structured.py -${PYSITELIB}/synapse/logging/_structured.pyc -${PYSITELIB}/synapse/logging/_structured.pyo ${PYSITELIB}/synapse/logging/_terse_json.py ${PYSITELIB}/synapse/logging/_terse_json.pyc ${PYSITELIB}/synapse/logging/_terse_json.pyo @@ -1678,6 +1678,12 @@ ${PYSITELIB}/synapse/storage/schema/main/delta/67/01drop_public_room_list_stream ${PYSITELIB}/synapse/storage/schema/main/delta/68/01event_columns.sql ${PYSITELIB}/synapse/storage/schema/main/delta/68/02_msc2409_add_device_id_appservice_stream_type.sql ${PYSITELIB}/synapse/storage/schema/main/delta/68/03_delete_account_data_for_deactivated_accounts.sql +${PYSITELIB}/synapse/storage/schema/main/delta/68/04_refresh_tokens_index_next_token_id.sql +${PYSITELIB}/synapse/storage/schema/main/delta/68/04partial_state_rooms.sql +${PYSITELIB}/synapse/storage/schema/main/delta/68/05_delete_non_strings_from_event_search.sql.sqlite +${PYSITELIB}/synapse/storage/schema/main/delta/68/05partial_state_rooms_triggers.py +${PYSITELIB}/synapse/storage/schema/main/delta/68/05partial_state_rooms_triggers.pyc +${PYSITELIB}/synapse/storage/schema/main/delta/68/05partial_state_rooms_triggers.pyo ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/application_services.sql ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/event_edges.sql ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/event_signatures.sql @@ -1777,6 +1783,9 @@ ${PYSITELIB}/synapse/util/caches/treecache.pyo ${PYSITELIB}/synapse/util/caches/ttlcache.py ${PYSITELIB}/synapse/util/caches/ttlcache.pyc ${PYSITELIB}/synapse/util/caches/ttlcache.pyo +${PYSITELIB}/synapse/util/check_dependencies.py +${PYSITELIB}/synapse/util/check_dependencies.pyc +${PYSITELIB}/synapse/util/check_dependencies.pyo ${PYSITELIB}/synapse/util/daemonize.py ${PYSITELIB}/synapse/util/daemonize.pyc ${PYSITELIB}/synapse/util/daemonize.pyo diff --git a/chat/matrix-synapse/distinfo b/chat/matrix-synapse/distinfo index 1f7c83bafb1..6af6a6521a3 100644 --- a/chat/matrix-synapse/distinfo +++ b/chat/matrix-synapse/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.32 2022/02/25 16:18:36 js Exp $ +$NetBSD: distinfo,v 1.33 2022/03/18 12:23:50 gdt Exp $ -BLAKE2s (matrix-synapse-1.53.0.tar.gz) = 9c6942a9de01469c46629e96a77443ddbec20bda43281397b22631afa8274cdc -SHA512 (matrix-synapse-1.53.0.tar.gz) = a6ab6219f8ab3da37968e7480e59677fe640b4b2741bdfc75e407fd11deeed47a36efa7bb3c04ae1022fb07ad401763b7d747860d127cfb785a79433dfbcc4b7 -Size (matrix-synapse-1.53.0.tar.gz) = 7696244 bytes +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 SHA1 (patch-synapse_handlers_room.py) = f9a62add7171898ec0ea76360f0a4c9969609537 -SHA1 (patch-synapse_python_dependencies.py) = f6f12aa43f8739d83a9b31e169eb97b47f4a2cc5 +SHA1 (patch-synapse_python_dependencies.py) = b9284becddaf216ce0a471e87baebd93703d6058 diff --git a/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py index 4fd3dfef093..ec63aaa0d44 100644 --- a/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py +++ b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py @@ -1,18 +1,18 @@ -$NetBSD: patch-synapse_python_dependencies.py,v 1.6 2022/02/25 16:18:36 js Exp $ +$NetBSD: patch-synapse_python_dependencies.py,v 1.7 2022/03/18 12:23:50 gdt 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-02-22 11:32:11.000000000 +0000 +--- synapse/python_dependencies.py.orig 2022-03-08 14:01:19.000000000 +0000 +++ synapse/python_dependencies.py -@@ -84,9 +84,6 @@ REQUIREMENTS = [ +@@ -77,9 +77,6 @@ REQUIREMENTS = [ "Jinja2>=2.9", "bleach>=1.4.3", "typing-extensions>=3.7.4", - # We enforce that we have a `cryptography` version that bundles an `openssl` - # with the latest security patches. - "cryptography>=3.4.7", - "ijson>=3.1", + # ijson 3.1.4 fixes a bug with "." in property names + "ijson>=3.1.4", "matrix-common~=1.1.0", - ] |