mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
124 lines
3.9 KiB
TOML
124 lines
3.9 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
||
|
||
packaging_format = 2
|
||
|
||
id = "mediawiki"
|
||
name = "MediaWiki"
|
||
description.en = "Wiki package originally for use on Wikipedia"
|
||
description.fr = "Wiki développé à l’origine pour Wikipédia"
|
||
|
||
version = "1.41.1~ynh1"
|
||
|
||
maintainers = ["Salamandar"]
|
||
|
||
[upstream]
|
||
license = "GPL-2.0-or-later"
|
||
website = "https://www.mediawiki.org"
|
||
demo = "https://www.wikipedia.org"
|
||
admindoc = "https://www.mediawiki.org/wiki/Documentation"
|
||
userdoc = "https://www.mediawiki.org/wiki/Project:Help"
|
||
code = "https://github.com/wikimedia/mediawiki"
|
||
|
||
[integration]
|
||
yunohost = ">= 11.1.17"
|
||
architectures = "all"
|
||
multi_instance = true
|
||
ldap = true
|
||
sso = false
|
||
disk = "50M"
|
||
ram.build = "50M"
|
||
ram.runtime = "50M"
|
||
|
||
[install]
|
||
[install.domain]
|
||
type = "domain"
|
||
|
||
[install.path]
|
||
type = "path"
|
||
default = "/wiki"
|
||
|
||
[install.init_main_permission]
|
||
help.en = "Visibility of the wiki pages"
|
||
help.fr = "La visibilité des pages du wiki"
|
||
type = "group"
|
||
default = "visitors"
|
||
|
||
[install.language]
|
||
ask.en = "Choose the application language"
|
||
ask.fr = "Choisissez la langue de l'application"
|
||
type = "select"
|
||
choices = ["en", "fr"]
|
||
default = "en"
|
||
|
||
[install.admin]
|
||
type = "user"
|
||
|
||
[install.password]
|
||
help.en = "The password for the wiki administrator. It needs to be solid or the installation process will fail."
|
||
help.fr = "Le mot de passe de l'administrateur du wiki. Il doit être solide, sinon l'installation échouera."
|
||
type = "password"
|
||
|
||
[install.wiki_name]
|
||
ask.en = "Choose the application name"
|
||
ask.fr = "Choisissez le nom de l'application"
|
||
type = "string"
|
||
default = "YunoWiki"
|
||
|
||
[resources]
|
||
[resources.sources]
|
||
[resources.sources.main]
|
||
url = "https://releases.wikimedia.org/mediawiki/1.41/mediawiki-1.41.1.tar.gz"
|
||
sha256 = "4e0baa953b85e94d31040cb25120abc606fa869b2e33126bdfbb7fc613e8c4b2"
|
||
|
||
[resources.sources.ldap_groups]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/4e0bcb686520ee27ad8f60a7be9f0105daa85c05.tar.gz"
|
||
sha256 = "fe6415cfd2d744d0fed10d616ea36d5be14bd3e8e6ada609805ba3cbaa73b8c8"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_authorization]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/f20eeabfafeb6c7571bbfb771222fb1fad889272.tar.gz"
|
||
sha256 = "11af940beaf8ccca82b918ad7ca5fccf4d5cf7f6ea7289a460ab737530767672"
|
||
in_subdir = true
|
||
|
||
[resources.sources.pluggable_auth]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/1884a127cd5947ad7484d3b55711db3f6515d439.tar.gz"
|
||
sha256 = "e895eb8f7470eaae9a1e7dea2e0488f7975d59be838b11261d544b3c8ae22a2a"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_authentication2]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/2ed6e51002f26ee0fef88cdab00be265b2053527.tar.gz"
|
||
sha256 = "6ee6da53c4f76a093db1c1e929c2e51000f8ed005ac61ae35cd93a25e1387e19"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_userinfo]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/0bbff87984249e3eda6b1cf2625cf0edfeaa2c99.tar.gz"
|
||
sha256 = "4cbaa9834483623e9dabeb95ebac65bef189ce8b2d1632f400c7d0dae2b72b6e"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_provider]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/c800dd60a4c7c25083c3f5a80125ee47d656f8ad.tar.gz"
|
||
sha256 = "c6043a85b81b5741aad29704517ee9b440cdc15426d0ff32d4c70e8a171db7aa"
|
||
in_subdir = true
|
||
|
||
[resources.system_user]
|
||
|
||
[resources.install_dir]
|
||
|
||
[resources.permissions]
|
||
main.url = "/"
|
||
|
||
[resources.apt]
|
||
packages = [
|
||
"php8.1-fpm",
|
||
"php8.1-mysql",
|
||
"php8.1-mbstring",
|
||
"php8.1-xml",
|
||
"php8.1-intl",
|
||
"mariadb-server",
|
||
"diffutils",
|
||
"imagemagick",
|
||
"acl",
|
||
]
|
||
|
||
[resources.database]
|
||
type = "mysql"
|