Subject: Re: [bug#67176] [PATCH] gnu: openvpn: Update to 2.6.7.

From: Christopher Baines <[email-masked]>
Date: Thu, 23 Nov 2023 14:13:06 +0000

Sergey Trofimov <[email-masked]> writes:

> * gnu/packages/vpn.scm (openvpn): Update to 2.6.7.
> ---
>  gnu/packages/vpn.scm | 13 ++++++++-----
>  1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
> index 972f9b0329..77b9924426 100644
> --- a/gnu/packages/vpn.scm
> +++ b/gnu/packages/vpn.scm
> @@ -836,7 +836,7 @@ (define-public openfortivpn
>  (define-public openvpn
>    (package
>      (name "openvpn")
> -    (version "2.5.8")
> +    (version "2.6.7")
>      (source (origin
>                (method url-fetch)
>                (uri (string-append
> @@ -844,14 +844,17 @@ (define-public openvpn
>                      version ".tar.gz"))
>                (sha256
>                 (base32
> -                "1cixqm4gn2d1v8qkbww75j30fzvxz13gc7whcmz54i0x4fvibwx6"))))
> +                "04wr0g97nmv81javym8r99mglmb86v1i49xmnmzf938x1cs7g67f"))))
>      (build-system gnu-build-system)
>      (arguments
>       '(#:configure-flags '("--enable-iproute2=yes")))
>      (native-inputs
> -     (list iproute))
> -    (inputs
> -     (list lz4 lzo openssl linux-pam))
> +     (append
> +      (if (target-linux?) (list pkg-config) '())
> +      (list iproute)))
> +    (inputs (append
> +             (if (target-linux?) (list libcap-ng) '())
> +             (list lz4 lzo openssl linux-pam)))

These changes could do with mentioning in the commit message, since it's
not immediately clear what you're trying to do?