2023-06-04 10:58:53 +02:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "hubzilla"
|
|
|
|
name = "Hubzilla"
|
2023-06-04 11:23:42 +02:00
|
|
|
description.en = "Decentralized publication platform and social network"
|
|
|
|
description.fr = "Plateforme de publication décentralisée et un réseau social"
|
2023-06-04 10:58:53 +02:00
|
|
|
|
2023-10-01 22:09:42 +02:00
|
|
|
version = "8.6.1~ynh3"
|
2023-06-04 10:58:53 +02:00
|
|
|
|
2023-08-13 11:59:51 +02:00
|
|
|
maintainers = [""]
|
2023-06-04 10:58:53 +02:00
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "MIT"
|
|
|
|
website = "https://zotlabs.org/page/hubzilla/hubzilla-project"
|
|
|
|
code = "https://framagit.org/hubzilla/core"
|
|
|
|
|
|
|
|
[integration]
|
2023-08-13 11:23:21 +02:00
|
|
|
yunohost = ">= 11.2"
|
2023-06-04 11:04:59 +02:00
|
|
|
architectures = "all"
|
2023-06-04 10:58:53 +02:00
|
|
|
multi_instance = true
|
2023-06-04 11:23:42 +02:00
|
|
|
ldap = true
|
2023-06-04 11:57:04 +02:00
|
|
|
sso = true
|
2023-06-04 11:04:59 +02:00
|
|
|
disk = "50M"
|
2023-06-04 11:57:04 +02:00
|
|
|
ram.build = "200M"
|
2023-06-04 11:04:59 +02:00
|
|
|
ram.runtime = "50M"
|
2023-06-04 10:58:53 +02:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
2023-10-01 22:09:42 +02:00
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
2023-06-04 10:58:53 +02:00
|
|
|
[install.admin]
|
|
|
|
type = "user"
|
|
|
|
|
|
|
|
[install.database]
|
2023-06-04 11:57:04 +02:00
|
|
|
ask.en = "Choose Hubzilla database"
|
2023-06-04 10:58:53 +02:00
|
|
|
ask.fr = "Choisissez la database de Hubzilla"
|
2023-10-01 22:09:42 +02:00
|
|
|
type = "select"
|
2023-06-04 10:58:53 +02:00
|
|
|
choices = ["mysql", "postgresql"]
|
|
|
|
default = "mysql"
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.sources]
|
|
|
|
[resources.sources.main]
|
2023-08-13 11:23:21 +02:00
|
|
|
url = "https://framagit.org/hubzilla/core/-/archive/8.6.1/core-8.6.1.tar.gz"
|
|
|
|
sha256 = "16c2d5426725ad82d8bdcbfcfdc9457d14f6c636bb521b61353566101412a96e"
|
2023-06-04 10:58:53 +02:00
|
|
|
|
2023-06-04 11:23:42 +02:00
|
|
|
[resources.sources.addons]
|
2023-08-13 11:45:36 +02:00
|
|
|
url = "https://framagit.org/hubzilla/addons/-/archive/8.6.1/addons-8.6.1.tar.gz"
|
|
|
|
sha256 = "6dad585ca61511043625b197c0d74e84a293c67f187bdf0d4752a5b88537d288"
|
2023-06-04 10:58:53 +02:00
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
|
2023-06-04 11:04:59 +02:00
|
|
|
[resources.apt]
|
2023-10-01 22:09:42 +02:00
|
|
|
packages = "php8.2-curl, php8.2-gd, php8.2-mysql, php8.2-pgsql, php8.2-mbstring, php8.2-xml, php8.2-zip, php8.2-cli, php8.2-imagick"
|
2023-06-04 11:23:42 +02:00
|
|
|
|
|
|
|
packages_from_raw_bash = """
|
|
|
|
if [[ "$database" == "mysql" ]]; then
|
|
|
|
echo "mariadb-server"
|
|
|
|
elif [[ "$database" == "postgresql" ]]; then
|
|
|
|
echo "postgresql postgresql-contrib"
|
|
|
|
fi
|
|
|
|
"""
|