openvpn: update to 2.6.5 and add DCO support
authorMartin Schiller <ms@dev.tdt.de>
Wed, 28 Jun 2023 07:13:19 +0000 (09:13 +0200)
committerRosen Penev <rosenp@gmail.com>
Tue, 25 Jul 2023 05:50:06 +0000 (22:50 -0700)
commit0eedafdbda61696249ad12db39ff591209830fac
treead357e100beaad25d6c36cfdb2dad238a1c6839b
parent57dd58a14c9ac153eff04871b05fc571766be32d
openvpn: update to 2.6.5 and add DCO support

This commit updates openvpn to version 2.6.5 and add DCO support.

There are several changes:

- Starting with version 2.6.0, the sources are only provided as .tar.gz
  file.

- removed OPENVPN_<variant>_ENABLE_MULTIHOME:
  multihome support is always included and cannot be disabled anymore
  with 2.6.x.

- removed OPENVPN_<variant>_ENABLE_DEF_AUTH:
  deferred auth support is always included and cannot be disabled
  anymore with 2.6.x.

- removed OPENVPN_<variant>_ENABLE_PF:
  PF (packet filtering) support was removed in 2.6.x.

- The internal lz4 library was removed in 2.6.x; we now use the liblz4
  package if needed

- To increase reproducibility, _DATE_ is only used for development
  builds and not in release builds in 2.6.x.

- wolfSSL support was integrated into upstream openvpn

- DES support was removed from openvpn

The first two wolfSSL patches were created following these 2 commits:
https://github.com/OpenVPN/openvpn/commit/4cf01c8e4381403998341aa32f79f4bf24c7ccb1
https://github.com/OpenVPN/openvpn/commit/028b501734b4a57dc53edb8b11a4b370f5b99e38

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
13 files changed:
net/openvpn/Config-mbedtls.in
net/openvpn/Config-openssl.in
net/openvpn/Config-wolfssl.in
net/openvpn/Makefile
net/openvpn/files/openvpn.options
net/openvpn/patches/001-reproducible-remove_DATE.patch [deleted file]
net/openvpn/patches/002-add-wolfssl-support.patch [deleted file]
net/openvpn/patches/100-mbedtls-disable-runtime-version-check.patch
net/openvpn/patches/101-Fix-EVP_PKEY_CTX_-compilation-with-wolfSSL.patch [new file with mode: 0644]
net/openvpn/patches/102-Disable-external-ec-key-support-when-building-with-wolfSSL.patch [new file with mode: 0644]
net/openvpn/patches/103-define-LN_serialNumber-for-wolfSSL.patch [new file with mode: 0644]
net/openvpn/patches/210-build_always_use_internal_lz4.patch [deleted file]
net/openvpn/patches/220-disable_des.patch [deleted file]