GNU bug report logs - #59704
[PATCH 1/1] services: wireguard: Use the parameterized wireguard package.

Previous Next

Package: guix-patches;

Reported by: EuAndreh <eu <at> euandre.org>

Date: Tue, 29 Nov 2022 23:41:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: EuAndreh <eu <at> euandre.org>
Subject: bug#59704: closed (Re: bug#59704: [PATCH 1/1] services:
 wireguard: Use the parameterized wireguard package.)
Date: Fri, 09 Dec 2022 02:55:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#59704: [PATCH 1/1] services: wireguard: Use the parameterized wireguard package.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 59704 <at> debbugs.gnu.org.

-- 
59704: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59704
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: EuAndreh <eu <at> euandre.org>
Cc: 59704-done <at> debbugs.gnu.org
Subject: Re: bug#59704: [PATCH 1/1] services: wireguard: Use the
 parameterized wireguard package.
Date: Fri, 09 Dec 2022 10:54:46 +0800
EuAndreh <eu <at> euandre.org> writes:

> * gnu/services/vpn.scm (wireguard-activation): Use the "wg" binary from
>   the package given to <wireguard-configuration>.
> ---
>
> Notes:
>     As of now, there is no other reference to the global "wireguard-tools"
>     package in the gnu/services/vpn.scm file.

Pushed, thank you!

[Message part 3 (message/rfc822, inline)]
From: EuAndreh <eu <at> euandre.org>
To: guix-patches <at> gnu.org
Cc: EuAndreh <eu <at> euandre.org>
Subject: [PATCH 1/1] services: wireguard: Use the parameterized wireguard
 package.
Date: Tue, 29 Nov 2022 20:39:29 -0300
* gnu/services/vpn.scm (wireguard-activation): Use the "wg" binary from
  the package given to <wireguard-configuration>.
---

Notes:
    As of now, there is no other reference to the global "wireguard-tools"
    package in the gnu/services/vpn.scm file.

 gnu/services/vpn.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index def381987b..7b3bb8903c 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -833,7 +833,7 @@ (define (peer->config peer)
 
 (define (wireguard-activation config)
   (match-record config <wireguard-configuration>
-    (private-key)
+    (private-key wireguard)
     #~(begin
         (use-modules (guix build utils)
                      (ice-9 popen)
@@ -842,7 +842,7 @@ (define (wireguard-activation config)
         (unless (file-exists? #$private-key)
           (let* ((pipe
                   (open-input-pipe (string-append
-                                    #$(file-append wireguard-tools "/bin/wg")
+                                    #$(file-append wireguard "/bin/wg")
                                     " genkey")))
                  (key (read-line pipe)))
             (call-with-output-file #$private-key
-- 
2.38.1




This bug report was last modified 2 years and 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.