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-06-25 00:21:21 +02:00
|
|
|
version = "4.1.1~ynh2"
|
2023-05-06 14:23:47 +02:00
|
|
|
|
2023-05-08 12:26:33 +02:00
|
|
|
maintainers = ["Tagada", "wyverine"]
|
2023-05-06 14:23:47 +02:00
|
|
|
|
|
|
|
[upstream]
|
2023-05-07 00:38:50 +02:00
|
|
|
license = "AGPL-3.0-or-later"
|
2023-05-06 17:34:55 +02:00
|
|
|
website = "https://linkstack.org/"
|
|
|
|
admindoc = "https://docs.linkstack.org/"
|
2023-05-07 00:38:50 +02:00
|
|
|
code = "https://github.com/LinkStackOrg/LinkStack"
|
|
|
|
# XXX: No CPE yet... check https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=LinkStack
|
2023-05-06 17:34:55 +02:00
|
|
|
#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-07 00:38:50 +02:00
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "100M"
|
2023-05-06 14:23:47 +02:00
|
|
|
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-06-25 00:21:21 +02:00
|
|
|
url = "https://github.com/LinkStackOrg/LinkStack/releases/download/v4.1.1/linkstack.zip"
|
|
|
|
sha256 = "2808c0f33ee35a5f84a0ff7e12d6a3e12ca778c7169e486353016e1a8570dd76"
|
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"
|
2023-05-07 00:38:50 +02:00
|
|
|
autoupdate.asset = "linkstack.zip"
|
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
# This will provision/deprovision a unix system user
|
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"
|