forked from YunoHost-Apps/hubzilla_ynh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.toml
71 lines (55 loc) · 1.84 KB
/
manifest.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
packaging_format = 2
id = "hubzilla"
name = "Hubzilla"
description.en = "Decentralized publication platform and social network"
description.fr = "Plateforme de publication décentralisée et un réseau social"
version = "8.6.3~ynh1"
maintainers = [""]
[upstream]
license = "MIT"
website = "https://zotlabs.org/page/hubzilla/hubzilla-project"
code = "https://framagit.org/hubzilla/core"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = true
sso = true
disk = "50M"
ram.build = "200M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.admin]
type = "user"
[install.database]
ask.en = "Choose Hubzilla database"
ask.fr = "Choisissez la database de Hubzilla"
type = "select"
choices = ["mysql", "postgresql"]
default = "mysql"
[resources]
[resources.sources]
[resources.sources.main]
url = "https://framagit.org/hubzilla/core/-/archive/8.6.3/core-8.6.3.tar.gz"
sha256 = "51ad07048232bbd9d497eda9b1890f69a20d9faee7a610b7e53850c5c6a134b7"
[resources.sources.addons]
url = "https://framagit.org/hubzilla/addons/-/archive/8.6.3/addons-8.6.3.tar.gz"
sha256 = "4a3194af2333867a109135d9d2493f9f18aa8ec01402634e1e45303a89fbe40f"
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.apt]
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"
packages_from_raw_bash = """
if [[ "$database" == "mysql" ]]; then
echo "mariadb-server"
elif [[ "$database" == "postgresql" ]]; then
echo "postgresql postgresql-contrib"
fi
"""