2023-05-06 14:23:47 +02:00
|
|
|
packaging_format = 2
|
|
|
|
|
2023-05-06 17:34:55 +02:00
|
|
|
id = "linkstack"
|
|
|
|
name = "LinkStack"
|
|
|
|
description.en = "A highly customizable link sharing platform with an intuitive, easy to use user interface."
|
|
|
|
description.fr = "Une plateforme de partage de lien hautement personnalisable, avvec une interface simple à utiliser."
|
2023-05-06 14:23:47 +02:00
|
|
|
|
2023-05-06 17:34:55 +02:00
|
|
|
version = "3.6~ynh1"
|
2023-05-06 14:23:47 +02:00
|
|
|
|
2023-05-06 17:34:55 +02:00
|
|
|
maintainers = ["Tagada"]
|
2023-05-06 14:23:47 +02:00
|
|
|
|
|
|
|
[upstream]
|
2023-05-06 17:34:55 +02:00
|
|
|
license = "agpl-3-or-later"
|
|
|
|
website = "https://linkstack.org/"
|
|
|
|
admindoc = "https://docs.linkstack.org/"
|
2023-05-06 14:23:47 +02:00
|
|
|
code = "https://some.forge.com/example/example"
|
2023-05-06 17:34:55 +02:00
|
|
|
# FIXME: No CPE yet... check https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=LinkStack
|
|
|
|
#cpe = "???"
|
|
|
|
fund = "https://liberapay.com/LittleLink-Custom"
|
2023-05-06 14:23:47 +02:00
|
|
|
|
|
|
|
[integration]
|
|
|
|
yunohost = ">= 11.1.14"
|
|
|
|
architectures = "all"
|
|
|
|
multi_instance = true
|
2023-05-06 17:34:55 +02:00
|
|
|
ldap = "false"
|
|
|
|
sso = "false"
|
2023-05-06 14:23:47 +02:00
|
|
|
# FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G...
|
|
|
|
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"
|
2023-05-06 17:42:59 +02:00
|
|
|
full_domain = true
|
2023-05-06 14:23:47 +02:00
|
|
|
|
|
|
|
[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.admin]
|
|
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
|
type = "user"
|
|
|
|
|
|
|
|
[install.password]
|
|
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
|
|
# Note that user-provided passwords questions are not automatically saved as setting
|
|
|
|
type = "password"
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
# See the packaging documentation for the full set
|
|
|
|
# of explanation regarding the behavior and properties for each of those
|
|
|
|
|
|
|
|
[resources.sources]
|
|
|
|
|
|
|
|
[resources.sources.main]
|
|
|
|
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
|
|
|
# ynh_setup_source --dest_dir="$install_dir"
|
|
|
|
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
2023-05-06 17:34:55 +02:00
|
|
|
url = "https://github.com/LinkStackOrg/LinkStack/releases/download/v3.6.0/linkstack.zip"
|
|
|
|
sha256 = "af8ee7968138971ffc86fbcc8021031e68048881f0a0f78426780d0eda072c46"
|
2023-05-06 14:23:47 +02:00
|
|
|
|
|
|
|
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
|
|
|
|
# to auto-update the previous asset urls and sha256sum + manifest version
|
|
|
|
# assuming the upstream's code repo is on github and relies on tags or releases
|
|
|
|
# See the 'sources' resource documentation for more details
|
|
|
|
|
2023-05-06 17:34:55 +02:00
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
|
|
autoupdate.asset = ".*linkstack\.zip"
|
2023-05-06 14:23:47 +02:00
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
# This will create/remove the install dir as /var/www/$app
|
|
|
|
# and store the corresponding setting $install_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]
|
|
|
|
# This will automatically install/uninstall the following apt packages
|
|
|
|
# and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed)
|
2023-05-06 17:34:55 +02:00
|
|
|
packages = "php8.1-bcmath php8.1-curl php8.1-mbstring php8.1-xml php8.1-sqlite3"
|