Update Libreswan version to 3.17
This commit is contained in:
parent
480a3ce9ca
commit
4976bde854
@ -107,7 +107,7 @@ fi
|
||||
# Install necessary packages
|
||||
apt-get -y install libnss3-dev libnspr4-dev pkg-config libpam0g-dev \
|
||||
libcap-ng-dev libcap-ng-utils libselinux1-dev \
|
||||
libcurl4-nss-dev libgmp3-dev flex bison gcc make \
|
||||
libcurl4-nss-dev flex bison gcc make \
|
||||
libunbound-dev libnss3-tools libevent-dev
|
||||
apt-get -y --no-install-recommends install xmlto
|
||||
apt-get -y install xl2tpd
|
||||
@ -116,7 +116,7 @@ apt-get -y install xl2tpd
|
||||
apt-get -y install fail2ban
|
||||
|
||||
# Compile and install Libreswan
|
||||
SWAN_VER=3.16
|
||||
SWAN_VER=3.17
|
||||
SWAN_FILE="libreswan-${SWAN_VER}.tar.gz"
|
||||
SWAN_URL="https://download.libreswan.org/$SWAN_FILE"
|
||||
wget -t 3 -T 30 -nv -O "$SWAN_FILE" "$SWAN_URL"
|
||||
|
@ -130,8 +130,8 @@ rpm -ivh --force "$EPEL_RPM" && /bin/rm -f "$EPEL_RPM"
|
||||
# Install necessary packages
|
||||
yum -y install nss-devel nspr-devel pkgconfig pam-devel \
|
||||
libcap-ng-devel libselinux-devel \
|
||||
curl-devel gmp-devel flex bison gcc make \
|
||||
fipscheck-devel unbound-devel gmp gmp-devel xmlto
|
||||
curl-devel flex bison gcc make \
|
||||
fipscheck-devel unbound-devel xmlto
|
||||
yum -y install ppp xl2tpd
|
||||
|
||||
# Install Fail2Ban to protect SSH
|
||||
@ -156,7 +156,7 @@ elif grep -qs "release 7" /etc/redhat-release; then
|
||||
fi
|
||||
|
||||
# Compile and install Libreswan
|
||||
SWAN_VER=3.16
|
||||
SWAN_VER=3.17
|
||||
SWAN_FILE="libreswan-${SWAN_VER}.tar.gz"
|
||||
SWAN_URL="https://download.libreswan.org/$SWAN_FILE"
|
||||
wget -t 3 -T 30 -nv -O "$SWAN_FILE" "$SWAN_URL"
|
||||
|
@ -11,7 +11,7 @@
|
||||
# know how you have improved it!
|
||||
|
||||
# Check https://libreswan.org and update version number if necessary
|
||||
SWAN_VER=3.16
|
||||
SWAN_VER=3.17
|
||||
|
||||
### Do not edit below this line
|
||||
|
||||
@ -94,7 +94,7 @@ apt-get -y install wget
|
||||
# Install necessary packages
|
||||
apt-get -y install libnss3-dev libnspr4-dev pkg-config libpam0g-dev \
|
||||
libcap-ng-dev libcap-ng-utils libselinux1-dev \
|
||||
libcurl4-nss-dev libgmp3-dev flex bison gcc make \
|
||||
libcurl4-nss-dev flex bison gcc make \
|
||||
libunbound-dev libnss3-tools libevent-dev
|
||||
apt-get -y --no-install-recommends install xmlto
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# know how you have improved it!
|
||||
|
||||
# Check https://libreswan.org and update version number if necessary
|
||||
SWAN_VER=3.16
|
||||
SWAN_VER=3.17
|
||||
|
||||
### Do not edit below this line
|
||||
|
||||
@ -107,8 +107,8 @@ rpm -ivh --force "$EPEL_RPM" && /bin/rm -f "$EPEL_RPM"
|
||||
# Install necessary packages
|
||||
yum -y install nss-devel nspr-devel pkgconfig pam-devel \
|
||||
libcap-ng-devel libselinux-devel \
|
||||
curl-devel gmp-devel flex bison gcc make \
|
||||
fipscheck-devel unbound-devel gmp gmp-devel xmlto
|
||||
curl-devel flex bison gcc make \
|
||||
fipscheck-devel unbound-devel xmlto
|
||||
|
||||
# Installed Libevent2. Use backported version for CentOS 6.
|
||||
if grep -qs "release 6" /etc/redhat-release; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user