From 58616b4ea42e4a23357ad546a8b124c59b5daf89 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 27 Dec 2019 16:21:43 +0100 Subject: [PATCH] Wireguard: adjust repository according to upstream changes. --- lib/compilation-prepare.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/compilation-prepare.sh b/lib/compilation-prepare.sh index 606370f50b..218db58eac 100644 --- a/lib/compilation-prepare.sh +++ b/lib/compilation-prepare.sh @@ -99,7 +99,12 @@ compilation_prepare() display_alert "Adding" "WireGuard ${wirever} " "info" - fetch_from_repo "https://git.zx2c4.com/WireGuard" "wireguard" "${wirever}" "yes" + fetch_from_repo "https://git.zx2c4.com/wireguard-monolithic-historical" "wireguard" "${wirever}" "yes" + + #if linux-version compare $version gt 5.6; then + # fetch_from_repo "https://git.zx2c4.com/wireguard-linux" "wireguard" "stable" "yes" + #fi + cd ${SRC}/cache/sources/${LINUXSOURCEDIR} rm -rf ${SRC}/cache/sources/${LINUXSOURCEDIR}/net/wireguard cp -R ${SRC}/cache/sources/wireguard/${wirever#*:}/src/ ${SRC}/cache/sources/${LINUXSOURCEDIR}/net/wireguard