2023-05-25 10:29:28 +02:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "wireguard"
|
2024-07-02 23:34:07 +02:00
|
|
|
name = "WireGuard Server"
|
2023-05-25 10:29:28 +02:00
|
|
|
description.en = "Fast and modern VPN server, including a configuration webapp"
|
|
|
|
description.fr = "Serveur VPN rapide et moderne, incluant une webapp pour le configurer"
|
|
|
|
|
2024-07-03 17:57:04 +02:00
|
|
|
version = "0.6.2~ynh3"
|
2023-05-25 10:29:28 +02:00
|
|
|
|
|
|
|
maintainers = ["tituspijean"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "MIT"
|
|
|
|
website = "https://www.wireguard.com/"
|
|
|
|
code = "https://github.com/ngoduykhanh/wireguard-ui"
|
|
|
|
|
|
|
|
[integration]
|
2023-08-17 08:51:43 +02:00
|
|
|
yunohost = ">= 11.2"
|
2023-05-25 10:42:39 +02:00
|
|
|
architectures = "all"
|
2023-05-25 10:29:28 +02:00
|
|
|
multi_instance = false
|
2023-05-25 10:42:39 +02:00
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
|
|
|
ram.build = "50M"
|
|
|
|
ram.runtime = "50M"
|
2023-05-25 10:29:28 +02:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.sources.main]
|
|
|
|
in_subdir = false
|
2024-01-07 17:18:44 +01:00
|
|
|
arm64.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.6.2/wireguard-ui-v0.6.2-linux-arm64.tar.gz"
|
|
|
|
arm64.sha256 = "4d40cdd135381faacb8d09c8046512ecb7a37e9b8cbd58f86022d8dd093de23b"
|
|
|
|
amd64.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.6.2/wireguard-ui-v0.6.2-linux-amd64.tar.gz"
|
|
|
|
amd64.sha256 = "2769536c2ef4cc3630b209675167afd5f199f4cc9f9f0d22ce492592dc1dc68d"
|
|
|
|
armhf.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.6.2/wireguard-ui-v0.6.2-linux-arm.tar.gz"
|
|
|
|
armhf.sha256 = "8d8421557d857bd1af548c2e7951afe46f87c0b654b9d5c01d78e09e155b456f"
|
|
|
|
i386.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.6.2/wireguard-ui-v0.6.2-linux-386.tar.gz"
|
|
|
|
i386.sha256 = "3945ce5c4a9210c2cb570dadff3ac73d1de7d26c6ac6dc8a20dfcf66e4051e49"
|
2023-05-25 10:29:28 +02:00
|
|
|
|
2023-06-17 22:16:35 +02:00
|
|
|
autoupdate.strategy = "latest_github_release"
|
2023-08-18 21:14:49 +02:00
|
|
|
autoupdate.asset.arm64 = ".*-linux-arm64.tar.gz"
|
|
|
|
autoupdate.asset.amd64 = ".*-linux-amd64.tar.gz"
|
|
|
|
autoupdate.asset.armhf = ".*-linux-arm.tar.gz"
|
|
|
|
autoupdate.asset.i386 = ".*-linux-386.tar.gz"
|
2023-06-17 22:16:35 +02:00
|
|
|
|
2023-05-25 10:42:39 +02:00
|
|
|
[resources.ports]
|
|
|
|
main.default = 8096
|
|
|
|
wg.default = 8095
|
|
|
|
wg.exposed = "UDP"
|
2023-05-25 10:29:28 +02:00
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
2023-05-25 10:42:39 +02:00
|
|
|
main.allowed = "admins"
|
|
|
|
|
|
|
|
[resources.apt]
|
|
|
|
packages = "wireguard"
|
2024-03-02 17:04:27 +01:00
|
|
|
packages_from_raw_bash = """
|
|
|
|
if dpkg --compare-versions $(uname -r) lt 5.6; then
|
|
|
|
echo wireguard-dkms linux-headers-$(uname -r)
|
|
|
|
fi
|
|
|
|
"""
|