From nobody Wed Apr 13 13:59:06 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AFCF41AF2864; Wed, 13 Apr 2022 13:59:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kdkj64K5Fz4XZn; Wed, 13 Apr 2022 13:59:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649858346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5Oc+9ADEWFgHNpYFqEQxvfGcyjK44hEo1BN6aeD9BfY=; b=u2cXZiVFAKqzLuVaOki1cExjiirAXuqaFGGL1NnkYUDCysr357zNe+VwyYGQf0/jhIlDmB Nj9GlXsFckqkcY7Kjohnz5F2B8VzupvSdiF2nJYgqWPgz99b5HPZjiFLn9JD52StDVKbq2 vaT7ySNpVXh9wUwwYHdoZwx94pjfqjZANN3Y2wTGknwgNXsERRpLz187T2R09uybe3L7hL XQrUHduVpbZOpbAfyYgZQdeP/uX0jfnDhVtyuFfE+tMldeBaoWNmzVh4nZ44tk+0X05VrS q4YebyaSYRvomxB/cuzks/hnkR5zyu81Nmwn7XZcO4oDTkvVzaYzSUzYq2nGoQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 728F14F5C; Wed, 13 Apr 2022 13:59:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23DDx69c029301; Wed, 13 Apr 2022 13:59:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DDx6nl029300; Wed, 13 Apr 2022 13:59:06 GMT (envelope-from git) Date: Wed, 13 Apr 2022 13:59:06 GMT Message-Id: <202204131359.23DDx6nl029300@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ashish SHUKLA Subject: git: 76ad2b55b71f - main - net-im/py-matrix-synapse: Update to 1.56.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ashish X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 76ad2b55b71f9ba18a205d9ecdb248b78d626a0c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649858346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5Oc+9ADEWFgHNpYFqEQxvfGcyjK44hEo1BN6aeD9BfY=; b=HMgqUgYGl+rK3j0qJa1cVCmVhSiUMbFxRpPGUsECrQQQyAXWEHLUf11EY11BMs2ZM961jM Px3W6X3wS13Remi/lbeiSqR4zQZFfpdMbtWrEH2wSjecqkbCX3MkSHDdgf6mLhuzCJCUnt KLWuIr0itQKva66y0QNiDTDy5shPqsojrONyN+2+oeXTmGjONVnbIuNUhxuGN7LFQrREJ/ J2QfqSblqjcYtlblOx8F8t9Zixpy/XhV4qASTfoE9LTUWbsgc7AgmQAVUKuf0JxqRYk8UJ SvofcvzUqYzQ7tNk9juj1IKhfdkaOoZ5UNhdmRpF5c7al7TYGqPPv3/KCA7y6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649858346; a=rsa-sha256; cv=none; b=jHWDqx8n+UAZv6UxCNOX+dVHMK+oQJJBunlVImp6C4yzfWjNIkNfSrfZTcsT7gTSkrqP33 E5YJxut1uhoz9y7DHURVgifw9JM5tSvlLdYy5V5x34YNna+/QfRvydT8ZBpWLalz+jMbpg C2gc4RE2Kw6jZcR1RZYH1nlsqTFwvo2um5K9KzlyEGoYoEJOdO5C9Rxum0j2ExpNHYamj6 4RPlJkWRyu9C9mcD/iw4xa93FW785622iuaYgGGfOHiucLCzpJJc96xjVaOErwCoJm4kEL g4eWDvPxa3Sw3Kf+hYITuQ8QykVnw5wxUi9NOji6tAJzYUi8qoOKrqH+dgNfkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=76ad2b55b71f9ba18a205d9ecdb248b78d626a0c commit 76ad2b55b71f9ba18a205d9ecdb248b78d626a0c Author: Ashish SHUKLA AuthorDate: 2022-04-10 11:45:30 +0000 Commit: Ashish SHUKLA CommitDate: 2022-04-13 13:58:07 +0000 net-im/py-matrix-synapse: Update to 1.56.0 - Mention important changes related to the upgrade to UPDATING - Update the dependency constraints Co-authored-by: Sascha Biberhofer PR: 263193 Approved by: Sascha Biberhofer (maintainer) --- UPDATING | 22 ++++++++++++++++++++++ net-im/py-matrix-synapse/Makefile | 4 ++-- net-im/py-matrix-synapse/distinfo | 6 +++--- .../files/patch-synapse_python__dependencies.py | 13 +++++++++++-- net-im/py-matrix-synapse/files/pkg-message.in | 17 +++++++++++++++++ 5 files changed, 55 insertions(+), 7 deletions(-) diff --git a/UPDATING b/UPDATING index 670c77d5114a..846f358bee0b 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,28 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20220413: + AFFECTS: users of net-im/py-matrix-synapse + AUTHOR: ports@skyforge.at + + Synapse will now refuse to start up if open registration is enabled, + in order to help mitigate abuse across the federation. If you would + like to provide registration to anyone, consider adding email, + recaptcha or token-based verification in order to prevent automated + registration from bad actors. This check can be disabled by setting + the enable_registration_without_verification option in your + homeserver configuration file to true. More details are available in + the upgrade notes[0]. + + Synapse will additionally now refuse to start when using PostgreSQL + with a non-C values for COLLATE and CTYPE, unless the config flag + allow_unsafe_locale, found in the database section of the + configuration file, is set to true. See the upgrade notes[1] for + details. + + [0] https://matrix-org.github.io/synapse/v1.56/upgrade.html#open-registration-without-verification-is-now-disabled-by-default + [1] https://matrix-org.github.io/synapse/v1.56/upgrade#change-in-behaviour-for-postgresql-databases-with-unsafe-locale + 20220410: AFFECTS: users of sysutils/screen AUTHOR: cy@FreeBSD.org diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile index 12cf37a11a43..e8df48627d0e 100644 --- a/net-im/py-matrix-synapse/Makefile +++ b/net-im/py-matrix-synapse/Makefile @@ -2,7 +2,7 @@ PORTNAME= matrix-synapse DISTVERSIONPREFIX= v -DISTVERSION= 1.55.2 +DISTVERSION= 1.56.0 CATEGORIES= net-im python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -37,7 +37,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0:devel/py-jsonschema@${PY_F ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.4.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>19.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}Jinja2<3.1.0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bleach>=1.4.3:www/py-bleach@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ijson>=3.1.4:devel/py-ijson@${PY_FLAVOR} \ diff --git a/net-im/py-matrix-synapse/distinfo b/net-im/py-matrix-synapse/distinfo index 4892f2cafbfa..8bc7e3151a6f 100644 --- a/net-im/py-matrix-synapse/distinfo +++ b/net-im/py-matrix-synapse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1648214024 -SHA256 (matrix-org-synapse-v1.55.2_GH0.tar.gz) = 8e06cb264d1631d2518f2f726c89d62c5ed7148b73fbb8190a9c120d3166e7c4 -SIZE (matrix-org-synapse-v1.55.2_GH0.tar.gz) = 7739760 +TIMESTAMP = 1649590803 +SHA256 (matrix-org-synapse-v1.56.0_GH0.tar.gz) = 7afda1fefa2af42966fdffa1f3ab6643674a738ad722e76bf94b873b8845c373 +SIZE (matrix-org-synapse-v1.56.0_GH0.tar.gz) = 7750479 diff --git a/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py index f6d0e485233d..7feafa7bbf66 100644 --- a/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py +++ b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py @@ -1,6 +1,15 @@ ---- synapse/python_dependencies.py.orig 2022-03-24 17:18:43 UTC +--- synapse/python_dependencies.py.orig 2022-04-12 08:11:46 UTC +++ synapse/python_dependencies.py -@@ -80,7 +80,7 @@ REQUIREMENTS = [ +@@ -48,7 +48,7 @@ REQUIREMENTS = [ + "unpaddedbase64>=1.1.0", + "canonicaljson>=1.4.0", + # we use the type definitions added in signedjson 1.1. +- "signedjson>=1.1.0,<=1.1.1", ++ "signedjson>=1.1.0", + "pynacl>=1.2.1", + "idna>=2.5", + # validating SSL certs for IP addresses requires service_identity 18.1. +@@ -83,7 +83,7 @@ REQUIREMENTS = [ "typing-extensions>=3.10.0", # We enforce that we have a `cryptography` version that bundles an `openssl` # with the latest security patches. diff --git a/net-im/py-matrix-synapse/files/pkg-message.in b/net-im/py-matrix-synapse/files/pkg-message.in index 5280b1c46a37..05811df03e67 100644 --- a/net-im/py-matrix-synapse/files/pkg-message.in +++ b/net-im/py-matrix-synapse/files/pkg-message.in @@ -56,4 +56,21 @@ If you're currently using synapse with sqlite and would like to switch to postgr please read the instructions at %%DOCSDIR%%/postgres.md EOM } +{ type: upgrade + maximum_version: 1.55.2 + message: <