pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/matrix-synapse



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri Oct 28 19:19:36 UTC 2022

Modified Files:
        pkgsrc/chat/matrix-synapse: Makefile PLIST distinfo
        pkgsrc/chat/matrix-synapse/files: README.pkgsrc.NetBSD.txt
        pkgsrc/chat/matrix-synapse/patches: patch-pyproject.toml
Added Files:
        pkgsrc/chat/matrix-synapse: cargo-depends.mk

Log Message:
chat/matrix-synapse: Update to 1.68.0

Packaging changes: This package now require rust, because of upstream,
and thus will fail to build on many platforms where the previous one
worked.  Please feel free to address this with upstream or package an
old version in wip :-(

This version, if configured to use sqlite, will refuse to start if the
sqlite version is old, as it is in netbsd-9 base.  This is not a
regression from the previous package because while that would start,
it would fail to run, because the netbsd-9 base sqlite is missing
required features.   This package should work with pkgsrc sqlite.

Tested with pgsql on netbsd-9 amd64.

Upstream NEWS:

Synapse 1.68.0 (2022-09-27)
===========================

Please note that Synapse will now refuse to start if configured to use a version of SQLite older than 3.27.

In addition, please note that installing Synapse from a source checkout now requires a recent Rust compiler.
Those using packages will not be affected. On most platforms, installing with `pip install matrix-synapse` will not be affected.
See the [upgrade notes](https://matrix-org.github.io/synapse/v1.68/upgrade.html#upgrading-to-v1680).

Features
--------

- Keep track of when we fail to process a pulled event over federation so we can intelligently back off in the future. ([\#13589](https://github.com/matrix-org/synapse/issues/13589), 
[\#13814](https://github.com/matrix-org/synapse/issues/13814))
- Add an [admin API endpoint to fetch messages within a particular window of time](https://matrix-org.github.io/synapse/v1.68/admin_api/rooms.html#room-messages-api). 
([\#13672](https://github.com/matrix-org/synapse/issues/13672))
- Add an [admin API endpoint to find a user based on their external ID in an auth 
provider](https://matrix-org.github.io/synapse/v1.68/admin_api/user_admin_api.html#find-a-user-based-on-their-id-in-an-auth-provider). ([\#13810](https://github.com/matrix-org/synapse/issues/13810))
- Cancel the processing of key query requests when they time out. ([\#13680](https://github.com/matrix-org/synapse/issues/13680))
- Improve validation of request bodies for the following client-server API endpoints: 
[`/account/3pid/msisdn/requestToken`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3account3pidmsisdnrequesttoken), 
[`/org.matrix.msc3720/account_status`](https://github.com/matrix-org/matrix-spec-proposals/blob/babolivier/user_status/proposals/3720-account-status.md#post-_matrixclientv1account_status), 
[`/account/3pid/add`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3account3pidadd), 
[`/account/3pid/bind`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3account3pidbind), 
[`/account/3pid/delete`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3account3piddelete) and 
[`/account/3pid/unbind`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3account3pidunbind). ([\#13687](https://github.com/matrix-org/synapse/issues/13687), 
[\#13736](https://github.com/matrix-org/synapse/issues/13736))
- Document the timestamp when a user accepts the consent, if [consent tracking](https://matrix-org.github.io/synapse/latest/consent_tracking.html) is used. 
([\#13741](https://github.com/matrix-org/synapse/issues/13741))
- Add a `listeners[x].request_id_header` configuration option to specify which request header to extract and use as the request ID in order to correlate requests from a reverse proxy. 
([\#13801](https://github.com/matrix-org/synapse/issues/13801))

Deprecations and Removals
-------------------------

- Synapse will now refuse to start if configured to use SQLite < 3.27. ([\#13760](https://github.com/matrix-org/synapse/issues/13760))
- Don't include redundant `prev_state` in new events. Contributed by Denis Kariakin (@dakariakin). ([\#13791](https://github.com/matrix-org/synapse/issues/13791))


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/chat/matrix-synapse/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/chat/matrix-synapse/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/matrix-synapse/cargo-depends.mk
cvs rdiff -u -r1.45 -r1.46 pkgsrc/chat/matrix-synapse/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/chat/matrix-synapse/files/README.pkgsrc.NetBSD.txt
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/chat/matrix-synapse/patches/patch-pyproject.toml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/matrix-synapse/Makefile
diff -u pkgsrc/chat/matrix-synapse/Makefile:1.63 pkgsrc/chat/matrix-synapse/Makefile:1.64
--- pkgsrc/chat/matrix-synapse/Makefile:1.63    Fri Oct 28 13:07:21 2022
+++ pkgsrc/chat/matrix-synapse/Makefile Fri Oct 28 19:19:35 2022
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2022/10/28 13:07:21 gdt Exp $
+# $NetBSD: Makefile,v 1.64 2022/10/28 19:19:35 gdt Exp $
 
-DISTNAME=      matrix-synapse-1.67.0
-PKGREVISION=   1
+DISTNAME=      matrix-synapse-1.68.0
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=matrix-org/}
 GITHUB_PROJECT=        synapse
@@ -14,6 +13,8 @@ LICENSE=      apache-2.0
 
 # Build tools:
 TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-[0-9]*:../../devel/py-poetry
+# \todo This should be TOOL_, but 1.68 is buggy (fixed in 1.69).
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-rust-[0-9]*:../../devel/py-setuptools-rust
 
 # Dependencies as defined by synapse's build system (in theory):
 # \todo Go over poetry.lock
@@ -56,9 +57,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-unpaddedbase64
 
-USE_PKG_RESOURCES=     yes
-
-USE_LANGUAGES= # none
+USE_LANGUAGES= c99
 
 REPLACE_PYTHON+=       synapse/_scripts/*.py
 
@@ -95,7 +94,7 @@ MESSAGE_SUBST+=       SYNAPSE_DATA=${SYNAPSE_D
 
 SYNAPSE_DEFAULT_CREATOR_PL?=   100
 SUBST_CLASSES+=                        pl
-SUBST_STAGE.pl=                        post-patch
+SUBST_STAGE.pl=                        post-configure
 SUBST_FILES.pl=                        synapse/handlers/room.py
 SUBST_VARS.pl=                 SYNAPSE_DEFAULT_CREATOR_PL
 
@@ -116,8 +115,15 @@ post-install:
 do-test:
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} pytest-${PYVERSSUFFIX}
 
+#CHECK_WRKREF_SKIP+=   lib/python3.10/site-packages/synapse/synapse_rust.abi3.so
+
+# guide says "Prepend .include "cargo-depends.mk" to any other .includes."
+.include "cargo-depends.mk"
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/wheel.mk"
+RUST_REQ=      1.51.0
+.include "../../lang/rust/cargo.mk"
 PYTHON_VERSIONED_DEPENDENCIES+=        OpenSSL
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/chat/matrix-synapse/PLIST
diff -u pkgsrc/chat/matrix-synapse/PLIST:1.33 pkgsrc/chat/matrix-synapse/PLIST:1.34
--- pkgsrc/chat/matrix-synapse/PLIST:1.33       Fri Oct 28 13:07:21 2022
+++ pkgsrc/chat/matrix-synapse/PLIST    Fri Oct 28 19:19:35 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.33 2022/10/28 13:07:21 gdt Exp $
+@comment $NetBSD: PLIST,v 1.34 2022/10/28 19:19:35 gdt Exp $
 bin/export_signing_key
 bin/generate_config
 bin/generate_log_config
@@ -1256,7 +1256,19 @@ ${PYSITELIB}/synapse/storage/schema/main
 ${PYSITELIB}/synapse/storage/schema/main/delta/72/03remove_groups.sql
 ${PYSITELIB}/synapse/storage/schema/main/delta/72/04drop_column_application_services_state_last_txn.sql.postgres
 ${PYSITELIB}/synapse/storage/schema/main/delta/72/04drop_column_application_services_state_last_txn.sql.sqlite
+${PYSITELIB}/synapse/storage/schema/main/delta/72/05receipts_event_stream_ordering.sql
 ${PYSITELIB}/synapse/storage/schema/main/delta/72/05remove_unstable_private_read_receipts.sql
+${PYSITELIB}/synapse/storage/schema/main/delta/72/06add_consent_ts_to_users.sql
+${PYSITELIB}/synapse/storage/schema/main/delta/72/06thread_notifications.sql
+${PYSITELIB}/synapse/storage/schema/main/delta/72/07force_update_current_state_events_membership.py
+${PYSITELIB}/synapse/storage/schema/main/delta/72/07force_update_current_state_events_membership.pyc
+${PYSITELIB}/synapse/storage/schema/main/delta/72/07thread_receipts.sql.postgres
+${PYSITELIB}/synapse/storage/schema/main/delta/72/07thread_receipts.sql.sqlite
+${PYSITELIB}/synapse/storage/schema/main/delta/72/08begin_cache_invalidation_seq_at_2.sql.postgres
+${PYSITELIB}/synapse/storage/schema/main/delta/72/08thread_receipts.sql
+${PYSITELIB}/synapse/storage/schema/main/delta/72/09partial_indices.sql.sqlite
+${PYSITELIB}/synapse/storage/schema/main/delta/73/01event_failed_pull_attempts.sql
+${PYSITELIB}/synapse/storage/schema/main/delta/73/02room_id_indexes_for_purging.sql
 ${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
@@ -1275,7 +1287,6 @@ ${PYSITELIB}/synapse/storage/schema/main
 ${PYSITELIB}/synapse/storage/schema/main/full_schemas/54/full.sql.sqlite
 ${PYSITELIB}/synapse/storage/schema/main/full_schemas/54/stream_positions.sql
 ${PYSITELIB}/synapse/storage/schema/state/delta/23/drop_state_index.sql
-${PYSITELIB}/synapse/storage/schema/state/delta/30/state_stream.sql
 ${PYSITELIB}/synapse/storage/schema/state/delta/32/remove_state_indices.sql
 ${PYSITELIB}/synapse/storage/schema/state/delta/35/add_state_index.sql
 ${PYSITELIB}/synapse/storage/schema/state/delta/35/state.sql
@@ -1305,6 +1316,7 @@ ${PYSITELIB}/synapse/streams/config.py
 ${PYSITELIB}/synapse/streams/config.pyc
 ${PYSITELIB}/synapse/streams/events.py
 ${PYSITELIB}/synapse/streams/events.pyc
+${PYSITELIB}/synapse/synapse_rust.abi3.so
 ${PYSITELIB}/synapse/types.py
 ${PYSITELIB}/synapse/types.pyc
 ${PYSITELIB}/synapse/util/__init__.py
@@ -1379,6 +1391,8 @@ ${PYSITELIB}/synapse/util/retryutils.py
 ${PYSITELIB}/synapse/util/retryutils.pyc
 ${PYSITELIB}/synapse/util/rlimit.py
 ${PYSITELIB}/synapse/util/rlimit.pyc
+${PYSITELIB}/synapse/util/rust.py
+${PYSITELIB}/synapse/util/rust.pyc
 ${PYSITELIB}/synapse/util/stringutils.py
 ${PYSITELIB}/synapse/util/stringutils.pyc
 ${PYSITELIB}/synapse/util/templates.py

Index: pkgsrc/chat/matrix-synapse/distinfo
diff -u pkgsrc/chat/matrix-synapse/distinfo:1.45 pkgsrc/chat/matrix-synapse/distinfo:1.46
--- pkgsrc/chat/matrix-synapse/distinfo:1.45    Thu Oct  6 13:57:53 2022
+++ pkgsrc/chat/matrix-synapse/distinfo Fri Oct 28 19:19:35 2022
@@ -1,7 +1,121 @@
-$NetBSD: distinfo,v 1.45 2022/10/06 13:57:53 gdt Exp $
+$NetBSD: distinfo,v 1.46 2022/10/28 19:19:35 gdt Exp $
 
-BLAKE2s (matrix-synapse-1.67.0.tar.gz) = 8b59d07b2b6cd5b9c4f62a7e2eaa015a5ca8da7fb3644c11263b0a29a8e9b3fd
-SHA512 (matrix-synapse-1.67.0.tar.gz) = 913335b3815ff218134cda80d7149a95aea69eda170e9da6d7566213f077692a92b0276e2530ae4e69572b13124de28b6546a7322b3d9e65f676df0ca4cb9469
-Size (matrix-synapse-1.67.0.tar.gz) = 7933047 bytes
-SHA1 (patch-pyproject.toml) = 54f1ff3696bc7e1a873fde2347f8d5c8ef5df68d
+BLAKE2s (autocfg-1.1.0.crate) = dd57bc2348994ace592664469f4b2389f230343402c627a9981eb582f10b0060
+SHA512 (autocfg-1.1.0.crate) = df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f
+Size (autocfg-1.1.0.crate) = 13272 bytes
+BLAKE2s (bitflags-1.3.2.crate) = e3a3b45a4403823875a03dbda329ca16068fa8f847cef81987c6b780101f2415
+SHA512 (bitflags-1.3.2.crate) = 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
+Size (bitflags-1.3.2.crate) = 23021 bytes
+BLAKE2s (blake2-0.10.4.crate) = ca5ad6fd6697bff03eb97c4555ee70ff9509341ee857217c7281769727595e87
+SHA512 (blake2-0.10.4.crate) = ea6fde4969d66de70e0689da8c76efd37c8f70b9f1d1894d5c1e497a980b011cac75ac650170b7f0face9f85f0c35d05e136dcf823e1cbe7df3db58b72c6fa4b
+Size (blake2-0.10.4.crate) = 46804 bytes
+BLAKE2s (block-buffer-0.10.3.crate) = 3c4a4d171f7955ea54c9bd7ffb696831e74b41ac3565931fc2157da1496c7e3d
+SHA512 (block-buffer-0.10.3.crate) = e29faab70f8f2965a58089728274ec34bc97d681526687868c9cb1a2c145db00717f97e77b79a04fa52bd76817d796e104b509cd2a3163085b214f8eb68ac04f
+Size (block-buffer-0.10.3.crate) = 10465 bytes
+BLAKE2s (cfg-if-1.0.0.crate) = fbb02f63b24cc224b045ff2aac3aefd0a77cf7b578df4d5f9da9517a59aaf9bb
+SHA512 (cfg-if-1.0.0.crate) = 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+Size (cfg-if-1.0.0.crate) = 7934 bytes
+BLAKE2s (crypto-common-0.1.6.crate) = 855d36a49ecab87b6f8a58c85a0360ab113d0615fa206f5e1bf200caa2fcbfd5
+SHA512 (crypto-common-0.1.6.crate) = 471dbc43f517089d2cfe0868e29510c6ca579875b3bb5d013c70796db969b609b6c4bb35c9a07b9a2917012dc5708b717d48e317a20038adbe7e7039bf3ada6f
+Size (crypto-common-0.1.6.crate) = 8760 bytes
+BLAKE2s (digest-0.10.5.crate) = e3698d30aaa23330eae8cdd1608355bb90fc759f3011170c099aec830d26aaed
+SHA512 (digest-0.10.5.crate) = 3542fc0322a8b10dbc229ae83475a0df5f9beee4f879eacab1fda53a7b61136df2961265472ae66d896681bd17f8a68148b25827733bd782c6bae05d2f307951
+Size (digest-0.10.5.crate) = 19503 bytes
+BLAKE2s (generic-array-0.14.6.crate) = cfeb6337fedcee5b776d17505ade14558677b003d273ecbe9b3703a42bbd3585
+SHA512 (generic-array-0.14.6.crate) = 254e6fb6658f083f26e022916795c9ebfac241b9df2d811aac8316b17e1375e1c5aa54d72f1bf6c2627a88484a7df4b14eca231c90578e9aa3d9997047fa0f20
+Size (generic-array-0.14.6.crate) = 15889 bytes
+BLAKE2s (hex-0.4.3.crate) = 299902a1da9d88101e5b8b06dde30b77e8f7a802285aae519981ada5959383f8
+SHA512 (hex-0.4.3.crate) = fd8ff33b68eea2d6f2c6b02a6d82a2807cbcdc209ca5a76e3e3e5d006917ee151f236b6d18e2646cc9a9674bcdda1d6ce6ee363a89cadd99bef00d0eea9989e6
+Size (hex-0.4.3.crate) = 13299 bytes
+BLAKE2s (indoc-1.0.7.crate) = e5b36c9471b5542dc47b717c224ebbdc6423d8c2fc6f6f78ec6c06a05c0da891
+SHA512 (indoc-1.0.7.crate) = b60e534953d600bc2de3d6951f9da67ca3ab3c78fdce3e9c5f91e544ca848aef0c22c35a26fe7a39c07bd916a79fdf496269fecfa5491a58e178f37b2965b348
+Size (indoc-1.0.7.crate) = 13716 bytes
+BLAKE2s (libc-0.2.132.crate) = 42a1d49507b86aa56cbe322fd8aeb22dabe1c6989399f7e3c2610c913fb8c8ee
+SHA512 (libc-0.2.132.crate) = 48340dd173ed4d487f6504f4c32cb3c13dac8ad4da95469c8dd79386a7564d258a9ca42ccf1b174154717bafc1d3551b87c8fe35f7e4e062c8e33da9259fec50
+Size (libc-0.2.132.crate) = 595317 bytes
+BLAKE2s (lock_api-0.4.7.crate) = 5a9edfbf4f9a1dead442261c649f91d375519ad8d675d14f5da83be5e3827b6e
+SHA512 (lock_api-0.4.7.crate) = b1a5227fd131edaa70e017f7ddb43af8b4efa58488007b898ca1dfc818a3a441b732b7adbf1270e72a68ee5d2a99a5d48f33b2bca8e2cf78694953d20d27636d
+Size (lock_api-0.4.7.crate) = 25371 bytes
+BLAKE2s (matrix-synapse-1.68.0.tar.gz) = 49c7331e815811683fac01af3eeed85412a9e9f79bc1d4c319fa8afe59e2b159
+SHA512 (matrix-synapse-1.68.0.tar.gz) = fc31ba2c92ab698ea54006862021f855cc1011a6d7a9d8d42e2eb07bbd6f9f332d35c68fecc43cb543530da7dba6e83d0e5379c7e8dc91bb48f228d509a9f584
+Size (matrix-synapse-1.68.0.tar.gz) = 7961362 bytes
+BLAKE2s (once_cell-1.13.1.crate) = ab93c03e004fa9981ac55e51b7e9564477d5765bd107d407a4a27df387a1ca02
+SHA512 (once_cell-1.13.1.crate) = 492831607d12846923107b464a70de62f5997845faaae1625f3e54e2610e96b0355ce9e554051c2fae28f7e6e558ed456a6fc0b3c6a71b26f7443ede5eff5b32
+Size (once_cell-1.13.1.crate) = 31335 bytes
+BLAKE2s (parking_lot-0.12.1.crate) = 6968a4adcbd417d1ae7674819c446c19488b7056b77259e31747d5ebad3298be
+SHA512 (parking_lot-0.12.1.crate) = 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c
+Size (parking_lot-0.12.1.crate) = 40967 bytes
+BLAKE2s (parking_lot_core-0.9.3.crate) = b5155a5b464ec99ecea85fe719266276c050dc5124e18d0d9cc1ed9a62c49056
+SHA512 (parking_lot_core-0.9.3.crate) = fa30db0fc73b268ab8395adb8bda35d12dc15363b247a95b7c4bb848ff9b8dbfb971a20f320b4feff3317d5b533c59b62152e4c652c1809a422c5671310b30df
+Size (parking_lot_core-0.9.3.crate) = 32256 bytes
+BLAKE2s (proc-macro2-1.0.43.crate) = 7b41b6730be99b9ba36457904882b4ba39e85e21513bb066243be2a27b850a0a
+SHA512 (proc-macro2-1.0.43.crate) = 3139c668dbf593afeb77b970c77edc70f7b46b42d80f1d0e30773dedb14ab98c9eeca0dc953bc940610954860fbce663174ea6c270b8711db45aef4d57f3b910
+Size (proc-macro2-1.0.43.crate) = 41512 bytes
+BLAKE2s (pyo3-0.16.6.crate) = 123a8b7ff74ae43f21d69521f97213da11d9a8b0db4dc7a61eedcc3a963b38a0
+SHA512 (pyo3-0.16.6.crate) = fe297e4d171ecb5a965ce9f3a0527a086766ac5607ba7b59b2a3a8f6cc66da3959d93f1d6aa688d67ceebde41ac4adefce18c0d52c1b77d0cd95cf1178f52325
+Size (pyo3-0.16.6.crate) = 364587 bytes
+BLAKE2s (pyo3-build-config-0.16.6.crate) = 075fd5d85fb0fbd2a1de3b161e8dc22e1c1008f8ae2196365a96f88cfc217fdd
+SHA512 (pyo3-build-config-0.16.6.crate) = a015bb4c328f0d1e643d64831e029bbd66cbf635ab616533f35aefce59abf1c5d596099feaccb81bff02e863867c14f975ce6fc55bc05d99ea47b5f6fdc2da5d
+Size (pyo3-build-config-0.16.6.crate) = 28891 bytes
+BLAKE2s (pyo3-ffi-0.16.6.crate) = 218b3d2ff186ff0d81b048a687394f69b78a6405e5615f0b7339ddf45065805a
+SHA512 (pyo3-ffi-0.16.6.crate) = 97c69900e2b355a002d10e48883cc8d4d9245d07f956087fb9c3b0ecfb9039c84c3f3a23f17caf28c637c4522f0fe252fbbb16b543825e4f724ee19232a34d22
+Size (pyo3-ffi-0.16.6.crate) = 60756 bytes
+BLAKE2s (pyo3-macros-0.16.6.crate) = 5ca25bae5ce13428851cc057caab5891e4f49815fe56e68d502e803856278059
+SHA512 (pyo3-macros-0.16.6.crate) = 95b6898da9974ef232b04197e47ea4e7d60de9f817da9a9995f07b05ca74965df2b2e8e8267d616b665b04ab810b93ca17255b20df89ac9c71014e5c9fd3a9f1
+Size (pyo3-macros-0.16.6.crate) = 8453 bytes
+BLAKE2s (pyo3-macros-backend-0.16.6.crate) = c14916134fe9ce1e26423427896cd64b906faae24eedef9eb299971221a53213
+SHA512 (pyo3-macros-backend-0.16.6.crate) = 49d82cff8762eeb27d8220aa98b2be43f614445f156212d45abef052e347ba2f4a7930e7c5c8a9843ea895ac5c223afc6527d036a9cad00efff9bda18907b019
+Size (pyo3-macros-backend-0.16.6.crate) = 49252 bytes
+BLAKE2s (quote-1.0.21.crate) = 35d526b76a740996fdcd393d2d077d4929f971b5f341498682b878c7cac7ebc0
+SHA512 (quote-1.0.21.crate) = 0728eb4df7e1f7c4d32ab08c901c2c969db8eb46b03bcec3e4956a4f6b360939d32abc6b6ebd7a31058e8e9b69c3d995a24cb484f93656f05b4ee963be1c74fc
+Size (quote-1.0.21.crate) = 28030 bytes
+BLAKE2s (redox_syscall-0.2.16.crate) = 5d05ce546323fbcedb872cf55da0403e1ae5c6fc354eb2adf263bf7d671971b8
+SHA512 (redox_syscall-0.2.16.crate) = 63b5d876baaf99f5cf737679bc6ac7a9e3d8a41aa93f5c59416ce7e3841e2513bff678773553cfe62fb452707f82acc384ea63aec932a31bf94679cd1caddd27
+Size (redox_syscall-0.2.16.crate) = 24012 bytes
+BLAKE2s (scopeguard-1.1.0.crate) = d3884942354d25131c602303463c5686e520bd94daf216a810679acabf59b82e
+SHA512 (scopeguard-1.1.0.crate) = 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d
+Size (scopeguard-1.1.0.crate) = 11470 bytes
+BLAKE2s (smallvec-1.9.0.crate) = 6e8e99380278d160cdfab23047654630418866982e6909c5e84d7024ca27ec6b
+SHA512 (smallvec-1.9.0.crate) = e7158393d4257564eeb8fa53a630fdfc13edb33f3c555e41606edcfdbe9189e5c59c25d255dd21d02d4abad1ab2931e21744ec6c2f91ad4db66f87e748a45e56
+Size (smallvec-1.9.0.crate) = 28396 bytes
+BLAKE2s (subtle-2.4.1.crate) = e8706acb82af8e762dd273696394d3cd582d29db6ba06c4cf6df410374df3aaa
+SHA512 (subtle-2.4.1.crate) = 7fd8234b7ffa3ca7e473539cad958df0842186e1dd735905e0d4977564f40a5f2e18b58180fcbe52614a00964dc150bd9f6964500847ea658f22bffe030f5c6a
+Size (subtle-2.4.1.crate) = 12630 bytes
+BLAKE2s (syn-1.0.99.crate) = 0731da91d0911274e95648b4108ac3b9d1a72aa8f01f598fe274b2b23b8f1743
+SHA512 (syn-1.0.99.crate) = 47a9ec4d5e6702709c1069d1804d29880a1c5bbbed5a91c44e80eec657c62ceb223d6fbd942deef591463664766ae1997d154525f4e7a212bb84151418f40d10
+Size (syn-1.0.99.crate) = 236084 bytes
+BLAKE2s (target-lexicon-0.12.4.crate) = 8b8256e5c435c0e94dfb302a8d10425e9f755b6425636530de8fc38ecd10da27
+SHA512 (target-lexicon-0.12.4.crate) = 194fe1946ad8d9fdb383bf8a65374e24d216382c1ed5379dabc98d58842512624c32838b8d6d0658d866f6559d37f1343a30c5809e8914dd85790399252b3e06
+Size (target-lexicon-0.12.4.crate) = 23020 bytes
+BLAKE2s (typenum-1.15.0.crate) = 36a47ace00a92a52369622e3dd8a02c9d20b73e6171ba04e41d3b746b3c267b1
+SHA512 (typenum-1.15.0.crate) = a3c1ceac85e1aed98d0829449c35f4f36db860218b955b4e5f8f01da1d27ee6213f3c60e2b25c3745dcd67369049da5de737a9473fa9402db99cf7cddeb42288
+Size (typenum-1.15.0.crate) = 40741 bytes
+BLAKE2s (unicode-ident-1.0.3.crate) = e6b920a5b9171a01d6907b752d80c8b5c044e0fff61e8c4820aef803eb024171
+SHA512 (unicode-ident-1.0.3.crate) = 7ebdcfd7131a0e7a834f7e973b9cf813495259e0a0606539623d3f9bb51f9c6414908e71281d6a77397021e48d41c400a704c65990aaa8ca8d0a6095d9b3ed47
+Size (unicode-ident-1.0.3.crate) = 35031 bytes
+BLAKE2s (unindent-0.1.10.crate) = ec58ba0d6a29501178ea60868698df5fe3ace103eb524da6fbfbfa46a651371b
+SHA512 (unindent-0.1.10.crate) = 46ff1a2c042972af2fe5958677b2fa5adf3b9edbb168bd66cc93baf9d1b128f583d9502b83f174b35866343b57a57c8a91a465eab267dddae919af24095bf6bd
+Size (unindent-0.1.10.crate) = 7703 bytes
+BLAKE2s (version_check-0.9.4.crate) = a26f24d5e2c5e631462ebe434aa239957f5102009d3824d5dff2bc90d3c79fb0
+SHA512 (version_check-0.9.4.crate) = b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8
+Size (version_check-0.9.4.crate) = 14895 bytes
+BLAKE2s (windows-sys-0.36.1.crate) = ab3b62a1b06c38f19cfcd08c5de5c908acbc447fb547ac9275d29f20d49b37e8
+SHA512 (windows-sys-0.36.1.crate) = 80973e461bef3be0d0d0c13d02b2129aeb0d0700768d637544315654126f101b39f980738035fe325bd96f549493a2245bd7b82511f833efa7bbcb2f62266001
+Size (windows-sys-0.36.1.crate) = 3347053 bytes
+BLAKE2s (windows_aarch64_msvc-0.36.1.crate) = 89c5a521e303e220f89b21580b63a35cbfd84eba4cf0674b9b9b9291342a4c08
+SHA512 (windows_aarch64_msvc-0.36.1.crate) = d0c352c78caec9c71bbaa1a688baab8f39a33c903c0492b19398c76e08194183e254ecd3a8b24af3e7e5e1d9d97373dcbab54499236829898a4fd153cfde2ccf
+Size (windows_aarch64_msvc-0.36.1.crate) = 661960 bytes
+BLAKE2s (windows_i686_gnu-0.36.1.crate) = 8dc61efc196f9e586c2c13e0dd0c2bd7c811693368ce9db85b99d7f50d5fe869
+SHA512 (windows_i686_gnu-0.36.1.crate) = e2c60e6639beb879472a06ed4462667eb4a78385df6bcde1ca579af759cf2b4ac70e84f7dd7b736e7fbd1b129061555671fed4b83bcd81a6083cc013963194a5
+Size (windows_i686_gnu-0.36.1.crate) = 818115 bytes
+BLAKE2s (windows_i686_msvc-0.36.1.crate) = 39dc59107c333b6c3292aa9254f0217e7c1aa06c392676d9d483ff0f5928bf63
+SHA512 (windows_i686_msvc-0.36.1.crate) = 02bb1507981229422498ce29f6c777d5e412358040128f84b09d948ccddf0461b078a0a20cc7f6ab7da8595121bb369453ae9ea1f0506aab715662e8c631e737
+Size (windows_i686_msvc-0.36.1.crate) = 724575 bytes
+BLAKE2s (windows_x86_64_gnu-0.36.1.crate) = 27d2263d13f1f43242839c6f6bd55ac22db13c0ebdc9c5c8762d51df1a093e7a
+SHA512 (windows_x86_64_gnu-0.36.1.crate) = 598b69e4f2cd3d68f910d526a66dadb465ff30a8c261c9a4455aa1c5b952d23c04f8edaa063cd16fb43564c116a13f06d607f3a0a9c7495054b8bfe1c04d1865
+Size (windows_x86_64_gnu-0.36.1.crate) = 790934 bytes
+BLAKE2s (windows_x86_64_msvc-0.36.1.crate) = e48ba38c24d831da6c6db4bb434ee7df10185932b0ef6136ae605062f25b6d0d
+SHA512 (windows_x86_64_msvc-0.36.1.crate) = 89c22ed51a74f531662d80ae0fa5e0215728db1e6caf3c13eaeba95a93548b43c00b8474f52553ac866ac83c203b6c22dc44fbc870e882a4c9c97ba54b87c631
+Size (windows_x86_64_msvc-0.36.1.crate) = 661999 bytes
+SHA1 (patch-pyproject.toml) = 17b353454d7f414b1734e92151f757ee98c98983
 SHA1 (patch-synapse_handlers_room.py) = f9a62add7171898ec0ea76360f0a4c9969609537

Index: pkgsrc/chat/matrix-synapse/files/README.pkgsrc.NetBSD.txt
diff -u pkgsrc/chat/matrix-synapse/files/README.pkgsrc.NetBSD.txt:1.1 pkgsrc/chat/matrix-synapse/files/README.pkgsrc.NetBSD.txt:1.2
--- pkgsrc/chat/matrix-synapse/files/README.pkgsrc.NetBSD.txt:1.1       Fri Oct 28 13:10:30 2022
+++ pkgsrc/chat/matrix-synapse/files/README.pkgsrc.NetBSD.txt   Fri Oct 28 19:19:35 2022
@@ -1,3 +1,4 @@
-The builtin SQLite3 in NetBSD lacks features needed by Synapse.  To
-use Synapse with SQLite3, one must build with pgksrc sqlite3, via
+The builtin SQLite3 in NetBSD lacks features needed by Synapse.  In
+addition, the version in NetBSD 9 is too old.  To use Synapse with
+SQLite3, one must build with pgksrc sqlite3, via
 PREFER_PKGSRC+=sqlite3.

Index: pkgsrc/chat/matrix-synapse/patches/patch-pyproject.toml
diff -u pkgsrc/chat/matrix-synapse/patches/patch-pyproject.toml:1.3 pkgsrc/chat/matrix-synapse/patches/patch-pyproject.toml:1.4
--- pkgsrc/chat/matrix-synapse/patches/patch-pyproject.toml:1.3 Thu Jul 21 16:44:06 2022
+++ pkgsrc/chat/matrix-synapse/patches/patch-pyproject.toml     Fri Oct 28 19:19:36 2022
@@ -1,12 +1,12 @@
-$NetBSD: patch-pyproject.toml,v 1.3 2022/07/21 16:44:06 gdt Exp $
+$NetBSD: patch-pyproject.toml,v 1.4 2022/10/28 19:19:36 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.
 
---- pyproject.toml.orig        2022-07-05 10:19:54.000000000 +0000
+--- pyproject.toml.orig        2022-09-27 11:34:31.000000000 +0000
 +++ pyproject.toml
-@@ -147,7 +147,7 @@ bleach = ">=1.4.3"
+@@ -162,7 +162,7 @@ bleach = ">=1.4.3"
  typing-extensions = ">=3.10.0.1"
  # We enforce that we have a `cryptography` version that bundles an `openssl`
  # with the latest security patches.
@@ -14,4 +14,4 @@ linked statically.
 +cryptography = ">=3.3.2"
  # ijson 3.1.4 fixes a bug with "." in property names
  ijson = ">=3.1.4"
- matrix-common = "^1.2.1"
+ matrix-common = "^1.3.0"

Added files:

Index: pkgsrc/chat/matrix-synapse/cargo-depends.mk
diff -u /dev/null pkgsrc/chat/matrix-synapse/cargo-depends.mk:1.1
--- /dev/null   Fri Oct 28 19:19:36 2022
+++ pkgsrc/chat/matrix-synapse/cargo-depends.mk Fri Oct 28 19:19:35 2022
@@ -0,0 +1,40 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/10/28 19:19:35 gdt Exp $
+
+CARGO_CRATE_DEPENDS+=  autocfg-1.1.0
+CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
+CARGO_CRATE_DEPENDS+=  blake2-0.10.4
+CARGO_CRATE_DEPENDS+=  block-buffer-0.10.3
+CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=  crypto-common-0.1.6
+CARGO_CRATE_DEPENDS+=  digest-0.10.5
+CARGO_CRATE_DEPENDS+=  generic-array-0.14.6
+CARGO_CRATE_DEPENDS+=  hex-0.4.3
+CARGO_CRATE_DEPENDS+=  indoc-1.0.7
+CARGO_CRATE_DEPENDS+=  libc-0.2.132
+CARGO_CRATE_DEPENDS+=  lock_api-0.4.7
+CARGO_CRATE_DEPENDS+=  once_cell-1.13.1
+CARGO_CRATE_DEPENDS+=  parking_lot-0.12.1
+CARGO_CRATE_DEPENDS+=  parking_lot_core-0.9.3
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.43
+CARGO_CRATE_DEPENDS+=  pyo3-0.16.6
+CARGO_CRATE_DEPENDS+=  pyo3-build-config-0.16.6
+CARGO_CRATE_DEPENDS+=  pyo3-ffi-0.16.6
+CARGO_CRATE_DEPENDS+=  pyo3-macros-0.16.6
+CARGO_CRATE_DEPENDS+=  pyo3-macros-backend-0.16.6
+CARGO_CRATE_DEPENDS+=  quote-1.0.21
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.16
+CARGO_CRATE_DEPENDS+=  scopeguard-1.1.0
+CARGO_CRATE_DEPENDS+=  smallvec-1.9.0
+CARGO_CRATE_DEPENDS+=  subtle-2.4.1
+CARGO_CRATE_DEPENDS+=  syn-1.0.99
+CARGO_CRATE_DEPENDS+=  target-lexicon-0.12.4
+CARGO_CRATE_DEPENDS+=  typenum-1.15.0
+CARGO_CRATE_DEPENDS+=  unicode-ident-1.0.3
+CARGO_CRATE_DEPENDS+=  unindent-0.1.10
+CARGO_CRATE_DEPENDS+=  version_check-0.9.4
+CARGO_CRATE_DEPENDS+=  windows-sys-0.36.1
+CARGO_CRATE_DEPENDS+=  windows_aarch64_msvc-0.36.1
+CARGO_CRATE_DEPENDS+=  windows_i686_gnu-0.36.1
+CARGO_CRATE_DEPENDS+=  windows_i686_msvc-0.36.1
+CARGO_CRATE_DEPENDS+=  windows_x86_64_gnu-0.36.1
+CARGO_CRATE_DEPENDS+=  windows_x86_64_msvc-0.36.1



Home | Main Index | Thread Index | Old Index