mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
99 lines
3.1 KiB
TOML
99 lines
3.1 KiB
TOML
packaging_format = 2
|
|
|
|
id = "flarum"
|
|
name = "Flarum"
|
|
description.en = "Next-generation forum made simple"
|
|
description.fr = "Forum de nouvelle génération, simplement"
|
|
description.de = "Forum der nächsten Generation leicht gemacht"
|
|
|
|
version = "1.8.2~ynh1"
|
|
|
|
maintainers = ["tituspijean"]
|
|
|
|
[upstream]
|
|
license = "MIT"
|
|
website = "https://flarum.org"
|
|
demo = "https://discuss.flarum.org/d/21101-demos-come-to-flarum"
|
|
admindoc = "https://docs.flarum.org"
|
|
code = "https://github.com/flarum/framework"
|
|
cpe = "cpe:2.3:a:flarum:flarum"
|
|
fund = "https://flarum.org/donate/"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2"
|
|
architectures = "all"
|
|
multi_instance = true
|
|
ldap = true
|
|
sso = false
|
|
disk = "80M"
|
|
ram.build = "400M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
type = "path"
|
|
default = "/flarum"
|
|
|
|
[install.admin]
|
|
type = "user"
|
|
|
|
[install.password]
|
|
help.en = "Choose your password. It will be useful if logging in from YunoHost fails or is disrupted."
|
|
help.fr = "Choisissez votre mot de passe. Il sera utile si la connexion via YunoHost échoue ou est perturbée."
|
|
type = "password"
|
|
|
|
[install.title]
|
|
ask.en = "Choose a title for your forum"
|
|
ask.fr = "Choisissez un titre pour votre forum"
|
|
ask.de = "Wählen einen Titel für eure Internetforum"
|
|
type = "string"
|
|
example = "My forum"
|
|
default = "My forum"
|
|
|
|
[install.init_main_permission]
|
|
help.en = "If set to 'visitors', it will be open to all visitors like any forum. If private, only the YunoHost server users can access it."
|
|
help.fr = "Si défini sur 'visiteurs', le forum sera accessible à tous, comme pour tout forum. Si privé, seuls les utilisateurs du serveur YunoHost pourront y accéder."
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[install.language]
|
|
ask.en = "Choose the application language"
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
ask.de = "Wählen Sie eine Sprache"
|
|
type = "select"
|
|
choices = ["fr", "en", "de"]
|
|
default = "en"
|
|
|
|
[resources]
|
|
|
|
# The main source is only used to auto-update the package
|
|
[resources.sources.main]
|
|
prefetch = false
|
|
url = "https://github.com/flarum/framework/archive/refs/tags/v1.8.2.tar.gz"
|
|
sha256 = "b1db07a9f0bdbd1b04b22e3c460de7e830f41d0c6f92264338309dbb7e148b1d"
|
|
autoupdate.upstream = "https://github.com/flarum/framework"
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
# The flarum source is the one actually being installed
|
|
[resources.sources.flarum]
|
|
url = "https://github.com/flarum/flarum/archive/refs/tags/v1.8.0.tar.gz"
|
|
sha256 = "33e0722882670b217637e6c3e410056be6b999507ee68567415f1adb4a064929"
|
|
autoupdate.upstream = "https://github.com/flarum/flarum"
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
|
|
[resources.apt]
|
|
packages = "mariadb-server, php8.2-curl, php8.2-dom, php8.2-gd, php8.2-mbstring, php8.2-pdo-mysql, php8.2-tokenizer, php8.2-zip, php8.2-ldap"
|
|
|
|
[resources.database]
|
|
type = "mysql"
|