2024-05-18 15:16:58 +00:00
|
|
|
packaging_format = 2
|
|
|
|
|
2024-05-22 18:35:41 +00:00
|
|
|
id = "snikket"
|
|
|
|
name = "Snikket"
|
2024-05-24 23:35:07 +00:00
|
|
|
description.en = "Chat that is simple, secure, and private"
|
2024-05-25 01:19:34 +00:00
|
|
|
# TODO: post_cert_update hook to steal certs
|
|
|
|
# TODO: Deal with /var/www/snikket
|
|
|
|
# TODO: Remove cert check (and import certs)
|
2024-05-18 15:16:58 +00:00
|
|
|
|
2024-05-22 18:42:09 +00:00
|
|
|
version = "2024.02.21~ynh1"
|
2024-05-18 15:16:58 +00:00
|
|
|
|
2024-05-22 18:35:41 +00:00
|
|
|
maintainers = ["NorbiPeti"]
|
2024-05-18 15:16:58 +00:00
|
|
|
|
|
|
|
[upstream]
|
2024-05-22 18:35:41 +00:00
|
|
|
license = "Apache"
|
|
|
|
website = "https://snikket.org/"
|
2024-05-24 23:35:07 +00:00
|
|
|
admindoc = "https://snikket.org/service/help/"
|
2024-05-22 18:35:41 +00:00
|
|
|
code = "https://github.com/snikket-im/snikket-server/"
|
2024-05-24 23:35:07 +00:00
|
|
|
fund = "https://snikket.org/donate/"
|
2024-05-18 15:16:58 +00:00
|
|
|
|
|
|
|
[integration]
|
2024-11-03 00:07:24 +00:00
|
|
|
yunohost = ">= 12.0"
|
2024-05-18 15:16:58 +00:00
|
|
|
architectures = "all"
|
|
|
|
multi_instance = false
|
|
|
|
|
|
|
|
ldap = false
|
|
|
|
|
2024-11-03 00:07:24 +00:00
|
|
|
sso = "not_relevant"
|
2024-05-18 15:16:58 +00:00
|
|
|
|
|
|
|
disk = "50M"
|
|
|
|
ram.build = "50M"
|
|
|
|
ram.runtime = "50M"
|
|
|
|
|
|
|
|
[install]
|
2024-05-24 23:35:07 +00:00
|
|
|
[install.domain]
|
|
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
2024-11-03 00:07:24 +00:00
|
|
|
type = "domain" # TODO: The web interface and XMPP domains should be separated
|
2024-05-24 23:35:07 +00:00
|
|
|
[install.admin]
|
2024-05-25 01:19:34 +00:00
|
|
|
type = "email"
|
|
|
|
ask.en = "Administrator E-mail"
|
|
|
|
help.en = "Provide an E-mail address where users can contact you"
|
2024-05-27 22:00:22 +00:00
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
2024-11-03 00:07:24 +00:00
|
|
|
default = "all_users"
|
2024-05-18 15:16:58 +00:00
|
|
|
|
|
|
|
[resources]
|
2024-05-22 21:20:14 +00:00
|
|
|
[resources.sources.main]
|
2024-11-03 00:07:24 +00:00
|
|
|
url = "snikket/snikket-server:stable.20240926"
|
2024-05-22 21:20:14 +00:00
|
|
|
sha256 = "f33ad5ccddb52bb08059b0b7b0b38ab4d7ceb1304866b214ce554546efface06"
|
2024-11-03 00:07:24 +00:00
|
|
|
format = "docker"
|
|
|
|
prefetch = false
|
2024-05-22 21:20:14 +00:00
|
|
|
[resources.sources.prosody]
|
2024-11-03 00:07:24 +00:00
|
|
|
url = "https://hg.prosody.im/trunk/archive/3e6d5738ea09.tar.gz"
|
|
|
|
sha256 = "78a01a43499e685b64dd3730dac04821007b80ba1740381ff0b537f04e1a6523"
|
2024-05-27 22:00:22 +00:00
|
|
|
[resources.sources.snikket-portal]
|
2024-11-03 00:07:24 +00:00
|
|
|
url = "snikket/snikket-web-portal:stable.20240926"
|
|
|
|
sha256 = "5c6a4961ee88672ef4fe9fcb8171a68055b9133d500f563b541b4bb5a5edaf42"
|
2024-06-10 01:23:02 +00:00
|
|
|
format = "docker"
|
|
|
|
prefetch = false # Prefetch doesn't seem to be supported with Docker images
|
2024-05-18 15:16:58 +00:00
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.data_dir]
|
|
|
|
|
2024-05-26 22:08:46 +00:00
|
|
|
[resources.ports] # TODO: TURN server ports
|
2024-05-18 15:16:58 +00:00
|
|
|
file.default=5000
|
2024-05-26 22:08:46 +00:00
|
|
|
file.exposed="TCP"
|
|
|
|
file.fixed=true
|
2024-05-18 15:16:58 +00:00
|
|
|
client.default=5222
|
2024-05-26 22:08:46 +00:00
|
|
|
client.exposed="TCP"
|
|
|
|
client.fixed=true
|
2024-05-18 15:16:58 +00:00
|
|
|
server.default=5269
|
2024-05-26 22:08:46 +00:00
|
|
|
server.exposed="TCP"
|
|
|
|
server.fixed=true
|
2024-05-27 22:00:22 +00:00
|
|
|
http.default=5280
|
2024-06-10 01:23:02 +00:00
|
|
|
main.exposed="TCP"
|
2024-05-18 15:16:58 +00:00
|
|
|
|
|
|
|
[resources.permissions]
|
2024-05-27 22:00:22 +00:00
|
|
|
main.url = "/"
|
|
|
|
main.additional_urls = [ "groups.__DOMAIN__/", "share.__DOMAIN__/" ]
|
2024-05-18 15:16:58 +00:00
|
|
|
|
|
|
|
[resources.apt]
|
2024-11-03 00:07:24 +00:00
|
|
|
packages = """
|
|
|
|
libicu-dev, libssl-dev,
|
|
|
|
lua-dbi-sqlite3, build-essential, python3-dev, python3-pip, python3-venv,
|
|
|
|
lua5.4, liblua5.4-dev,
|
|
|
|
lua5.4-expat, lua5.4-sec, lua5.4-unbound, qrencode
|
|
|
|
"""
|