Synapse is an open source Matrix homeserver implementation, written and
maintained by Element.
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)
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 py312-matrix-synapse listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-matrix-synapse-1.161.0_2:
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
Reason:
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
Number of commits found: 193 (showing only 100 on this page) #
*/*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the
compat-11 symbols until version 0.2.176. Patch a great many Rust ports
to use a newer version of libc, to eliminate the dependency on COMPAT11.
Explicitly patching Cargo.lock isn't usually necessarily, since within
the build jail cargo is forced to use whichever crates Makefile.crates
installs there.
Notes on specific ports:
* textproc/bookokrat: Rework bookokrat's existing patch to be more
robust. Also, report the issue upstream:
https://github.com/bugzmanov/bookokrat/issues/182
(Only the first 15 lines of the commit message are shown above )
net-im/py-matrix-synapse: Update 1.135.0 => 1.138.0 (security)
Changelogs:
https://github.com/element-hq/synapse/blob/v1.138.0/CHANGES.md
This release includes support for room version 12 which fixes a number
of security vulnerabilities, including CVE-2025-49090.
PR: 289253
Approved by: Sascha Biberhofer <ports@skyforge.at> (maintainer, timeout 2 weeks)
Security: CVE-2025-49090
MFH: 2025Q3
*/*: switch dependency from devel/py-lxml5 to devel/py-lxml
Currently, there are two versions of python XML processing library
which conflict each other in the ports tree, namely:
- devel/py-lxml5 (now at version 5.4.0)
- devel/py-lxml (now at version 6.0.1)
To avoid the situation that some ports depend on py-lxml5 and some
others do on py-lxml (by switching dependencies individually), this
commit switches the dependencies from py-lxml5 to py-lxml at once.
Additional note: There are still two ports (textproc/py-rdflib and
www/py-draftjs-exporter) depending on py-lxml5 since they limit upper
version to less than 6.
PR: 289491
Approved by: Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd,
crees, madpilot, delphij, marcus, nivit, kai,
skreuzer, fluffy, bofh, thierry, stephen, sunpoet,
0mp, Eric Camachat <eric@camachat.org>
*/*: update dependency on devel/py-lxml to devel/py-lxml5 (2nd attempt)
This is a follow up to the commit 230fb2661c78, which updated some
ports' dependencies on devel/py-lxml to devel/py-lxml5. It was an
attempt to follow the dependency change of
www/py-beautifulsoup. However, the switch was incomplete and broke
some other ports.
It has turned out that the ports depending on devel/py-lxml (at
version 4.9.3) does not limit their dependencies' upper bound to 4.x
except for one (devel/py-pymaven-patch). So updating them to
devel/py-lxml5 (at version 5.4.0) should cause no harm.
This commit switch dependencies of all the ports (except
devel/py-pymaven-patch) to devel/py-lxml5 avoid potential conflicts.
Co-authored-by: Daniel Engberg <diizzy@FreeBSD.org>
PR: 287144, 288047
Reported by: makc (via ports-committers),
vvd (PR 288047),
diizzy (PR 287144)
Approved by: portmgr (chase dependency change, unbreak build)
Fixes: 230fb2661c78 (*/*: update dependency on devel/py-lxml to devel/py-lxml5)
net-im/py-matrix-synapse: Allow build with py-setuptools-rust 1.10.1
- While I'm here, fix BUILD_DEPENDS usage
Note that <=x.y.z is vulnerable because it's broken when the port got bumped for
whatever reasons.
Approved by: portmgr (blanket)
With hat: python
*: Replace USES=pycryptography* with USE_PYTHON=cryptography{,_build,_test}
- Introduce USE_PYTHON=cryptography{,_build,_test}
- Switch all 96 ports from USES=pycryptography to with
USE_PYTHON=cryptography{,_build,_test}
- Remove Mk/Uses/pycryptography.mk
PR: 273727
Approved by: tcberner (portmgr)
Exp-run by: antoine
framework: convert tree to use USES=pycryptography
A future commit will update to security/py-cryptography will introduce a
rust dependency.
PR: 254853
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
net-im/py-matrix-synapse: Update to 1.74.0
Approved by: Sascha Biberhofer <ports at skyforge dot at> (maintainer)
MFH: 2023Q1 (has not seen an update in a while)
net-im/py-matrix-synapse: Update to 1.68.0
- This update introduces a new dependency on rust.
- Testing now uses the staged build output to ensure tests
run against the compiled rust module.
Co-authored-by: Ashish SHUKLA <ashish@FreeBSD.org>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-im: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Alberto Villa <avilla@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexander Timoshenko <gonzo@univ.kiev.ua>
* Andrew Lewis <freeghb@gmail.com>
* Andrey Akhmichin <sepulkarium45@yahoo.com>
* Bartek Rutkowski <r@robakdesign.com>
* Bernard Spil <brnrd@freebsd.org>
* Brendan Molloy <brendan+freebsd@bbqsrc.net>
* Denis Shaposhnikov <dsh@vlink.ru>
(Only the first 15 lines of the commit message are shown above )