2019-10-10 12:59:06 +02:00
|
|
|
name: matrix-synapse
|
|
|
|
base: core18
|
2020-02-27 13:47:40 +01:00
|
|
|
version: git
|
2019-10-10 12:59:06 +02:00
|
|
|
summary: Reference Matrix homeserver
|
|
|
|
description: |
|
|
|
|
Synapse is the reference Matrix homeserver.
|
|
|
|
Matrix is a federated and decentralised instant messaging and VoIP system.
|
|
|
|
|
2020-02-27 13:47:40 +01:00
|
|
|
grade: stable
|
|
|
|
confinement: strict
|
2019-10-10 12:59:06 +02:00
|
|
|
|
|
|
|
apps:
|
2020-02-27 13:47:40 +01:00
|
|
|
matrix-synapse:
|
2019-10-10 12:59:06 +02:00
|
|
|
command: synctl --no-daemonize start $SNAP_COMMON/homeserver.yaml
|
|
|
|
stop-command: synctl -c $SNAP_COMMON stop
|
|
|
|
plugs: [network-bind, network]
|
2020-02-27 13:47:40 +01:00
|
|
|
daemon: simple
|
|
|
|
hash-password:
|
|
|
|
command: hash_password
|
|
|
|
generate-config:
|
|
|
|
command: generate_config
|
|
|
|
generate-signing-key:
|
2022-03-02 14:00:16 +01:00
|
|
|
command: generate_signing_key
|
2020-02-27 13:47:40 +01:00
|
|
|
register-new-matrix-user:
|
|
|
|
command: register_new_matrix_user
|
|
|
|
plugs: [network]
|
|
|
|
synctl:
|
|
|
|
command: synctl
|
2019-10-10 12:59:06 +02:00
|
|
|
parts:
|
|
|
|
matrix-synapse:
|
|
|
|
source: .
|
|
|
|
plugin: python
|
|
|
|
python-version: python3
|
2019-11-14 19:42:46 +01:00
|
|
|
python-packages:
|
|
|
|
- '.[all]'
|
2020-04-17 18:28:00 +02:00
|
|
|
- pip
|
|
|
|
- setuptools
|
|
|
|
- setuptools-scm
|
|
|
|
- wheel
|
2019-11-14 19:42:46 +01:00
|
|
|
build-packages:
|
|
|
|
- libffi-dev
|
|
|
|
- libturbojpeg0-dev
|
|
|
|
- libssl-dev
|
|
|
|
- libxslt1-dev
|
|
|
|
- libpq-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
stage-packages:
|
|
|
|
- libasn1-8-heimdal
|
|
|
|
- libgssapi3-heimdal
|
|
|
|
- libhcrypto4-heimdal
|
|
|
|
- libheimbase1-heimdal
|
|
|
|
- libheimntlm0-heimdal
|
|
|
|
- libhx509-5-heimdal
|
|
|
|
- libkrb5-26-heimdal
|
|
|
|
- libldap-2.4-2
|
|
|
|
- libpq5
|
|
|
|
- libsasl2-2
|