On Mon, Jun 13, 2022 at 06:51:41PM +0200, Andreas Helmcke wrote:
> openvpn: Upgrade to 2.5.6
> 
> Version bump 2.4.6 -> 2.5.6
> For an overview of changes see: 
> https://github.com/OpenVPN/openvpn/blob/v2.5.6/Changes.rst
> 
> Signed-off-by: Andreas Helmcke <[email protected]>
> ---
> Patch changes:
>       
> -> V3: Update licenses files md5
>        Only formal changes to licenses: update of copyright to 2022 and 
> company name change
> -> V2: resent patch with proper formatting (tabs)

Fails with:

"
No suitable file '/usr/share/openvpn/sample-config-files/static-home.conf' 
could be found in any of these locations:
"

OPENVPN_INSTALL_SAMPLE_CONFIG_FILES and maybe
OPENVPN_INSTALL_SAMPLE_CONFIG_SCRIPTS and OPENVPN_INSTALL_SAMPLE_SCRIPTS
need to be updated.

Michael

>  rules/openvpn.make | 17 ++++++++---------
>  1 file changed, 8 insertions(+), 9 deletions(-)
> 
> diff --git a/rules/openvpn.make b/rules/openvpn.make
> index 46cca64ca..f77776ade 100644
> --- a/rules/openvpn.make
> +++ b/rules/openvpn.make
> @@ -14,20 +14,20 @@ PACKAGES-$(PTXCONF_OPENVPN) += openvpn
>  #
>  # Paths and names
>  #
> -OPENVPN_VERSION              := 2.4.6
> -OPENVPN_MD5          := 3a1f3f63bdaede443b4df49957df9405
> +OPENVPN_VERSION              := 2.5.6
> +OPENVPN_MD5          := 434f02d3b371bf1dcd1e618e56969a4c
>  OPENVPN                      := openvpn-$(OPENVPN_VERSION)
> -OPENVPN_SUFFIX               := tar.xz
> -OPENVPN_URL          := 
> http://swupdate.openvpn.org/community/releases/$(OPENVPN).$(OPENVPN_SUFFIX)
> +OPENVPN_SUFFIX               := tar.gz
> +OPENVPN_URL          := 
> https://swupdate.openvpn.org/community/releases/$(OPENVPN).$(OPENVPN_SUFFIX)
>  OPENVPN_SOURCE               := $(SRCDIR)/$(OPENVPN).$(OPENVPN_SUFFIX)
>  OPENVPN_DIR          := $(BUILDDIR)/$(OPENVPN)
>  OPENVPN_LICENSE              := GPL-2.0-only WITH openvpn-openssl-exception 
> AND BSD-2-Clause AND BSD-3-Clause
>  OPENVPN_LICENSE_FILES := \
> -     file://COPYING;md5=7aee596ed2deefe3e8a861e24292abba \
> +     file://COPYING;md5=b76abd82c14ee01cc34c4ff5e3627b89 \
>       file://COPYRIGHT.GPL;md5=52cadf4008002e3c314a47a54fa7306c \
> -     
> file://src/openvpn/openvpn.c;startline=2;endline=21;md5=0f37ee042b428e513bda42b430344d42
>  \
> +     
> file://src/openvpn/openvpn.c;startline=2;endline=21;md5=82f794c2390084d34cb32d871c17b4be
>  \
>       
> file://src/openvpn/base64.c;startline=2;endline=31;md5=f4debd767645b13107fc5912faf2ad8f
>  \
> -     
> file://src/compat/compat-lz4.c;startline=13;endline=38;md5=5f66cf078523624965e41518eed881e2
> +     
> file://src/compat/compat-lz4.c;startline=13;endline=38;md5=5163f975ae122fe0c260002537edab22
>  
>  # 
> ----------------------------------------------------------------------------
>  # Prepare
> @@ -55,10 +55,8 @@ OPENVPN_CONF_OPT   := \
>       --$(call ptx/endis, PTXCONF_OPENVPN_LZO)-lzo \
>       --disable-lz4 \
>       --disable-comp-stub \
> -     --enable-crypto \
>       --enable-ofb-cfb \
>       --disable-x509-alt-username \
> -     --enable-server \
>       --disable-plugins \
>       --enable-management \
>       --disable-pkcs11 \
> @@ -72,6 +70,7 @@ OPENVPN_CONF_OPT    := \
>       --enable-pf \
>       --disable-plugin-auth-pam \
>       --enable-plugin-down-root \
> +     --disable-pam-dlopen \
>       --disable-strict \
>       --disable-pedantic \
>       --disable-werror \
> -- 
> 2.34.1
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to