Monday, March 29, 2021

[update] net/synapse -> 1.30.0

? patch
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/synapse/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile 9 Mar 2021 18:55:29 -0000 1.19
+++ Makefile 29 Mar 2021 07:08:06 -0000
@@ -2,7 +2,7 @@

COMMENT = open network for secure, decentralized communication

-MODPY_EGG_VERSION = 1.29.0
+MODPY_EGG_VERSION = 1.30.0

GH_ACCOUNT = matrix-org
GH_PROJECT = synapse
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/synapse/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo 9 Mar 2021 18:55:29 -0000 1.16
+++ distinfo 29 Mar 2021 07:08:06 -0000
@@ -1,2 +1,2 @@
-SHA256 (synapse-1.29.0.tar.gz) = AWUCJuq+nb8E4BpFeq+41rFHcHtNdk0YaSveF4bWCPM=
-SIZE (synapse-1.29.0.tar.gz) = 7198706
+SHA256 (synapse-1.30.0.tar.gz) = K+tXUxgYTIuWxnMKula39tMN6jjK5fxRCiwioXCvlmU=
+SIZE (synapse-1.30.0.tar.gz) = 7213532
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/synapse/pkg/PLIST,v
retrieving revision 1.15
diff -u -p -r1.15 PLIST
--- pkg/PLIST 9 Mar 2021 18:55:29 -0000 1.15
+++ pkg/PLIST 29 Mar 2021 07:08:06 -0000
@@ -1266,6 +1266,7 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/synapse/storage/databases/main/schema/delta/59/08delete_pushers_for_deactivated_accounts.sql
lib/python${MODPY_VERSION}/site-packages/synapse/storage/databases/main/schema/delta/59/08delete_stale_pushers.sql
lib/python${MODPY_VERSION}/site-packages/synapse/storage/databases/main/schema/delta/59/09rejected_events_metadata.sql
+lib/python${MODPY_VERSION}/site-packages/synapse/storage/databases/main/schema/delta/59/10delete_purged_chain_cover.sql
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/synapse/storage/databases/main/schema/delta/59/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/synapse/storage/databases/main/schema/delta/59/${MODPY_PYCACHE}01ignored_user.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/synapse/storage/databases/main/schema/full_schemas/
@@ -1393,6 +1394,7 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/synapse/util/${MODPY_PYCACHE}jsonobject.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/synapse/util/${MODPY_PYCACHE}logcontext.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/synapse/util/${MODPY_PYCACHE}logformatter.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/synapse/util/${MODPY_PYCACHE}macaroons.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/synapse/util/${MODPY_PYCACHE}manhole.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/synapse/util/${MODPY_PYCACHE}metrics.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/synapse/util/${MODPY_PYCACHE}module_loader.${MODPY_PYC_MAGIC_TAG}pyc
@@ -1441,6 +1443,7 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/synapse/util/jsonobject.py
lib/python${MODPY_VERSION}/site-packages/synapse/util/logcontext.py
lib/python${MODPY_VERSION}/site-packages/synapse/util/logformatter.py
+lib/python${MODPY_VERSION}/site-packages/synapse/util/macaroons.py
lib/python${MODPY_VERSION}/site-packages/synapse/util/manhole.py
lib/python${MODPY_VERSION}/site-packages/synapse/util/metrics.py
lib/python${MODPY_VERSION}/site-packages/synapse/util/module_loader.py
Index: pkg/synapse.rc
===================================================================
RCS file: /cvs/ports/net/synapse/pkg/synapse.rc,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 synapse.rc
--- pkg/synapse.rc 8 Mar 2020 17:03:15 -0000 1.1.1.1
+++ pkg/synapse.rc 29 Mar 2021 07:08:06 -0000
@@ -8,7 +8,7 @@ daemon_flags="${LOCALSTATEDIR}/synapse/h

. /etc/rc.d/rc.subr

-pexp="${MODPY_BIN} -B -m synapse.app.homeserver --daemonize -c ${daemon_flags}"
+pexp="${MODPY_BIN} -m synapse.app.homeserver --daemonize -c ${daemon_flags}"

rc_start() {
${rcexec} "${daemon} start ${daemon_flags}"
Hello,

Here is almost the same patch to upgrade net/synapse to 1.30.0 but which
includes a modification to the rc script which was broken since 1.29.0

v1.30.1 currently needs py-cryptography>=3.4.7. That to ensure this
library is recent enough to have the openssl fix. Since OpenBSD's
libressl is not affected, this is not an issue right now, but could be
an issue for later versions.

Best Regards

No comments:

Post a Comment