From 4976bde8545593cb0fc957e59dc03ff56d9168cd Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Tue, 5 Apr 2016 23:51:54 -0500 Subject: [PATCH] Update Libreswan version to 3.17 --- vpnsetup.sh | 4 ++-- vpnsetup_centos.sh | 6 +++--- vpnupgrade_Libreswan.sh | 4 ++-- vpnupgrade_Libreswan_centos.sh | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/vpnsetup.sh b/vpnsetup.sh index b77b8bd..8c760be 100644 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -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" diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 9cfe65e..4f55d8c 100644 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -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" diff --git a/vpnupgrade_Libreswan.sh b/vpnupgrade_Libreswan.sh index d12c98e..996e122 100644 --- a/vpnupgrade_Libreswan.sh +++ b/vpnupgrade_Libreswan.sh @@ -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 diff --git a/vpnupgrade_Libreswan_centos.sh b/vpnupgrade_Libreswan_centos.sh index f71eecb..f20b2b0 100644 --- a/vpnupgrade_Libreswan_centos.sh +++ b/vpnupgrade_Libreswan_centos.sh @@ -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