unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67176] [PATCH] gnu: openvpn: Update to 2.6.7.
@ 2023-11-14 15:02 Sergey Trofimov
  2023-11-23 14:13 ` Christopher Baines
  2023-12-02 17:24 ` [bug#67176] [PATCH v1] " Sergey Trofimov
  0 siblings, 2 replies; 4+ messages in thread
From: Sergey Trofimov @ 2023-11-14 15:02 UTC (permalink / raw)
  To: 67176; +Cc: Sergey Trofimov

* 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)))
     (home-page "https://openvpn.net/")
     (synopsis "Virtual private network daemon")
     (description

base-commit: bd0f2173210416e86281c1de8789e7cdab66dd57
--
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#67176] [PATCH] gnu: openvpn: Update to 2.6.7.
  2023-11-14 15:02 [bug#67176] [PATCH] gnu: openvpn: Update to 2.6.7 Sergey Trofimov
@ 2023-11-23 14:13 ` Christopher Baines
  2023-12-02 13:47   ` Sergey Trofimov
  2023-12-02 17:24 ` [bug#67176] [PATCH v1] " Sergey Trofimov
  1 sibling, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2023-11-23 14:13 UTC (permalink / raw)
  To: Sergey Trofimov; +Cc: 67176

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]


Sergey Trofimov <sarg@sarg.org.ru> 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#67176] [PATCH] gnu: openvpn: Update to 2.6.7.
  2023-11-23 14:13 ` Christopher Baines
@ 2023-12-02 13:47   ` Sergey Trofimov
  0 siblings, 0 replies; 4+ messages in thread
From: Sergey Trofimov @ 2023-12-02 13:47 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 67176


Christopher Baines <mail@cbaines.net> 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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#67176] [PATCH v1] gnu: openvpn: Update to 2.6.7.
  2023-11-14 15:02 [bug#67176] [PATCH] gnu: openvpn: Update to 2.6.7 Sergey Trofimov
  2023-11-23 14:13 ` Christopher Baines
@ 2023-12-02 17:24 ` Sergey Trofimov
  1 sibling, 0 replies; 4+ messages in thread
From: Sergey Trofimov @ 2023-12-02 17:24 UTC (permalink / raw)
  To: 67176; +Cc: Sergey Trofimov

* gnu/packages/vpn.scm (openvpn): Update to 2.6.7.
---
 gnu/packages/vpn.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 489a35da42..02c1ee1043 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -838,7 +838,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
@@ -846,14 +846,13 @@ (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))
+    (native-inputs (list iproute pkg-config))
+    (inputs (append (list lz4 lzo openssl linux-pam)
+                    (if (target-linux?) (list libcap-ng) '())))
     (home-page "https://openvpn.net/")
     (synopsis "Virtual private network daemon")
     (description

base-commit: aeb494322ca9dec4a4d66a7d063239c8536bd538
--
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-02 17:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-14 15:02 [bug#67176] [PATCH] gnu: openvpn: Update to 2.6.7 Sergey Trofimov
2023-11-23 14:13 ` Christopher Baines
2023-12-02 13:47   ` Sergey Trofimov
2023-12-02 17:24 ` [bug#67176] [PATCH v1] " Sergey Trofimov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).