From 925b56660878e83822e8b7834a973d360453a5c2 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 18 Jun 2023 02:00:01 +0200 Subject: [PATCH] gnu: iodine: Update to 0.8.0. * gnu/packages/networking.scm (iodine): Update to 0.8.0. [arguments]: Don't explicitly return #t from phases. --- gnu/packages/networking.scm | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 889e8f13a5..2f118bccb2 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1667,34 +1667,32 @@ (define-public nload (define-public iodine (package (name "iodine") - (version "0.7.0") - (source (origin - (method url-fetch) - (uri (string-append "http://code.kryo.se/" name "/" - name "-" version ".tar.gz")) - (sha256 - (base32 - "0gh17kcxxi37k65zm4gqsvbk3aw7yphcs3c02pn1c4s2y6n40axd")))) + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://code.kryo.se/iodine/" + "iodine-" version ".tar.gz")) + (sha256 + (base32 "1ihlwxr5xi82gskcdl06qil9q67bcc80p18wm079gxqphv7r4vjl")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases - (delete 'configure) + (delete 'configure) ; no configure script (add-before 'build 'fix-ifconfig-path ;; This package works only with the net-tools version of ifconfig. (lambda* (#:key inputs #:allow-other-keys) (substitute* "src/tun.c" (("PATH=[^ ]* ") - (string-append (assoc-ref inputs "net-tools") "/bin/"))) - #t)) + (string-append (assoc-ref inputs "net-tools") "/bin/"))))) (add-before 'check 'delete-failing-tests ;; Avoid https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802105. (lambda _ (substitute* "tests/common.c" (("tcase_add_test\\(tc, \ test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);") - "")) - #t))) + ""))))) #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "prefix=" (assoc-ref %outputs "out"))) #:test-target "test"))