emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45296: closed ([PATCH] gnu: miredo: Fix to use iproute2 from the sto


From: GNU bug Tracking System
Subject: bug#45296: closed ([PATCH] gnu: miredo: Fix to use iproute2 from the store.)
Date: Sat, 26 Dec 2020 20:33:02 +0000

Your message dated Sat, 26 Dec 2020 22:31:54 +0200
with message-id <X+edut22w7jBDQcH@3900XT>
and subject line Re: [bug#45296] [PATCH] gnu: miredo: Fix to use iproute2 from 
the store.
has caused the debbugs.gnu.org bug report #45296,
regarding [PATCH] gnu: miredo: Fix to use iproute2 from the store.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
45296: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45296
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#45296] [PATCH] gnu: miredo: Fix to use iproute2 from the store. Date: Sat, 26 Dec 2020 22:31:54 +0200
I fixed the patch to not also change the indentation on the other lines
and pushed it. Thanks!

-- 
Efraim Flashner   <efraim@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

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]