Compare commits

..

137 commits

Author SHA1 Message Date
Alex Manning 71439499a7 1.66.0 2022-09-07 19:17:58 +01:00
Alex Manning 3e07507726 Merge remote-tracking branch 'upstream/rawhide' into alex 2022-08-14 08:37:17 +01:00
Kai A. Hiller 52bf2f3ea0 Update to v1.63.1 2022-07-26 14:36:57 +02:00
Fedora Release Engineering c7e5530da6 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 20:38:11 +00:00
Alex Manning 82361b4dae Version bump. 2022-07-20 23:52:29 +01:00
Alex Manning f66f3a36a8 Merge remote-tracking branch 'upstream/rawhide' into alex 2022-07-20 23:50:38 +01:00
Kai A. Hiller 3fd3d881f8 Update to v1.62.0 2022-07-17 17:02:56 +02:00
Kai A. Hiller a142d9680c Update to v1.61.1
Fix CVE-2022-31052
2022-06-29 10:08:54 +02:00
Kai A. Hiller 95722cc58b Update to v1.61.0 2022-06-14 16:07:34 +02:00
Kai A. Hiller 47f5502751 Update to v1.60.0 2022-06-10 11:41:19 +02:00
Kai A. Hiller 159861ff82 Update to v1.59.1 2022-05-19 22:52:38 +02:00
Kai A. Hiller 33211b7923 Update to v1.59.0 2022-05-18 12:15:16 +02:00
Kai A. Hiller 8ae5dec1db Guard against tests being skipped 2022-05-05 11:51:41 +02:00
Kai A. Hiller ebbe65d4a2 Add available python extras subpackages 2022-05-05 11:51:41 +02:00
Kai A. Hiller 1789dec058 Run tests for installed module 2022-05-05 11:51:41 +02:00
Kai A. Hiller 801f429df4 Update to v1.58.0 2022-05-05 11:51:39 +02:00
Kai A. Hiller e7c61e994b Conform to new Python packaging guidelines 2022-05-05 11:46:37 +02:00
Dan Callaghan 18ba380922 Update to v1.57.0 2022-04-21 10:25:14 +10:00
Alex Manning db4a7d12c1
1.57.0 2022-04-19 16:02:10 +01:00
Alex Manning 8639064d06
Merge remote-tracking branch 'upstream/rawhide' into alex 2022-04-16 11:21:55 +01:00
Alex Manning 4310789310
Fix patch 2022-04-10 21:31:16 +01:00
Alex Manning 721a90fdf0
1.56.0 2022-04-10 21:16:18 +01:00
Kai A. Hiller 356f79beea Update to v1.56.0 2022-04-05 17:50:32 +02:00
Kai A. Hiller f3a8d57f3c Update to v1.55.0 2022-03-24 15:39:40 +01:00
Alex Manning f08ce7bd2f Merge remote-tracking branch 'upstream/rawhide' into alex 2022-03-21 20:32:20 +00:00
Kai A. Hiller ed66f90719 Update to v1.54.0 2022-03-09 10:48:57 +01:00
Kai A. Hiller 43b3e68265 Update sources 2022-02-22 18:55:10 +01:00
Kai A. Hiller cc98af5e33 Update to v1.53.0 2022-02-22 18:18:32 +01:00
Alex Manning 48f6f257b7 Merge remote-tracking branch 'upstream/rawhide' into alex 2022-02-09 21:05:26 +00:00
Kai A. Hiller 2c55219c1c Fix losing incoming EDUs if debug logging enabled 2022-02-09 16:53:08 +01:00
Kai A. Hiller 04f7b9ad80 Update sources 2022-02-08 15:56:30 +01:00
Kai A. Hiller 653ced802e Update to v1.52.0 2022-02-08 15:24:49 +01:00
Kai A. Hiller 49740b547f Create synapse user and group declaratively 2022-02-08 14:53:10 +01:00
Kai A. Hiller 6132902215 Update to v1.51.0 2022-01-27 03:53:20 +01:00
Alex Manning 923038a681 Actually update synapse 2022-01-26 21:05:44 +00:00
Kai A. Hiller a53ed73b6c Revert "Update to v1.50.0rc1"
This reverts commit 2111b63c63.
2022-01-21 23:17:41 +01:00
Fedora Release Engineering c71ab7f0a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 18:48:56 +00:00
Alex Manning a19f7b49b8 Temporary fix patches. 2022-01-18 23:40:57 +00:00
Alex Manning 69bd1e29de Merge remote-tracking branch 'upstream/rawhide' into alex 2022-01-18 22:09:22 +00:00
Kai A. Hiller 2111b63c63 Update to v1.50.0rc1 2022-01-10 20:06:58 +01:00
Alex Manning faff109bb1 Bump release 2022-01-04 20:26:15 +00:00
Alex Manning 9a57fd4823 Merge branch 'alex' of ssh://git.a09.uk:48765/alex/copr-matrix-synapse into alex 2022-01-04 20:25:46 +00:00
Alex Manning 3d7ab25404 Merge remote-tracking branch 'upstream/rawhide' into alex 2022-01-04 20:24:35 +00:00
Alex Manning f54154acfb Switch to new entrypoints. 2022-01-04 20:23:26 +00:00
Alex Manning e9c242edc1 Update 'matrix-synapse.spec' 2021-12-24 11:37:23 +00:00
Kai A. Hiller 9850d26178 Update to v1.49.2 2021-12-22 16:20:52 +01:00
Alex Manning 3c405430ea Merge remote-tracking branch 'upstream/main' into alex 2021-12-15 18:33:11 +00:00
Alex Manning 8c58a9b484 Fix patch. 2021-12-14 22:29:47 +00:00
Kai A. Hiller 212fb80bb2 Update to v1.49.0 2021-12-14 20:22:29 +01:00
Alex Manning d2638ff8aa Merge in from fedora 2021-12-14 19:19:04 +00:00
Alex Manning b970298303 Merge remote-tracking branch 'upstream/rawhide' into alex 2021-12-14 19:14:38 +00:00
Alex Manning 6aef8b1f02 1.49.0 2021-12-14 19:08:34 +00:00
Alex Manning 038f50e5d9 1.48.0 2021-11-30 19:34:26 +00:00
Kai A. Hiller bb78e6f97b Update to v1.48.0 2021-11-30 17:03:45 +01:00
Kai A. Hiller 6ba00b438d Fix date in changelog 2021-11-24 12:23:08 +01:00
Kai A. Hiller fa84f97be5 Update to v1.47.1
Fix CVE-2021-41281
2021-11-24 11:30:45 +01:00
Alex Manning 9bfae8299d 1.47.1 2021-11-23 13:27:33 +00:00
Alex Manning 8926e5d60e 1.47.0 2021-11-21 23:17:47 +00:00
Kai A. Hiller 27ba1bd03a Update to v1.47.0 2021-11-19 18:44:12 +01:00
Kai A. Hiller 9834725e22 Update to v1.46.0 2021-11-04 14:06:42 +01:00
Alex Manning c6cb7c1d18 1.46.0 2021-11-02 19:03:04 +00:00
Kai A. Hiller 123b2c7859 Update to v1.45.1 2021-10-21 15:23:09 +02:00
Kai A. Hiller 43c493270c Fix date in changelog 2021-10-21 11:07:33 +02:00
Alex Manning daa271fddc Update 'matrix-synapse.spec'
1.45.0
2021-10-19 15:25:50 +00:00
Kai A. Hiller db3dab5754 Update to v1.44.0 2021-10-18 09:23:30 +02:00
Alex Manning ef873f75b2 1.44.0 2021-10-05 23:27:20 +01:00
Alex Manning 3de669cb27 Update synapse 2021-09-22 19:27:18 +01:00
Kai A. Hiller 441d69e783 Update to v1.42.0 2021-09-09 15:50:05 +02:00
Alex Manning 9d93fd8ee6 1.42.0 2021-09-08 11:06:17 +01:00
Alex Manning beb0fad02f rc2 2021-09-06 16:33:22 +01:00
Alex Manning 5aa2c9d0f1 oops 2021-09-05 18:37:12 +01:00
Alex Manning 9ca9ede2b6 1.42.0rc1 2021-09-05 18:34:00 +01:00
Kai A. Hiller f3881d8800 Update changelog for v1.41.1 2021-08-31 17:08:00 +02:00
Kai A. Hiller c419b6ee01 Update to v1.41.1 2021-08-31 16:12:10 +02:00
Alex Manning ba740a9bc6 1.41.0 2021-08-25 11:08:03 +01:00
Kai A. Hiller 94f4286948 Update to v1.41.0 2021-08-24 19:27:29 +02:00
Alex Manning 78f415c0ab 1.41.0rc1 2021-08-19 23:24:36 +01:00
Alex Manning c30b097f3f Update synapse 2021-08-16 13:36:27 +01:00
Kai A. Hiller bc82908238 Update to v1.40.0 2021-08-10 15:28:36 +02:00
Kai A. Hiller a74c98d53d Update to v1.39.0 2021-08-06 15:08:08 +02:00
Alex Manning ec6f58880d rc2 2021-08-04 18:17:11 +01:00
Alex Manning 1fd70d0f12 Finish sync with rawhide 2021-08-03 13:37:22 +01:00
Alex Manning 20a57c5fcd No sources 2021-08-03 13:33:29 +01:00
Alex Manning 5d0ad886d5 Merge remote-tracking branch 'upstream/rawhide' into alex 2021-08-03 13:33:10 +01:00
Alex Manning 50afb28317 1.40.0rc1 2021-08-03 13:30:31 +01:00
Alex Manning 27b868bfa0 1.39.0 2021-07-30 00:27:10 +01:00
Alex Manning 3aa6f6933d rc3 2021-07-28 15:58:18 +01:00
Kai A. Hiller 4cb09f3815 Update to v1.38.1 2021-07-23 15:30:17 +02:00
Alex Manning bc2c38c626 1.39.0rc2 2021-07-22 17:01:10 +01:00
Fedora Release Engineering 167105048f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 13:52:29 +00:00
Alex Manning 27105bd158 Synapse 1.39.0rc1 2021-07-21 11:41:59 +01:00
Dan Callaghan aab90fe6a3 move After= to correct section in synapse.service 2021-07-18 17:27:47 +10:00
Dan Callaghan 5dcb251ed2 relax version requirement on python3-cryptography
We only have 3.4.6 in F34, intentionally. OpenSSL is up to date so it's
not a problem.
2021-07-18 17:03:02 +10:00
Dan Callaghan 05bab657ef changelog and rev bump for previous commit 2021-07-18 17:03:02 +10:00
Michael Scherer d1eb576c71 Fix #1910740
Thanks to Václav Nováček for the suggestion
2021-07-18 06:57:14 +00:00
Kai A. Hiller 18ca30d293 Update to v1.38.0 2021-07-14 17:54:13 +02:00
Alex Manning a372e139a4 1.38.0 2021-07-13 14:58:29 +01:00
Alex Manning 9214a71915 rc2 2021-07-09 11:29:53 +01:00
Alex Manning 8fb624c54b 1.38.0rc1 2021-07-07 11:59:10 +01:00
Alex Manning d28d1b0760 1.37.1 2021-07-02 15:37:01 +01:00
Alex Manning be900f4f78 1.37.1rc1 2021-06-30 00:43:00 +01:00
Alex Manning ab3afc8da2 Install new unit file 2021-06-29 17:25:27 +01:00
Alex Manning c032074b69 1.37.0, worker unit file 2021-06-29 16:56:13 +01:00
Alex Manning 2a83f6aac4 1.37.0rc1 2021-06-24 11:57:07 +01:00
Alex Manning b000650488 Update synapse, and add an entrypoint. 2021-06-16 01:39:27 +01:00
Alex Manning a08fff9724 rc2 2021-06-11 15:49:15 +01:00
Alex Manning 41c72676fa 1.36.0rc1 2021-06-08 14:33:22 +01:00
Python Maint bb3a279180 Rebuilt for Python 3.10 2021-06-04 20:11:18 +02:00
Alex Manning 346cda9087 1.35.1 2021-06-03 19:47:38 +01:00
Alex Manning 7fa32cbc13 1.35.0 2021-06-01 13:59:27 +01:00
Alex Manning 6bbe3d8e24 rc2 2021-05-27 15:01:56 +01:00
Alex Manning f886c5cfdd Buildrequires ijson 2021-05-25 12:06:54 +01:00
Alex Manning b7993426ac Bump synapse 2021-05-25 12:03:05 +01:00
Alex Manning 04b292161b 1.34.0 2021-05-17 14:14:43 +01:00
Alex Manning 711c9c91c0 1.34.0rc1 2021-05-12 17:49:57 +01:00
Alex Manning 2e5b574767 1.33.2 2021-05-11 17:43:28 +01:00
Alex Manning e060fa6332 1.33.1 2021-05-06 14:38:11 +01:00
Alex Manning c29fe9feb2 1.33.0 2021-05-05 16:15:31 +01:00
Alex Manning ee741f684c Fedora 22 has older cryptography 2021-04-28 13:03:20 +01:00
Alex Manning bfc6883e7a 1.33.0rc1 2021-04-28 12:31:33 +01:00
Alex Manning 23f2d59688 1.32.2 2021-04-22 12:30:32 +01:00
Alex Manning 3ecef91ae7 1.32.1 2021-04-21 16:10:20 +01:00
Alex Manning 7490d07212 1.32.0 2021-04-21 10:16:57 +01:00
Alex Manning fd50b14b72 RC in wrong place
t
2021-04-13 14:56:03 +01:00
Alex Manning 68ffffe60f 1.32.0rc1 2021-04-13 14:53:01 +01:00
Alex Manning bb016563c0 1.31.0 2021-04-06 15:39:17 +01:00
Alex Manning 41c3d76b55 Workaround matrix requiring a cryptography fedora doesn't have. 2021-04-01 13:09:06 +01:00
Alex Manning e4f6625057 1.31.0 2021-03-30 17:55:41 +01:00
Alex Manning 31f67dc4f3 1.30.1 2021-03-26 14:32:01 +00:00
Alex Manning adf3d76483 1.30.0 2021-03-24 17:19:12 +00:00
Alex Manning 230b63ad0a Ping 2021-03-21 23:44:02 +00:00
Alex Manning c1a0d9bfdc oops 2021-03-21 23:34:28 +00:00
Alex Manning b31bd6fe8b 1.30.0 2021-03-21 23:31:49 +00:00
Alex Manning ee477a45bb 1.29.0 2021-03-08 16:10:13 +00:00
Zbigniew Jędrzejewski-Szmek 338d2e8dd8 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:28 +01:00
Alex Manning 8509f262ec Copr 2021-02-26 13:12:26 +00:00
Alex Manning 5e0b0ed431 0.28.0 2021-02-26 11:16:55 +00:00
5 changed files with 251 additions and 69 deletions

View file

@ -2,69 +2,39 @@
# Version suffix in URL when building release candidates # Version suffix in URL when building release candidates
%global rcx %{nil} %global rcx %{nil}
%global ghversion 1.66.0
%{?python_enable_dependency_generator} %{?python_enable_dependency_generator}
%if "%{rcx}"
%global rcv ~%{rcx}
%else
%global rcv %{nil}
%endif
Name: matrix-%{srcname} Name: matrix-%{srcname}
Version: 1.26.0 Version: %{ghversion}%{rcv}
Release: 1%{?dist} Release: 1%{?dist}
Summary: A Matrix reference homeserver written in Python using Twisted Summary: A Matrix reference homeserver written in Python using Twisted
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/matrix-org/%{srcname} URL: https://github.com/matrix-org/%{srcname}
Source0: %{url}/archive/v%{version}%{rcx}/%{srcname}-%{version}%{rcx}.tar.gz Source0: %{url}/archive/v%{ghversion}%{rcx}/%{srcname}-%{ghversion}%{rcx}.tar.gz
Source1: synapse.sysconfig Source1: synapse.sysconfig
Source2: synapse.service Source2: synapse.service
Source4: synapse@.service
Source3: matrix-synapse.sysusers
BuildArch: noarch BuildArch: noarch
Recommends: %{name}+postgres
Recommends: %{name}+systemd
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools
# Test dependencies
BuildRequires: python3-mock >= 2.0
BuildRequires: python3-parameterized >= 0.7.0
BuildRequires: /usr/bin/openssl BuildRequires: /usr/bin/openssl
BuildRequires: systemd-rpm-macros
# Package dependencies # Workaround missing python-saml2 dependencies in f35 and f36.
#BuildRequires: python3-txacme >= 0.9.2
BuildRequires: python3-attrs >= 19.1.0
BuildRequires: python3-authlib
BuildRequires: python3-bcrypt >= 3.1.0
BuildRequires: python3-bleach >= 1.4.3
BuildRequires: python3-canonicaljson >= 1.4.0
BuildRequires: python3-daemonize >= 2.3.1
BuildRequires: python3-frozendict >= 1.0
BuildRequires: python3-idna >= 2.5
BuildRequires: python3-jinja2 >= 2.9
BuildRequires: python3-jsonschema >= 2.5.1
BuildRequires: python3-jwt
BuildRequires: python3-lxml >= 3.5.0
BuildRequires: python3-matrix-synapse-ldap3 >= 0.1
BuildRequires: python3-msgpack >= 0.5.2
BuildRequires: python3-netaddr >= 0.7.18
BuildRequires: python3-phonenumbers >= 8.2.0
BuildRequires: python3-pillow >= 4.3.0
BuildRequires: python3-prometheus_client
BuildRequires: python3-pyOpenSSL >= 16.0.0
BuildRequires: python3-pyasn1 >= 0.1.9
BuildRequires: python3-pyasn1-modules >= 0.0.7
BuildRequires: python3-pymacaroons-pynacl >= 0.13.0
BuildRequires: python3-pynacl >= 1.2.1
BuildRequires: python3-pysaml2 >= 4.5.0
BuildRequires: python3-pyyaml >= 3.11
BuildRequires: python3-service-identity >= 18.1.0
BuildRequires: python3-signedjson >= 1.1.0
BuildRequires: python3-sortedcontainers >= 1.4.4
BuildRequires: python3-systemd >= 231
BuildRequires: python3-treq >= 15.1
BuildRequires: python3-twisted >= 18.9.0
BuildRequires: python3-typing-extensions >= 3.7.4
BuildRequires: python3-unpaddedbase64 >= 1.1.0
BuildRequires: systemd
BuildRequires: xmlsec1 BuildRequires: xmlsec1
BuildRequires: xmlsec1-openssl
Requires(pre): shadow-utils
Requires: systemd
%{?systemd_requires}
%description %description
Matrix is an ambitious new ecosystem for open federated Instant Messaging and Matrix is an ambitious new ecosystem for open federated Instant Messaging and
@ -74,67 +44,207 @@ to showcase the concept of Matrix and let folks see the spec in the context of
a coded base and let you run your own homeserver and generally help bootstrap a coded base and let you run your own homeserver and generally help bootstrap
the ecosystem. the ecosystem.
%pyproject_extras_subpkg -n %{name} matrix-synapse-ldap3 postgres saml2 oidc systemd url_preview jwt cache_memory
%prep %prep
%autosetup -p1 -n %{srcname}-%{version}%{rcx} %autosetup -p1 -n %{srcname}-%{ghversion}%{rcx}
#sed -i 's|"cryptography>=3.4.7",|"cryptography>=3.4",|' synapse/python_dependencies.py
#rm tests/storage/test_background_update.py
# We don't support the built-in client so remove all the bundled JS. # We don't support the built-in client so remove all the bundled JS.
rm -rf synapse/static rm -rf synapse/static
%generate_buildrequires
# Missing: sentry,opentracing,redis
%pyproject_buildrequires -x test,matrix-synapse-ldap3,postgres,saml2,oidc,systemd,url_preview,jwt,cache_memory
%build %build
%py3_build %pyproject_wheel
%install %install
%py3_install %pyproject_install
%py3_shebang_fix %{buildroot}%{python3_sitelib}/%{srcname}/_scripts
# Synapse includes some benchmarks in a separate Python package named "synmark" %pyproject_save_files %{srcname}
# which is installed by default. Remove it to avoid shipping it in the Fedora
# package, since it is unlikely to be useful to end users.
rm -r %{buildroot}%{python3_sitelib}/synmark/
install -p -D -T -m 0644 contrib/systemd/log_config.yaml %{buildroot}%{_sysconfdir}/synapse/log_config.yaml install -p -D -T -m 0644 contrib/systemd/log_config.yaml %{buildroot}%{_sysconfdir}/synapse/log_config.yaml
install -p -D -T -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/synapse install -p -D -T -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/synapse
install -p -D -T -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/synapse.service install -p -D -T -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/synapse.service
install -p -D -T -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/synapse@.service
install -p -d -m 755 %{buildroot}/%{_sharedstatedir}/synapse install -p -d -m 755 %{buildroot}/%{_sharedstatedir}/synapse
install -p -D -m 0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf
%check %check
PYTHONPATH=. trial-3 tests set -o pipefail
PYTHONPATH=%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}:$PWD trial-3 tests | tee trial.stdout
# Guard against new types of tests being skipped.
WHITELIST="Requires hiredis
Requires jaeger_client
Requires Postgres
\`BaseFederationServlet\` does not support cancellation yet."
REASONS=$(cat trial.stdout | sed -n '/^\[SKIPPED\]$/{n;p;}')
SKIPPED=$(comm -23 <(echo "$REASONS" | sort | uniq) <(echo "$WHITELIST" | sort | uniq))
if [ ! -z "$SKIPPED" ]; then
echo -e "Failing, because tests were skipped:\n$SKIPPED"
exit 1
fi
%pre %pre
getent group synapse >/dev/null || groupadd -r synapse %sysusers_create_compat %{SOURCE3}
getent passwd synapse >/dev/null || \
useradd -r -g synapse -d %{_sharedstatedir}/synapse -s /sbin/nologin \
-c "The user for the Synapse Matrix server" synapse
exit 0
%post %post
%systemd_post synapse.service %systemd_post synapse.service
%systemd_post synapse@*.service
%preun %preun
%systemd_preun synapse.service %systemd_preun synapse.service
%systemd_preun synapse@*.service
%postun %postun
%systemd_postun_with_restart synapse.service %systemd_postun_with_restart synapse.service
%systemd_postun_with_restart synapse@*.service
%files -f %{pyproject_files}
%files
%license LICENSE %license LICENSE
%doc *.rst %doc *.rst
%config(noreplace) %{_sysconfdir}/sysconfig/synapse %config(noreplace) %{_sysconfdir}/sysconfig/synapse
%{python3_sitelib}/synapse/
%{python3_sitelib}/matrix_synapse*.egg-info/
%{_bindir}/* %{_bindir}/*
%{_unitdir}/synapse.service %{_unitdir}/synapse.service
%{_unitdir}/synapse@.service
%attr(755,synapse,synapse) %dir %{_sharedstatedir}/synapse %attr(755,synapse,synapse) %dir %{_sharedstatedir}/synapse
%attr(755,synapse,synapse) %dir %{_sysconfdir}/synapse %attr(755,synapse,synapse) %dir %{_sysconfdir}/synapse
%attr(644,synapse,synapse) %config(noreplace) %{_sysconfdir}/synapse/* %attr(644,synapse,synapse) %config(noreplace) %{_sysconfdir}/synapse/*
%{_sysusersdir}/%{name}.conf
%changelog %changelog
* Tue Jul 26 2022 Kai A. Hiller <V02460@gmail.com> - 1.63.1-1
- Update to v1.63.1
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.62.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jul 14 2022 Kai A. Hiller <V02460@gmail.com> - 1.62.0-1
- Update to v1.62.0
* Wed Jun 29 2022 Kai A. Hiller <V02460@gmail.com> - 1.61.1-1
- Update to v1.61.1
- Fix CVE-2022-31052
* Tue Jun 14 2022 Kai A. Hiller <V02460@gmail.com> - 1.61.0-1
- Update to v1.61.0
* Thu Jun 09 2022 Kai A. Hiller <V02460@gmail.com> - 1.60.0-1
- Update to v1.60.0
* Thu May 19 2022 Kai A. Hiller <V02460@gmail.com> - 1.59.1-1
- Update to v1.59.1
* Wed May 18 2022 Kai A. Hiller <V02460@gmail.com> - 1.59.0-1
- Update to v1.59.0
* Wed May 04 2022 Kai A. Hiller <V02460@gmail.com> - 1.58.0-1
- Update to v1.58.0
* Thu Apr 21 2022 Dan Callaghan <djc@djc.id.au> - 1.57.0-1
- Update to v1.57.0
* Tue Apr 05 2022 Kai A. Hiller <V02460@gmail.com> - 1.56.0-1
- Update to v1.56.0
* Thu Mar 24 2022 Kai A. Hiller <V02460@gmail.com> - 1.55.0-1
- Update to v1.55.0
* Tue Mar 08 2022 Kai A. Hiller <V02460@gmail.com> - 1.54.0-1
- Update to v1.54.0
* Tue Feb 22 2022 Kai A. Hiller <V02460@gmail.com> - 1.53.0-1
- Update to v1.53.0
* Wed Feb 09 2022 Kai A. Hiller <V02460@gmail.com> - 1.52.0-2
- Backport: Fix losing incoming EDUs if debug logging enabled
* Tue Feb 08 2022 Kai A. Hiller <V02460@gmail.com> - 1.52.0-1
- Update to v1.52.0
- Create synapse user and group declaratively
* Thu Jan 27 2022 Kai A. Hiller <V02460@gmail.com> - 1.51.0-1
- Update to v1.51.0
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Dec 21 2021 Kai A. Hiller <V02460@gmail.com> - 1.49.2-1
- Update to v1.49.2
* Tue Dec 14 2021 Kai A. Hiller <V02460@gmail.com> - 1.49.0-1
- Update to v1.49.0
* Tue Nov 30 2021 Kai A. Hiller <V02460@gmail.com> - 1.48.0-1
- Update to v1.48.0
* Wed Nov 24 2021 Kai A. Hiller <V02460@gmail.com> - 1.47.1-1
- Update to v1.47.1
- Fix CVE-2021-41281
* Fri Nov 19 2021 Kai A. Hiller <V02460@gmail.com> - 1.47.0-1
- Update to v1.47.0
* Thu Nov 04 2021 Kai A. Hiller <V02460@gmail.com> - 1.46.0-1
- Update to v1.46.0
* Thu Oct 21 2021 Kai A. Hiller <V02460@gmail.com> - 1.45.1-1
- Update to v1.45.1
* Mon Oct 18 2021 Kai A. Hiller <V02460@gmail.com> - 1.44.0-1
- Update to v1.44.0
* Thu Sep 09 2021 Kai A. Hiller <V02460@gmail.com> - 1.42.0-1
- Update to v1.42.0
* Tue Aug 31 2021 Kai A. Hiller <V02460@gmail.com> - 1.41.1-1
- Update to v1.41.1
- Fix CVE-2021-39163, CVE-2021-39164
* Tue Aug 24 2021 Kai A. Hiller <V02460@gmail.com> - 1.41.0-1
- Update to v1.41.0
* Tue Aug 10 2021 Kai A. Hiller <V02460@gmail.com> - 1.40.0-1
- Update to v1.40.0
* Thu Jul 29 2021 Kai A. Hiller <V02460@gmail.com> - 1.39.0-1
- Update to v1.39.0
* Fri Jul 23 2021 Kai A. Hiller <V02460@gmail.com> - 1.38.1-1
- Update to v1.38.1
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.38.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun Jul 18 2021 Dan Callaghan <djc@djc.id.au> - 1.38.0-2
- fix startup ordering of synapse.service (RHBZ#1910740)
- relax version requirement for python3-cryptography
* Wed Jul 14 2021 Kai A. Hiller <V02460@gmail.com> - 1.38.0-1
- Update to v1.38.0
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.26.0-3
- Rebuilt for Python 3.10
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.26.0-2
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Thu Jan 28 2021 Kai A. Hiller <V02460@gmail.com> - 1.26.0-1 * Thu Jan 28 2021 Kai A. Hiller <V02460@gmail.com> - 1.26.0-1
- Update to v1.26.0 - Update to v1.26.0

2
matrix-synapse.sysusers Normal file
View file

@ -0,0 +1,2 @@
#Type Name ID GECOS Home directory Shell
u synapse - "Runs the Synapse Matrix homeserver" /run/synapse /sbin/nologin

View file

@ -1 +0,0 @@
SHA512 (synapse-1.26.0.tar.gz) = 82ca85aa4dc1e3220f89e7f6815786135fa9bd0b33a1055f63b309b1fa193eeb993f832db573586945191e7195e42926c5342776b249dbc8e83daf4c196f00a4

View file

@ -1,5 +1,6 @@
[Unit] [Unit]
Description=Synapse Matrix homeserver Description=Synapse Matrix homeserver
After=network-online.target postgresql.service
[Service] [Service]
Type=notify Type=notify
@ -7,7 +8,7 @@ NotifyAccess=main
User=synapse User=synapse
Group=synapse Group=synapse
WorkingDirectory=/var/lib/synapse WorkingDirectory=/var/lib/synapse
ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml ExecStart=/usr/bin/synapse_homeserver --config-path=/etc/synapse/homeserver.yaml
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
# EnvironmentFile=-/etc/sysconfig/synapse # Can be used to e.g. set SYNAPSE_CACHE_FACTOR # EnvironmentFile=-/etc/sysconfig/synapse # Can be used to e.g. set SYNAPSE_CACHE_FACTOR
SyslogIdentifier=synapse SyslogIdentifier=synapse

70
synapse@.service Normal file
View file

@ -0,0 +1,70 @@
[Unit]
Description=Synapse Worker %i
AssertPathExists=/etc/synapse/workers/%i.yaml
# This service should be restarted when the synapse target is restarted.
#PartOf=synapse.target
#ReloadPropagatedFrom=synapse.target
# if this is started at the same time as the main, let the main process start
# first, to initialise the database schema.
After=synapse.service
[Service]
Type=notify
NotifyAccess=main
User=synapse
WorkingDirectory=/var/lib/synapse
ExecStart=/usr/bin/synapse_worker --config-path=/etc/synapse/homeserver.yaml --config-path=/etc/synapse/workers/%i.yaml
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=3
SyslogIdentifier=synapse-%i
Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
CPUAccounting=on
MemoryAccounting=on
MemoryHigh=500M
MemoryMax=1G
MemorySwapMax=1G
CPUWeight=75
PrivateTmp=yes
PrivateDevices=true
PrivateUsers=true
CapabilityBoundingSet=
AmbientCapabilities=
DevicePolicy=closed
ProtectSystem=strict
ProtectHome=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectClock=true
ProtectKernelLogs=yes
ProtectHostname=true
ProtectProc=invisible
ProcSubset=pid
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
NoNewPrivileges=yes
LockPersonality=yes
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallFilter=~@privileged @resources @obsolete
RemoveIPC=true
[Install]
WantedBy=multi-user.target