snikket_ynh/manifest.toml

81 lines
2.3 KiB
TOML
Raw Normal View History

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)
# TODO: Paths are all wrong
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]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = false
ldap = false
sso = false
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
type = "domain"
[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-18 15:16:58 +00:00
[resources]
[resources.sources.main]
url = "https://github.com/snikket-im/snikket-server/archive/refs/tags/stable.20240221.tar.gz"
sha256 = "f33ad5ccddb52bb08059b0b7b0b38ab4d7ceb1304866b214ce554546efface06"
[resources.sources.prosody]
url = "https://hg.prosody.im/trunk/archive/41a587613a0e.tar.gz"
sha256 = "701ce4761b1979614712ac9c9c13cb700415469a8e11ed9e3140fd6795bbcdcd"
[resources.sources.prosody-modules]
url = "https://hg.prosody.im/prosody-modules/archive/095030677ae6.tar.gz"
sha256 = "8c2a51ef72cbe86a3b2a8e5c4d8656ee1d167f153223b481b5e8c4c5ed85f11d"
2024-05-18 15:16:58 +00:00
[resources.system_user]
[resources.install_dir]
[resources.data_dir]
2024-05-24 23:35:07 +00:00
[resources.ports] # TODO
2024-05-18 15:16:58 +00:00
file.default=5000
client.default=5222
server.default=5269
2024-05-24 23:35:07 +00:00
xmpp.default=5280
2024-05-18 15:16:58 +00:00
https.default=5281
component.default=5347
telnet.default=5582
[resources.permissions]
[resources.apt]
packages = "libicu-dev, libidn11-dev, libssl-dev, openssl, txt2man, lua-luaossl, lua-readline, dns-root-data, lua-dbi-sqlite3"
2024-05-18 15:16:58 +00:00
packages_from_raw_bash = """
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
echo "lua5.2, lua5.2-expat, lua5.2-socket, lua5.2-sec, lua5.2-unbound, liblua5.2-dev, lua-busted";
elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then
echo "lua5.4, lua5.4-expat, lua5.4-socket, lua5.4-sec, lua5.4-unbound, liblua5.4-dev, lua-busted";
fi
"""