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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59704 in the body.
You can then email your comments to 59704 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59704; Package guix-patches. (Tue, 29 Nov 2022 23:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to EuAndreh <eu <at> euandre.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 29 Nov 2022 23:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Fri, 09 Dec 2022 02:55:02 GMT) Full text and rfc822 format available.

Notification sent to EuAndreh <eu <at> euandre.org>:
bug acknowledged by developer. (Fri, 09 Dec 2022 02:55:02 GMT) Full text and rfc822 format available.

Message #10 received at 59704-done <at> debbugs.gnu.org (full text, mbox):

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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Jan 2023 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 109 days ago.

Previous Next


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