snikket_ynh/manifest.toml

75 lines
2.1 KiB
TOML

packaging_format = 2
id = "snikket"
name = "Snikket"
description.en = "Chat that is simple, secure, and private"
version = "2024.02.21~ynh1"
maintainers = ["NorbiPeti"]
[upstream]
license = "Apache"
website = "https://snikket.org/"
admindoc = "https://snikket.org/service/help/"
code = "https://github.com/snikket-im/snikket-server/"
fund = "https://snikket.org/donate/"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = false
ldap = false
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]
# this is a generic question - ask strings are automatically handled by YunoHost's core
type = "domain"
[install.admin]
type = "user"
[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"
[resources.system_user]
[resources.install_dir]
[resources.data_dir]
[resources.ports] # TODO
file.default=5000
client.default=5222
server.default=5269
xmpp.default=5280
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"
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
"""