2023-12-11 17:56:26 +01:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "diacamma"
|
|
|
|
name = "Diacamma"
|
|
|
|
|
|
|
|
description.en = "Management application for volunteers (association, condominium)"
|
|
|
|
description.fr = "Application de gestion pour les bénévoles (association, copropriété)"
|
|
|
|
|
|
|
|
version = "23.10.25.13~ynh1"
|
|
|
|
|
|
|
|
maintainers = ["Laurent Gay"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "GNU General Public License v3.0"
|
|
|
|
website = "https://www.diacamma.org"
|
|
|
|
|
|
|
|
code = "https://github.com/Diacamma2/"
|
|
|
|
|
|
|
|
[integration]
|
|
|
|
yunohost = '>= 11.2'
|
|
|
|
# List of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386']
|
|
|
|
architectures = "all" # TODO : handle the "all" option (no ["all"])
|
|
|
|
multi_instance = true
|
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
|
|
|
ram.build = "50M"
|
|
|
|
ram.runtime = "50M"
|
|
|
|
|
|
|
|
[install]
|
|
|
|
|
|
|
|
[install.domain]
|
|
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
|
type = "path"
|
|
|
|
default = "/diacamma"
|
|
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
|
# This won't be saved as setting and will instead be used to initialize the SSOwat permission
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
|
|
|
[install.lct_appli]
|
|
|
|
ask.en = "Application"
|
|
|
|
help.en = "What application do you want to install?"
|
|
|
|
ask.fr = "Application"
|
|
|
|
help.fr = "Quelle application voulez-vous installer ?"
|
|
|
|
type = "string"
|
|
|
|
choices.asso = "Asso"
|
|
|
|
choices.syndic = "Syndic"
|
|
|
|
|
|
|
|
[install.language]
|
|
|
|
ask.en = "Choose the application language"
|
|
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
|
|
type = "select"
|
|
|
|
choices = ["en","fr"]
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
# See the packaging documentation for the full set
|
|
|
|
# of explanation regarding the behavior and properties for each of those
|
|
|
|
# https://yunohost.org/packaging_apps_resources
|
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
# This will provision/deprovision a unix system user
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
# This will create/remove the install dir as /var/www/$app
|
|
|
|
# and store the corresponding setting $install_dir
|
|
|
|
|
|
|
|
[resources.data_dir]
|
|
|
|
# This will create/remove the data dir as /home/yunohost.app/$app
|
|
|
|
# and store the corresponding setting $data_dir
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
# This will configure SSOwat permission for $domain/$path/
|
|
|
|
# The initial allowed group of user is configured via the init_main_permission question (public=visitors, private=all_users)
|
|
|
|
main.url = "/"
|
|
|
|
|
|
|
|
[resources.apt]
|
2023-12-11 18:04:18 +01:00
|
|
|
packages = "libxml2-dev,libxslt-dev,libjpeg-dev,libfreetype6,libfreetype6-dev,zlib1g-dev,python3-pip,python3-dev,python3-tk,python3-pil,python3-dev,build-essential,pkg-config,postgresql"
|
2023-12-11 17:56:26 +01:00
|
|
|
|
|
|
|
[resources.ports]
|
|
|
|
# This will pick a random port for reverse-proxying and store it as the $port setting
|
|
|
|
[resources.database]
|
|
|
|
# This will automatically provision/deprovison a database and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
|
|
|
|
type = "postgresql"
|
|
|
|
|
|
|
|
|