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

From: Sergey Trofimov <[email-masked]>
Date: Sat, 02 Dec 2023 14:47:10 +0100

Christopher Baines <[email-masked]> writes:

... omitted
>>      (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?
>

Hey, sorry for responding lately. I've just noticed your mail 
ended in gmail's spam folder.

So libcap-ng is required only for linux as could be seen here:
https://github.com/OpenVPN/openvpn/blob/753cba211c4752ef13d810b757f1aa7dee89626b/CMakeLists.txt#L261

Though pkg-config seems to be mandatory. It is present on every 
platform, right? Let me fix that.