1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

Merge pull request #90 from YunoHost-Apps/testing

Testing
This commit is contained in:
tituspijean 2023-08-17 20:26:36 +02:00 committed by GitHub
commit d4ecc741a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 13 deletions

View file

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
WireGuard® is fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN.
**Shipped version:** 0.5.0~ynh1
**Shipped version:** 0.5.2~ynh1
## Screenshots

View file

@ -16,9 +16,10 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
## Vue densemble
WireGuard® is fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN.
WireGuard® est un VPN rapide et moderne qui utilise une cryptographie de pointe. Il vise à être plus rapide, plus simple, plus léger et plus utile qu'IPsec. Il a l'intention d'être considérablement plus performant qu'OpenVPN. WireGuard est conçu comme un VPN à usage général.
**Version incluse :** 0.5.0~ynh1
**Version incluse :** 0.5.2~ynh1
## Captures décran

1
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1 @@
WireGuard® est un VPN rapide et moderne qui utilise une cryptographie de pointe. Il vise à être plus rapide, plus simple, plus léger et plus utile qu'IPsec. Il a l'intention d'être considérablement plus performant qu'OpenVPN. WireGuard est conçu comme un VPN à usage général.

View file

@ -5,7 +5,7 @@ name = "WireGuard"
description.en = "Fast and modern VPN server, including a configuration webapp"
description.fr = "Serveur VPN rapide et moderne, incluant une webapp pour le configurer"
version = "0.5.0~ynh1"
version = "0.5.2~ynh1"
maintainers = ["tituspijean"]
@ -15,7 +15,7 @@ website = "https://www.wireguard.com/"
code = "https://github.com/ngoduykhanh/wireguard-ui"
[integration]
yunohost = ">= 11.1.19"
yunohost = ">= 11.2"
architectures = "all"
multi_instance = false
ldap = false
@ -35,14 +35,20 @@ ram.runtime = "50M"
[resources]
[resources.sources.main]
in_subdir = false
arm64.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.5.0/wireguard-ui-v0.5.0-linux-arm64.tar.gz"
arm64.sha256 = "1a49f6cfc6b3abfe0c4a0ce5998e0f82c29cd59735c8fa3bdbf05ef1d2087224"
amd64.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.5.0/wireguard-ui-v0.5.0-linux-amd64.tar.gz"
amd64.sha256 = "fd974152d57a8fba9f9797c3ef1d330542639cb8863c36e99782152de0e17460"
armhf.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.5.0/wireguard-ui-v0.5.0-linux-arm.tar.gz"
armhf.sha256 = "0695da19fe9348048d0700dccead116bf7b59436dd5ccbc8c9bdc232315bac4d"
i386.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.5.0/wireguard-ui-v0.5.0-linux-386.tar.gz"
i386.sha256 = "595493c3a197049d0f02ad15c01080456e1f7ea23a8eaf0d05b51f7ce35875e2"
arm64.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.5.2/wireguard-ui-v0.5.2-linux-arm64.tar.gz"
arm64.sha256 = "024eb6da74f450a0f2715cc233573b714fdba14dbf9fd229ed1479bbd4e83ea6"
amd64.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.5.2/wireguard-ui-v0.5.2-linux-amd64.tar.gz"
amd64.sha256 = "f1f13fbc548cd28bf41e9517ccb2e3564f4d9f893d174bfa20f7a61d18e954c5"
armhf.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.5.2/wireguard-ui-v0.5.2-linux-arm.tar.gz"
armhf.sha256 = "b15c8ff43d09fa1d63aa63aa185a8a5b9f4ece02ebf67e9aa5152888d4a6be6b"
i386.url = "https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.5.2/wireguard-ui-v0.5.2-linux-386.tar.gz"
i386.sha256 = "60e2f0005f60b01e10feb65941fa2ad6e919cde1d8004eaacca713a4cea0ee7d"
autoupdate.strategy = "latest_github_release"
autoupdate.asset.arm64 = ".*-arm64.tar.gz"
autoupdate.asset.amd64 = ".*-amd64.tar.gz"
autoupdate.asset.armhf = ".*-arm.tar.gz"
autoupdate.asset.i386 = ".*-386.tar.gz"
[resources.ports]
main.default = 8096

View file

@ -34,6 +34,9 @@ fi
#=================================================
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
# Stop wg-quick service
systemctl stop wg-quick@wg0
# YunoHost does not handle services not ending with .service, let's remove it manually
systemctl stop wireguard@wg0.path
systemctl disable wireguard@wg0.path --quiet