From: Etienne Champetier Date: Sun, 4 Jul 2021 18:14:30 +0000 (-0400) Subject: openvpn: enable LZO support by default for OpenSSL variant X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1954ed36ab638c293ec01d5a6958419b4c61debb;p=feed%2Fpackages.git 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 (cherry picked from commit 03c3c924965a74b650a45394cc424b4d02f333f1) --- diff --git a/net/openvpn/Config-openssl.in b/net/openvpn/Config-openssl.in index 335bbaa2c4..7a7be74db9 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 79df1e6654..af6857442d 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 57fb385d7f..ea442c7656 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