New Libreswan version 3.21
This commit is contained in:
parent
a6480995f8
commit
caf9293b8a
@ -11,7 +11,7 @@
|
||||
# know how you have improved it!
|
||||
|
||||
# Check https://libreswan.org for the latest version
|
||||
swan_ver=3.20
|
||||
swan_ver=3.21
|
||||
|
||||
### DO NOT edit below this line ###
|
||||
|
||||
@ -145,7 +145,10 @@ fi
|
||||
/bin/rm -rf "/opt/src/libreswan-$swan_ver"
|
||||
tar xzf "$swan_file" && /bin/rm -f "$swan_file"
|
||||
cd "libreswan-$swan_ver" || exiterr "Cannot enter Libreswan source dir."
|
||||
echo "WERROR_CFLAGS =" > Makefile.inc.local
|
||||
cat > Makefile.inc.local <<'EOF'
|
||||
WERROR_CFLAGS =
|
||||
USE_DNSSEC = false
|
||||
EOF
|
||||
if [ "$(packaging/utils/lswan_detect.sh init)" = "systemd" ]; then
|
||||
apt-get -yq install libsystemd-dev || exiterr2
|
||||
fi
|
||||
|
@ -11,7 +11,7 @@
|
||||
# know how you have improved it!
|
||||
|
||||
# Check https://libreswan.org for the latest version
|
||||
swan_ver=3.20
|
||||
swan_ver=3.21
|
||||
|
||||
### DO NOT edit below this line ###
|
||||
|
||||
@ -139,7 +139,10 @@ fi
|
||||
/bin/rm -rf "/opt/src/libreswan-$swan_ver"
|
||||
tar xzf "$swan_file" && /bin/rm -f "$swan_file"
|
||||
cd "libreswan-$swan_ver" || exiterr "Cannot enter Libreswan source dir."
|
||||
echo "WERROR_CFLAGS =" > Makefile.inc.local
|
||||
cat > Makefile.inc.local <<'EOF'
|
||||
WERROR_CFLAGS =
|
||||
USE_DNSSEC = false
|
||||
EOF
|
||||
make -s programs && make -s install
|
||||
|
||||
# Verify the install and clean up
|
||||
|
@ -185,7 +185,7 @@ apt-get -yq install fail2ban || exiterr2
|
||||
|
||||
bigecho "Compiling and installing Libreswan..."
|
||||
|
||||
swan_ver=3.20
|
||||
swan_ver=3.21
|
||||
swan_file="libreswan-$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"
|
||||
@ -195,7 +195,10 @@ fi
|
||||
/bin/rm -rf "/opt/src/libreswan-$swan_ver"
|
||||
tar xzf "$swan_file" && /bin/rm -f "$swan_file"
|
||||
cd "libreswan-$swan_ver" || exiterr "Cannot enter Libreswan source dir."
|
||||
echo "WERROR_CFLAGS =" > Makefile.inc.local
|
||||
cat > Makefile.inc.local <<'EOF'
|
||||
WERROR_CFLAGS =
|
||||
USE_DNSSEC = false
|
||||
EOF
|
||||
if [ "$(packaging/utils/lswan_detect.sh init)" = "systemd" ]; then
|
||||
apt-get -yq install libsystemd-dev || exiterr2
|
||||
fi
|
||||
|
@ -174,7 +174,7 @@ yum -y install fail2ban || exiterr2
|
||||
|
||||
bigecho "Compiling and installing Libreswan..."
|
||||
|
||||
swan_ver=3.20
|
||||
swan_ver=3.21
|
||||
swan_file="libreswan-$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"
|
||||
@ -184,7 +184,10 @@ fi
|
||||
/bin/rm -rf "/opt/src/libreswan-$swan_ver"
|
||||
tar xzf "$swan_file" && /bin/rm -f "$swan_file"
|
||||
cd "libreswan-$swan_ver" || exiterr "Cannot enter Libreswan source dir."
|
||||
echo "WERROR_CFLAGS =" > Makefile.inc.local
|
||||
cat > Makefile.inc.local <<'EOF'
|
||||
WERROR_CFLAGS =
|
||||
USE_DNSSEC = false
|
||||
EOF
|
||||
make -s programs && make -s install
|
||||
|
||||
# Verify the install and clean up
|
||||
|
Loading…
Reference in New Issue
Block a user