45 Commits

Author SHA1 Message Date
sthen
5bbac44ee1 remove daemon from @newuser again 2022-12-07 16:24:58 +00:00
sthen
70aa1568fe update to synapse-1.73.0, from maintainer Renaud Allard
if you use Prometheus exporters and didn't already sync with the
deprecation in earlier versions, you'll need to update dashboards etc; see
https://github.com/matrix-org/synapse/blob/release-v1.73/docs/upgrade.md#legacy-prometheus-metric-names-have-now-been-removed
2022-12-07 15:41:54 +00:00
landry
e798dc9097 net/synapse: fix path to register_new_matrix_user in README
reported by nabbisen/scqr/net, ok MAINTAINER
2022-11-21 14:03:29 +00:00
sthen
716f142842 bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:29:09 +00:00
sthen
c865cc9f5b fix version spec 2022-11-13 11:21:42 +00:00
ajacoutot
c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00
landry
e1cdcb6e3d net/synapse: update to 1.70.1
From maintainer Renaud Allard
2022-11-02 14:45:01 +00:00
sthen
6781029335 bump REVISION for ports using rust, so that pkg_add -u for i386 users
updates to packages without -znotext (i.e. with text relocations disabled)
makes sense to phessler, semarie, tb
2022-10-28 10:00:45 +00:00
landry
4237ee68f2 net/synapse: update to 1.68.0
cf https://matrix.org/blog/2022/09/27/synapse-1-68-released/.

now depends on rust, via setuptools_rust. Help from semarie@ for the
rusty bits.

From maintainer Renaud Allard, with tweaks from sthen@
2022-10-05 12:27:53 +00:00
sthen
2206a80000 rename MODPY_PEP517 to MODPY_PYBUILD which is a bit less of a
magic-numbers name and more of a nod at the frontend we're actually
using for the build.
2022-09-13 20:56:17 +00:00
landry
2885ff63fb net/synapse: update to 1.67.0.
see https://github.com/matrix-org/synapse/releases/tag/v1.67.0

From maintainer Renaud Allard
2022-09-13 14:42:51 +00:00
landry
ba751b3d1d net/synapse: update to 1.66.0.
see https://github.com/matrix-org/synapse/releases/tag/v1.66.0

From maintainer Renaud Allard
ok sthen@
2022-09-05 15:42:01 +00:00
sthen
484362dac4 fix tests+RDEPs, ok Renaud Allard (maintainer) 2022-08-27 15:16:50 +00:00
landry
8d073eb3a7 net/synapse: upgrade to 1.65.0.
switch to MOD_PEP517=poetry-core now that sthen@ did all the hard work :)

all user-facing scripts moved from /usr/local/share/synapse to
/usr/local/bin, rc script adapted accordingly.

dont forget to update the database schema after stopping your homeserver:

# rcctl stop synapse
# update_synapse_database --database-config /var/synapse/homeserver.yaml --run-background-updates
# rcctl start synapse

refer to https://github.com/matrix-org/synapse/releases/ for a list of
changes since 1.54, and https://matrix-org.github.io/synapse/latest/upgrade.html
for the upgrade notes.

tested at least by steven@, Uwe Werler & myself
ok sthen@ Renaud Allard (maintainer)
2022-08-20 07:27:03 +00:00
ajacoutot
9e45440fb2 Use the rc_exec function instead of ${rcexec}. 2022-05-21 10:50:49 +00:00
abieber
3fdf6cecfc Update synapse to 1.54.0.
Port changes:
- Remove RCS Ids.
- Include py-matrix-common.
- Compile .py bits.
- Remove trailing white space from README.

Synapse changes: https://github.com/matrix-org/synapse/releases/tag/v1.54.0

OK Maintainer Renaud Allard
2022-03-08 15:52:52 +00:00
bket
a73b23aca9 Fix tests in net/synapse
OK sthen@ and Renaud Allard (maintainer)
2022-03-01 10:36:12 +00:00
abieber
4678da6742 Update to synaps 1.47.1
This contains path traversal fix (CVS-2021-41281):
https://github.com/matrix-org/synapse/releases/tag/v1.47.1

OK Renaud Allard (MAINTAINER)
2021-11-24 21:05:23 +00:00
sthen
37d14a5394 bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:01:52 +00:00
sthen
65c6c0729b update to synapse-1.45.1. from Renaud Allard with a few tweaks. 2021-10-21 09:00:05 +00:00
abieber
40e3a941f4 Update to synapse 1.41.1. Diff from MAINTAINER (Renaud Allard).
Changes here:https://github.com/matrix-org/synapse/releases/tag/v1.41.1
2021-09-01 13:28:58 +00:00
abieber
298ed63755 Update to 1.40.0, original diff from MAINTAINER Renaud Allard with some tweaks
from myself.
2021-08-17 13:51:32 +00:00
kmos
5e7a6158d9 do-test target wasn't updated when port was moved to python3 only
Drop "-3" suffix from do-test target to fix tests.
2021-05-17 01:54:15 +00:00
landry
fbda2890a1 net/synapse: update to 1.33.2, from MAINTAINER Renaud Allard
Fixes a denial of service attack (CVE-2021-29471) against Synapse's push
rules implementation.
2021-05-12 17:29:26 +00:00
solene
8b4037e1cc Update to synapse-1.30.0
Update from maintainer Renaud Allard
2021-04-02 07:35:56 +00:00
solene
4e445a4c23 Update to synapse-1.29
Diff from maintainer Renaud Allard
2021-03-09 18:55:29 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
solene
0b071ed482 Update to synapse-1.27.0
Update from maintainer Renaud Allard <renaud at allard.it>
2021-02-19 20:16:24 +00:00
solene
643ae450bf Update to synapse-1.26.0
From maintainer Renaud Allard renaud at allard.it
2021-01-28 18:35:52 +00:00
landry
d4841d2621 net/synapse: update to 1.24.0, from maintainer Renaud Allard
There is a denial of service attack (CVE-2020-26257) against the
federation APIs in which future events will not be correctly sent to
other servers over federation. This affects all servers that participate
in open federation. (Fixed in #8776).

Synapse may be affected by OpenSSL CVE-2020-1971.  Synapse
administrators should ensure that they have the latest versions of the
cryptography Python package installed.

ok abieber@
2020-12-09 16:04:40 +00:00
solene
e8f5ba7619 Update to synapse-1.21.2
Fix CVE-2020-26891

Thanks to maintainer Renaud Allard for the diff
2020-10-23 16:49:48 +00:00
solene
eeefc6acf4 Update to synapse-1.20.0
Diff from maintainer Renaud Allard
2020-09-27 13:46:29 +00:00
solene
0a01273111 Update to synapse-1.19
Tests are now working properly except a few which
require python libraries we don't have

Diff from maintainer Renaud Allard
2020-08-20 15:12:57 +00:00
abieber
34562fd025 Update to synapse 1.18.0, from maintainer Renaud Allard 2020-07-31 00:21:16 +00:00
landry
2615d464c5 Security update to synapse 1.15.2, from maintainer Renaud Allard
See https://matrix.org/blog/2020/07/02/synapse-1-15-2-released-with-security-fixes/
2020-07-05 09:34:50 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
landry
d7daecc14a Update to synapse 1.15.1, from maintainer Renaud Allard 2020-06-16 11:16:22 +00:00
landry
1c68d2d641 Update to synapse 1.15.0, From MAINTAINER Renaud Allard
ok abieber@
2020-06-11 15:24:29 +00:00
abieber
3d1dbea515 Update to synapse 1.14.0, from MAINTAINER Renaud Allard
Thanks for the quick updates, Renaud!
2020-05-28 12:39:58 +00:00
landry
908820cfff Update to synapse 1.13.
From MAINTAINER Renaud Allard, ok abieber@
2020-05-22 16:48:19 +00:00
kn
dfcc197068 Include relayd.conf(5) example in README
Example/diff from Andrea Fleckenstein, thanks!
"looks fine" Renaud Allard (maintainer)
2020-04-21 19:14:12 +00:00
landry
2df2c7478f Update to synapse 1.12.2, from MAINTAINER Renaud Allard 2020-04-03 07:19:47 +00:00
sthen
5a97b9cf6a update to synapse-1.11.1
"This release includes a security fix impacting installations using
Single Sign-On (i.e. SAML2 or CAS) for authentication. Administrators of
such installations are encouraged to upgrade as soon as possible.

The release also includes fixes for a couple of other bugs."

from Renaud Allard, I regenerated plist because there were some odd extra
lib/python${MODPY_VERSION}/ / lib/python${MODPY_VERSION}/site-packages/ lines.
2020-03-09 11:56:54 +00:00
landry
14ff49367a use the final uid/gid for _synapse user, no bump since it couldnt package as is 2020-03-09 08:17:59 +00:00
landry
5c9f13370a Import synapse 1.11.0, from maintainer Renaud Allard
Matrix specifies a set of RESTful HTTP JSON APIs as an open standard for
federated Instant Messaging and VoIP (creating and managing distributed chat
rooms without points of control or failure, cryptographically secure state
synchronisation across an open network, etc).

In Matrix, every user runs one or more Matrix clients, which connect
through to a Matrix homeserver. The homeserver stores all their personal
chat history and user account information.

Synapse is a reference "homeserver" implementation of Matrix.

(very happy to see this finally imported, as i initially started working
on it at p2k18 in nantes..)

ok solene@
2020-03-08 17:03:15 +00:00