GNU bug report logs - #45296
[PATCH] gnu: miredo: Fix to use iproute2 from the store.

Previous Next

Package: guix-patches;

Reported by: John Doe <dftxbs3e <at> free.fr>

Date: Thu, 17 Dec 2020 14:26:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 45296 in the body.
You can then email your comments to 45296 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#45296; Package guix-patches. (Thu, 17 Dec 2020 14:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Doe <dftxbs3e <at> free.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 17 Dec 2020 14:26:02 GMT) Full text and rfc822 format available.

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

From: John Doe <dftxbs3e <at> free.fr>
To: guix-patches <at> gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH] gnu: miredo: Fix to use iproute2 from the store.
Date: Thu, 17 Dec 2020 15:24:18 +0100
* gnu/packages/networking.scm (miredo):
[inputs]: Add iproute.
[arguments]: New phase 'patch-iproute2 that patches sources to use
iproute2 from the store.
---
 gnu/packages/networking.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 1226b8606f..281c4a0179 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -688,13 +688,22 @@ or, more generally, MAC addresses of the same category of hardware.")
     (arguments
      '(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'patch-iproute2
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let* ((iproute (assoc-ref inputs "iproute"))
+                    (ip (string-append iproute "/sbin/ip")))
+               (substitute* "misc/client-hook.iproute"
+                 (("/sbin/ip") ip))
+               #t)))
          ;; The checkconf test in src/ requires network access.
          (add-before
-          'check 'disable-checkconf-test
-          (lambda _
-            (substitute* "src/Makefile"
-              (("^TESTS = .*") "TESTS = \n"))
-            #t)))))
+             'check 'disable-checkconf-test
+           (lambda _
+             (substitute* "src/Makefile"
+               (("^TESTS = .*") "TESTS = \n"))
+             #t)))))
+    (inputs
+     `(("iproute" ,iproute)))
     (home-page "https://www.remlab.net/miredo/")
     (synopsis "Teredo IPv6 tunneling software")
     (description
-- 
2.29.2





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Sat, 26 Dec 2020 20:33:02 GMT) Full text and rfc822 format available.

Notification sent to John Doe <dftxbs3e <at> free.fr>:
bug acknowledged by developer. (Sat, 26 Dec 2020 20:33:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: John Doe <dftxbs3e <at> free.fr>
Cc: 45296-done <at> debbugs.gnu.org
Subject: Re: [bug#45296] [PATCH] gnu: miredo: Fix to use iproute2 from the
 store.
Date: Sat, 26 Dec 2020 22:31:54 +0200
[Message part 1 (text/plain, inline)]
I fixed the patch to not also change the indentation on the other lines
and pushed it. Thanks!

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 3 years and 85 days ago.

Previous Next


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