2023-03-05 12:42:46 +01:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "yourls"
|
|
|
|
name = "Yourls"
|
|
|
|
description.en = "URL shortening service"
|
|
|
|
description.fr = "Service de raccourcisseur d'URL"
|
|
|
|
|
2023-03-14 16:41:25 +01:00
|
|
|
version = "1.9.2~ynh2"
|
2023-03-05 12:42:46 +01:00
|
|
|
|
|
|
|
maintainers = ["Anmol Sharma"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "MIT"
|
|
|
|
website = "https://yourls.org/"
|
|
|
|
demo = "https://yourls.org/cookie+"
|
|
|
|
admindoc = "https://docs.yourls.org/"
|
|
|
|
code = "https://github.com/YOURLS/YOURLS"
|
|
|
|
|
|
|
|
[integration]
|
2023-09-08 19:05:07 +02:00
|
|
|
yunohost = ">= 11.2"
|
2023-03-05 12:50:26 +01:00
|
|
|
architectures = "all"
|
2023-03-05 12:42:46 +01:00
|
|
|
multi_instance = true
|
2023-03-05 12:50:26 +01:00
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
2023-03-05 12:59:42 +01:00
|
|
|
ram.build = "150M"
|
2023-03-05 12:50:26 +01:00
|
|
|
ram.runtime = "50M"
|
2023-03-05 12:42:46 +01:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
type = "path"
|
|
|
|
default = "/yourls"
|
|
|
|
|
2023-09-08 19:05:07 +02:00
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
2023-03-05 12:42:46 +01:00
|
|
|
[install.admin]
|
|
|
|
type = "user"
|
|
|
|
|
|
|
|
[install.password]
|
|
|
|
type = "password"
|
|
|
|
|
|
|
|
[install.language]
|
|
|
|
ask.en = "Choose the application language"
|
|
|
|
ask.fr = "Choisissez la langue de l'application"
|
2023-09-08 19:05:07 +02:00
|
|
|
type = "select"
|
2023-07-19 12:31:03 +02:00
|
|
|
select = ["fr_FR", "en_US"]
|
2023-03-05 12:42:46 +01:00
|
|
|
default = "fr_FR"
|
|
|
|
|
|
|
|
[resources]
|
2023-03-14 16:39:52 +01:00
|
|
|
|
|
|
|
[resources.sources]
|
|
|
|
|
|
|
|
[resources.sources.main]
|
|
|
|
url = "https://github.com/YOURLS/YOURLS/archive/1.9.2.zip"
|
|
|
|
sha256 = "65e242aaf007f86d7bf8f7f2776ee814a632a783749151d043d669512c3b41cb"
|
2023-03-30 18:03:56 +02:00
|
|
|
autoupdate.strategy = "latest_github_tag"
|
2023-03-14 16:39:52 +01:00
|
|
|
|
2023-03-14 16:56:37 +01:00
|
|
|
[resources.sources.fr]
|
|
|
|
url = "https://github.com/ozh/YOURLS-fr_FR/archive/refs/tags/1.8.zip"
|
|
|
|
sha256 = "ef9c0e71d4559994b9df0cd0a558f6faf11eba185c4793ba0e30f3500dab1b04"
|
2023-03-30 18:03:56 +02:00
|
|
|
autoupdate.strategy = "latest_github_tag"
|
2023-03-14 16:56:37 +01:00
|
|
|
|
2023-03-05 12:42:46 +01:00
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
2023-03-05 12:50:26 +01:00
|
|
|
admin.url = "/admin"
|
|
|
|
admin.show_tile = false
|
|
|
|
admin.allowed = "admins"
|
|
|
|
|
|
|
|
[resources.apt]
|
2023-09-08 19:05:07 +02:00
|
|
|
packages = "mariadb-server, php8.1-gmp, php8.1-bcmath, php8.1-curl, php8.1-mysql, php8.1-zip, php8.1-gd, php8.1-mbstring, php8.1-xml"
|
2023-03-05 12:50:26 +01:00
|
|
|
|
2023-03-05 12:42:46 +01:00
|
|
|
[resources.database]
|
|
|
|
type = "mysql"
|