1
0
mirror of synced 2024-11-25 14:26:09 +03:00

New Libreswan version

- New Libreswan version 3.20
- Use GitHub as primary download source
This commit is contained in:
hwdsl2 2017-03-23 13:55:51 -05:00
parent 6d9eb9a2fa
commit 222acbf5ae
4 changed files with 12 additions and 12 deletions

View File

@ -11,7 +11,7 @@
# know how you have improved it!
# Check https://libreswan.org for the latest version
swan_ver=3.19
swan_ver=3.20
### DO NOT edit below this line ###
@ -139,8 +139,8 @@ apt-get -yq --no-install-recommends install xmlto || exiterr2
# Compile and install Libreswan
swan_file="libreswan-$swan_ver.tar.gz"
swan_url1="https://download.libreswan.org/$swan_file"
swan_url2="https://github.com/libreswan/libreswan/archive/v$swan_ver.tar.gz"
swan_url1="https://github.com/libreswan/libreswan/archive/v$swan_ver.tar.gz"
swan_url2="https://download.libreswan.org/$swan_file"
if ! { wget -t 3 -T 30 -nv -O "$swan_file" "$swan_url1" || wget -t 3 -T 30 -nv -O "$swan_file" "$swan_url2"; }; then
exiterr "Cannot download Libreswan source."
fi

View File

@ -11,7 +11,7 @@
# know how you have improved it!
# Check https://libreswan.org for the latest version
swan_ver=3.19
swan_ver=3.20
### DO NOT edit below this line ###
@ -131,8 +131,8 @@ fi
# Compile and install Libreswan
swan_file="libreswan-$swan_ver.tar.gz"
swan_url1="https://download.libreswan.org/$swan_file"
swan_url2="https://github.com/libreswan/libreswan/archive/v$swan_ver.tar.gz"
swan_url1="https://github.com/libreswan/libreswan/archive/v$swan_ver.tar.gz"
swan_url2="https://download.libreswan.org/$swan_file"
if ! { wget -t 3 -T 30 -nv -O "$swan_file" "$swan_url1" || wget -t 3 -T 30 -nv -O "$swan_file" "$swan_url2"; }; then
exiterr "Cannot download Libreswan source."
fi

View File

@ -167,10 +167,10 @@ apt-get -yq install fail2ban || exiterr2
bigecho "Compiling and installing Libreswan..."
swan_ver=3.19
swan_ver=3.20
swan_file="libreswan-$swan_ver.tar.gz"
swan_url1="https://download.libreswan.org/$swan_file"
swan_url2="https://github.com/libreswan/libreswan/archive/v$swan_ver.tar.gz"
swan_url1="https://github.com/libreswan/libreswan/archive/v$swan_ver.tar.gz"
swan_url2="https://download.libreswan.org/$swan_file"
if ! { wget -t 3 -T 30 -nv -O "$swan_file" "$swan_url1" || wget -t 3 -T 30 -nv -O "$swan_file" "$swan_url2"; }; then
exiterr "Cannot download Libreswan source."
fi

View File

@ -154,10 +154,10 @@ yum -y install fail2ban || exiterr2
bigecho "Compiling and installing Libreswan..."
swan_ver=3.19
swan_ver=3.20
swan_file="libreswan-$swan_ver.tar.gz"
swan_url1="https://download.libreswan.org/$swan_file"
swan_url2="https://github.com/libreswan/libreswan/archive/v$swan_ver.tar.gz"
swan_url1="https://github.com/libreswan/libreswan/archive/v$swan_ver.tar.gz"
swan_url2="https://download.libreswan.org/$swan_file"
if ! { wget -t 3 -T 30 -nv -O "$swan_file" "$swan_url1" || wget -t 3 -T 30 -nv -O "$swan_file" "$swan_url2"; }; then
exiterr "Cannot download Libreswan source."
fi