packaging_format = 2 id = "snikket" name = "Snikket" description.en = "XMPP-based 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/quickstart/" code = "https://github.com/snikket-im/snikket-server/" [integration] yunohost = ">= 11.2" architectures = "all" multi_instance = false ldap = false sso = false disk = "50M" ram.build = "50M" ram.runtime = "50M" [install] [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.system_user] [resources.install_dir] [resources.data_dir] [resources.ports] file.default=5000 client.default=5222 server.default=5269 http.default=5280 https.default=5281 component.default=5347 telnet.default=5582 [resources.permissions] [resources.apt] packages = "libicu-dev, libidn11-dev, libssl-dev, openssl, txt2man" 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 """