From 03c3c924965a74b650a45394cc424b4d02f333f1 Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Sun, 4 Jul 2021 14:14:30 -0400 Subject: [PATCH] openvpn: enable LZO support by default for OpenSSL variant User that don't control both OpenVPN client and server might still need LZO support, so keep it enable by default for at least OpenSSL variant. Signed-off-by: Etienne Champetier --- net/openvpn/Config-openssl.in | 2 +- net/openvpn/Makefile | 2 +- net/openvpn/files/openvpn.config | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/net/openvpn/Config-openssl.in b/net/openvpn/Config-openssl.in index 335bbaa2c..7a7be74db 100644 --- a/net/openvpn/Config-openssl.in +++ b/net/openvpn/Config-openssl.in @@ -2,7 +2,7 @@ if PACKAGE_openvpn-openssl config OPENVPN_openssl_ENABLE_LZO bool "Enable LZO compression support" - default n + default y config OPENVPN_openssl_ENABLE_LZ4 bool "Enable LZ4 compression support" diff --git a/net/openvpn/Makefile b/net/openvpn/Makefile index 8afad6f15..8bab17a40 100644 --- a/net/openvpn/Makefile +++ b/net/openvpn/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openvpn PKG_VERSION:=2.5.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=\ https://build.openvpn.net/downloads/releases/ \ diff --git a/net/openvpn/files/openvpn.config b/net/openvpn/files/openvpn.config index 57fb385d7..ea442c765 100644 --- a/net/openvpn/files/openvpn.config +++ b/net/openvpn/files/openvpn.config @@ -300,6 +300,9 @@ config openvpn sample_server # # LZ4 requires OpenVPN 2.4+ client and server # option compress lz4 + # LZO is available by default only in openvpn-openssl variant + # LZO is compatible with most OpenVPN versions +# option compress lzo # Control how OpenVPN handles peers using compression # @@ -492,6 +495,9 @@ config openvpn sample_client # # LZ4 requires OpenVPN 2.4+ on server and client # option compress lz4 + # LZO is available by default only in openvpn-openssl variant + # LZO is compatible with most OpenVPN versions +# option compress lzo # Set log file verbosity. option verb 3