Port details on branch 2022Q2 |
- py-matrix-synapse Matrix protocol reference homeserver
- 1.61.1 net-im
=0 1.127.1Version of this port present on the latest quarterly branch. - Maintainer: ports@skyforge.at
 - Port Added: 2022-06-29 04:30:07
- Last Update: 2022-06-29 04:14:56
- Commit Hash: 46b9a76
- Also Listed In: python
- License: APACHE20
- WWW:
- https://www.matrix.org
- Description:
- Matrix is an ambitious new ecosystem for open federated Instant Messaging and
VoIP. The basics you need to know to get up and running are:
* Everything in Matrix happens in a room. Rooms are distributed and do not
exist on any single server. Rooms can be located using convenience
aliases like #matrix:matrix.org or #test:localhost:8448.
* Matrix user IDs look like @matthew:matrix.org (although in the future you
will normally refer to yourself and others using a 3PID: email address,
phone number, etc rather than manipulating Matrix user IDs)
Synapse is currently in rapid development, but as of version 0.5 we believe it
is sufficiently stable to be run as an internet-facing service for real usage!
WWW: https://www.matrix.org
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}matrix-synapse>0:net-im/py-matrix-synapse@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/net-im/py-matrix-synapse/ && make install clean
- To add the package, run one of these commands:
- pkg install net-im/py-matrix-synapse
- pkg install py38-matrix-synapse
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py38-matrix-synapse listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py38-matrix-synapse
- Package flavors (<flavor>: <package>)
- py38: py38-matrix-synapse
- distinfo:
- TIMESTAMP = 1656433422
SHA256 (matrix-synapse-1.61.1.tar.gz) = 201ed822a996209331655156205e878205608e4092a24dd860cca457bda9e2eb
SIZE (matrix-synapse-1.61.1.tar.gz) = 2868292
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py38-poetry-core>=1.0.0 : devel/py-poetry-core@py38
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Runtime dependencies:
-
- py38-jsonschema>=3.0.0 : devel/py-jsonschema@py38
- py38-frozendict>=1 : devel/py-frozendict@py38
- py38-unpaddedbase64>=2.1.0 : devel/py-unpaddedbase64@py38
- py38-canonicaljson>=1.4.0 : devel/py-canonicaljson@py38
- py38-signedjson>=1.1.0 : security/py-signedjson@py38
- py38-service_identity>=18.1.0 : security/py-service_identity@py38
- py38-twisted>=18.9.0 : devel/py-twisted@py38
- py38-treq>=15.1 : www/py-treq@py38
- py38-openssl>=16.0.0 : security/py-openssl@py38
- py38-yaml>=3.11 : devel/py-yaml@py38
- py38-pyasn1>=0.1.9 : devel/py-pyasn1@py38
- py38-pyasn1-modules>=0.0.7 : devel/py-pyasn1-modules@py38
- py38-bcrypt>=3.1.0 : security/py-bcrypt@py38
- py38-pillow>=7.0.0 : graphics/py-pillow@py38
- py38-sortedcontainers>=1.4.4 : devel/py-sortedcontainers@py38
- py38-pysaml2>=4.5.0 : security/py-pysaml2@py38
- py38-pymacaroons>=0.13.0 : security/py-pymacaroons@py38
- py38-msgpack>=0.5.2 : devel/py-msgpack@py38
- py38-phonenumbers>=8.2.0 : devel/py-phonenumbers@py38
- py38-prometheus-client>=0.4.0 : net-mgmt/py-prometheus-client@py38
- py38-attrs>=19.2.0 : devel/py-attrs@py38
- py38-netaddr>=0.7.18 : net/py-netaddr@py38
- py38-Jinja2>=3.0.0 : devel/py-Jinja2@py38
- py38-bleach>=1.4.3 : www/py-bleach@py38
- py38-typing-extensions>=3.10.0.1 : devel/py-typing-extensions@py38
- py38-cryptography>=0 : security/py-cryptography@py38
- py38-ijson>=3.1.4 : devel/py-ijson@py38
- py38-packaging>=16.1 : devel/py-packaging@py38
- py38-matrix-common>=1.1.0 : devel/py-matrix-common@py38
- ca-root-nss.crt : security/ca_root_nss
- py38-psycopg2>2.8 : databases/py-psycopg2@py38
- py38-sqlite3>0 : databases/py-sqlite3@py38
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py38-matrix-synapse-1.61.1:
DOCS=on: Build and/or install documentation
JWT=off: Add dependencies for JSON web tokens
LDAP=off: LDAP protocol support
OIDC=off: Add dependencies for OpenID Connect based logins
PGSQL=on: PostgreSQL database support
REDIS=off: Add support replication over Redis for synapse workers
SQLITE=on: SQLite database support
URLPREVIEW=off: Add dependencies necessary for URL previews
===> Use 'make config' to modify these settings
- Options name:
- net-im_py-matrix-synapse
- USES:
- python:3.7+
- pkg-message:
- For install:
- Configuring Synapse:
The following command can be used to generate a sample configuration of synapse:
/usr/local/bin/python3.8 -B -m synapse.app.homeserver -c /usr/local/etc/matrix-synapse/homeserver.yaml --generate-config -H <SERVER_NAME> --report-stats no
Please note that you will still need to manually configure paths to log
directory, database, and media storage with this method.
- If upgrading
- If you're upgrading from a previous release of synapse, please read the upgrade
instructions at /usr/local/share/doc/matrix-synapse/UPGRADE.rst
- If upgrading from < 1.51.0:
- Synapse 1.51.0 deprecates webclient listeners and non-HTTP(S)
web_client_location settings. Please update your homeserver configurations
accordingly.
Additionally, if you run your own turn server for WebRTC and
use Let's Encrypt certificates, be advised that some Android and iOS clients
may be unable to connect. Please see upstream's turn-howto[0] for additional
details on this issue.
[0] https://matrix-org.github.io/synapse/latest/turn-howto.html
- If upgrading from < 1.55.0:
- The default room version of synapse has been increased to version 9. Consider
changing this if interoperability with other matrix servers is an issue.
If you're using Mjolnir, be advised that this version of synapse is
incompatible with Mjolnir 1.3.1 and earlier.
- Running synapse with the sqlite backend is only recommended for testing purposes.
Future versions of synapse will disable federation by default if sqlite is used.
- If upgrading
- If you're currently using synapse with sqlite and would like to switch to postgres,
please read the instructions at /usr/local/share/doc/matrix-synapse/postgres.md
- If upgrading from < 1.55.2:
- 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
- If upgrading from < 1.62.0:
- Starting with synapse 1.62.0, this port will no longer ship with sqlite support
by default. If you rely on sqlite for your setup, please either migrate to
postfix, install the sqlite dependency manually or build a custom flavor of the
port.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.61.1 29 Jun 2022 04:14:56
    |
Ashish SHUKLA (ashish)  Author: Sascha Biberhofer |
net-im/py-matrix-synapse: Update to 1.61.1
This minor update contains a security fix for GHSA-22p3-qrh9-cx32 /
CVE-2022-31052.
While we're at it, switch to pypi as package source. This not only
follows general python port guidelines but also eliminates the
need for poetry2setup, hopefully fixing #264178[0].
Changes: https://github.com/matrix-org/synapse/releases/tag/v1.61.1
Signed-off-by: Sascha Biberhofer <sascha.biberhofer@skyforge.at>
PR: 264178
MFH: 2022Q2
Security: 07c0d782-f758-11ec-acaa-901b0e9408dc
Security: CVE-2022-31052
(cherry picked from commit c4501a503083e9de1d8cfd936cfb244642884434) |
1.61.0 29 Jun 2022 04:13:10
    |
Ashish SHUKLA (ashish)  |
net-im/py-matrix-synapse: Update to 1.61.0
- Remove pynacl dependency
Co-authored-by: Sascha Biberhofer <sascha.biberhofer@skyforge.at>
Signed-off-by: Sascha Biberhofer <sascha.biberhofer@skyforge.at>
Approved by: Sascha Biberhofer <sascha.biberhofer@skyforge.at>
(cherry picked from commit 817e9c1c4a67a3c41b032a76214d5675140477ec) |
1.60.0 29 Jun 2022 04:13:07
    |
Ashish SHUKLA (ashish)  |
net-im/py-matrix-synapse: Update to 1.60.0
Approved by: Sascha Biberhofer <ports@skyforge.at> (maintainer)
(cherry picked from commit b19cffd58ac2b7462a9a3b3d08597061f2ae1fd1) |
1.59.1 29 Jun 2022 04:13:04
    |
Ashish SHUKLA (ashish)  Author: Sascha Biberhofer |
net-im/py-matrix-synapse: Update to 1.59.1
(cherry picked from commit 6365ec4a92adcde3ec1c20bf18f1e82724ec8fde) |
1.58.1 29 Jun 2022 04:13:01
    |
Ashish SHUKLA (ashish)  Author: Sascha Biberhofer |
net-im/py-matrix-synapse: Update to 1.58.1
(cherry picked from commit 5f0906db0fbc37b5770b4625e3b8db01b6382140) |
1.57.1 29 Jun 2022 04:12:57
    |
Ashish SHUKLA (ashish)  |
net-im/py-matrix-synapse: Update to 1.57.1
- Move py-idna dependency to TEST_DEPENDS
- Add a dependency for Python < 3.8
PR: 263430
Approved by: Sascha Biberhofer <ports@skyforge.at> (maintainer)
(cherry picked from commit 45f1b936769d8038de890dda01ce7986a94bbbe6) |
1.56.0 29 Jun 2022 04:12:54
    |
Ashish SHUKLA (ashish)  |
net-im/py-matrix-synapse: Fix pkg-message
(cherry picked from commit 6fb996fd122a197881fe0717316a8cd30fd315bd) |
1.56.0 29 Jun 2022 04:09:54
    |
Ashish SHUKLA (ashish)  |
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 <ports at skyforge dot at>
PR: 263193
Approved by: Sascha Biberhofer <ports at skyforge dot at> (maintainer)
(cherry picked from commit 76ad2b55b71f9ba18a205d9ecdb248b78d626a0c) |