2023-02-19 18:59:53 +01:00
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"
2024-01-06 05:16:01 +01:00
version = "1.8.5~ynh1"
2023-02-19 18:59:53 +01:00
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 ]
2023-09-14 15:23:23 +02:00
yunohost = ">= 11.2"
2023-02-19 18:59:53 +01:00
architectures = "all"
multi_instance = true
2023-02-20 12:39:53 +01:00
ldap = true
sso = false
2023-02-21 22:50:06 +01:00
disk = "80M"
ram . build = "400M"
ram . runtime = "50M"
2023-02-19 18:59:53 +01:00
[ 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 ]
2023-09-14 15:23:23 +02:00
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."
2023-02-19 18:59:53 +01:00
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"
2023-09-14 15:23:23 +02:00
type = "select"
2023-02-19 18:59:53 +01:00
choices = [ "fr" , "en" , "de" ]
default = "en"
[ resources ]
2023-09-14 15:23:23 +02:00
2023-09-23 22:36:31 +02:00
# The main source is only used to auto-update the package
2023-09-14 15:23:23 +02:00
[ resources . sources . main ]
2023-09-23 22:36:31 +02:00
prefetch = false
2024-01-06 05:16:01 +01:00
url = "https://github.com/flarum/framework/archive/refs/tags/v1.8.5.tar.gz"
sha256 = "c5773a53974587b33f1c362a510351b5900887cd92eca7602ea4dd93b1639e7e"
2023-09-23 22:36:31 +02:00
autoupdate . upstream = "https://github.com/flarum/framework"
autoupdate . strategy = "latest_github_tag"
# The flarum source is the one actually being installed
[ resources . sources . flarum ]
2024-01-02 17:16:07 +01:00
url = "https://github.com/flarum/flarum/archive/refs/tags/v1.8.1.tar.gz"
sha256 = "25ab0e3f44944ab478dd1076d4ada60a4f1a6255cb291423011d35b341f32570"
2023-09-23 22:36:31 +02:00
autoupdate . upstream = "https://github.com/flarum/flarum"
2023-09-14 15:23:23 +02:00
autoupdate . strategy = "latest_github_tag"
2023-02-19 18:59:53 +01:00
[ resources . system_user ]
[ resources . install_dir ]
[ resources . permissions ]
main . url = "/"
[ resources . apt ]
2023-09-14 15:23:23 +02:00
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"
2023-02-19 18:59:53 +01:00
[ resources . database ]
type = "mysql"