New Libreswan version
- Use new Libreswan version 4.14. Ref: https://lists.libreswan.org/pipermail/swan-announce/2024/000055.html
This commit is contained in:
parent
f5acbdf54d
commit
7ee03da7d0
@ -240,7 +240,7 @@ get_helper_scripts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
SWAN_VER=4.12
|
SWAN_VER=4.14
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||||
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -258,7 +258,7 @@ get_helper_scripts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
SWAN_VER=4.12
|
SWAN_VER=4.14
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||||
swan_ver_url="$base_url/v1-amzn-2-swanver"
|
swan_ver_url="$base_url/v1-amzn-2-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -360,7 +360,7 @@ get_helper_scripts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
SWAN_VER=4.12
|
SWAN_VER=4.14
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||||
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -344,7 +344,7 @@ get_helper_scripts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
SWAN_VER=4.12
|
SWAN_VER=4.14
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||||
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user