mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
79 lines
4.2 KiB
TOML
79 lines
4.2 KiB
TOML
|
packaging_format = 2
|
||
|
|
||
|
id = "synapse"
|
||
|
name = "Synapse"
|
||
|
description.en = "Instant messaging server which uses Matrix"
|
||
|
description.fr = "Serveur de messagerie instantané basé sur Matrix"
|
||
|
|
||
|
version = "1.95.0~ynh1"
|
||
|
|
||
|
maintainers = ["Josué Tille"]
|
||
|
|
||
|
[upstream]
|
||
|
license = "Apache-2.0"
|
||
|
website = "https://matrix.org/"
|
||
|
code = "https://github.com/matrix-org/synapse"
|
||
|
cpe = "???" # FIXME: optional but recommended if relevant, this is meant to contain the Common Platform Enumeration, which is sort of a standard id for applications defined by the NIST. In particular, Yunohost may use this is in the future to easily track CVE (=security reports) related to apps. The CPE may be obtained by searching here: https://nvd.nist.gov/products/cpe/search. For example, for Nextcloud, the CPE is 'cpe:2.3:a:nextcloud:nextcloud' (no need to include the version number)
|
||
|
fund = "???" # FIXME: optional but recommended (or remove if irrelevant / not applicable). This is meant to be an URL where people can financially support this app, especially when its development is based on volunteers and/or financed by its community. YunoHost may later advertise it in the webadmin.
|
||
|
|
||
|
[integration]
|
||
|
yunohost = ">= 11.2"
|
||
|
architectures = "all" # FIXME: can be replaced by a list of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386"]
|
||
|
multi_instance = true
|
||
|
ldap = "?" # FIXME: replace with true, false, or "not_relevant". Not to confuse with the "sso" key : the "ldap" key corresponds to wether or not a user *can* login on the app using its YunoHost credentials.
|
||
|
sso = "?" # FIXME: replace with true, false, or "not_relevant". Not to confuse with the "ldap" key : the "sso" key corresponds to wether or not a user is *automatically logged-in* on the app when logged-in on the YunoHost portal.
|
||
|
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
|
||
|
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
||
|
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
||
|
|
||
|
[install]
|
||
|
[install.domain]
|
||
|
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
||
|
type = "domain"
|
||
|
|
||
|
[install.server_name]
|
||
|
ask.en = "If your Synapse domain is a subdomain, you can choose a name for your Synapse server to have your Matrix user-ids looking like @user:domain.org instead of @user:synapse.domain.org"
|
||
|
ask.fr = "Si votre domaine pour Synapse est un sous-domaine, vous pouvez choisir un nom pour votre serveur Synapse afin que vos identifiants Matrix soient @utilisateur:domain.org plutôt que @utilisateur:synapse.domain.org"
|
||
|
type = "string"
|
||
|
example = "domain.org"
|
||
|
default = "Same than the domain"
|
||
|
|
||
|
[install.is_free_registration]
|
||
|
ask.en = "Is it a server with free registration?"
|
||
|
ask.fr = "Est-ce un serveur avec création de compte libre ?"
|
||
|
help.en = "A public server means that anybody will be able to register on this server."
|
||
|
help.fr = "Un serveur public signifie que n'importe qui pourra s'enregistrer sur ce serveur."
|
||
|
type = "boolean"
|
||
|
default = false
|
||
|
|
||
|
[install.jitsi_server]
|
||
|
ask.en = "Jitsi server address for conferencing?"
|
||
|
ask.fr = "Adresse du serveur Jitsi pour les conférences ?"
|
||
|
type = "string"
|
||
|
example = "domain.org"
|
||
|
default = "jitsi.riot.im"
|
||
|
|
||
|
[resources]
|
||
|
[resources.sources]
|
||
|
[resources.sources.armv7_bookworm]
|
||
|
url = "https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.95.0/matrix-synapse_1.95.0-bookworm-bin1_armv7l.tar.gz"
|
||
|
sha256 = "1a1d9248b139f67d23a89a20745d14d88c5b8627f76872d7f94f66952b5f1253"
|
||
|
|
||
|
[resources.sources.armv7_bullseye]
|
||
|
url = "https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.95.0/matrix-synapse_1.95.0-bullseye-bin1_armv7l.tar.gz"
|
||
|
sha256 = "97e9942bea9bcecc2a75228255a1824298300302559a9332e50816fa54193738"
|
||
|
|
||
|
|
||
|
[resources.system_user]
|
||
|
|
||
|
[resources.install_dir]
|
||
|
|
||
|
[resources.permissions]
|
||
|
|
||
|
[resources.ports]
|
||
|
synapse_tls.default = 8448
|
||
|
main.default = 8008
|
||
|
turnserver_tls.default = 5349
|
||
|
turnserver_alt_tls.default = 12345
|
||
|
cli.default = 5766
|