From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:40069) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDUmU-0007tr-RC for guix-patches@gnu.org; Thu, 26 Sep 2019 10:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDUmT-0002Eb-IU for guix-patches@gnu.org; Thu, 26 Sep 2019 10:30:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDUmT-0002ER-GB for guix-patches@gnu.org; Thu, 26 Sep 2019 10:30:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDUmR-0000u1-00 for guix-patches@gnu.org; Thu, 26 Sep 2019 10:30:05 -0400 Subject: [bug#37519] [PATCH v2] gnu: add iwd. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:36218) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDUgW-0003mY-CX for guix-patches@gnu.org; Thu, 26 Sep 2019 10:23:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDUgR-0006z5-7P for guix-patches@gnu.org; Thu, 26 Sep 2019 10:23:54 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:44507) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iDUgR-0006x8-1k for guix-patches@gnu.org; Thu, 26 Sep 2019 10:23:51 -0400 Received: from localhost (85-170-102-177.rev.numericable.fr [85.170.102.177]) (Authenticated sender: brice@waegenei.re) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id E42292000F for ; Thu, 26 Sep 2019 14:23:44 +0000 (UTC) From: Brice Waegeneire Date: Thu, 26 Sep 2019 16:23:40 +0200 Message-Id: <20190926142340.29343-1-brice@waegenei.re> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37519@debbugs.gnu.org * gnu/packages/networking.scm (iwd): New variable. --- This version of the patch split the commit in two, remove the commented code and replace the patch with a post-unpack phase. gnu/packages/networking.scm | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 6bdf7f9e2f..87dd015320 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2019 Vasile Dumitrascu ;;; Copyright © 2019 Julien Lepiller ;;; Copyright © 2019 Timotej Lazar +;;; Copyright © 2019 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -2578,3 +2579,58 @@ communication.") (description "FRRouting (FRR) is an IP routing protocol suite which includes protocol daemons for BGP, IS-IS, LDP, OSPF, PIM, and RIP. ") (license license:gpl2+))) + +(define-public iwd + (package + (name "iwd") + (version "0.21") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.org/pub/scm/network/wireless/iwd.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "001dikinsa6kshwscjbvwipavzwpqnpvx9fpshcn63gbvbhyd393")))) + (build-system gnu-build-system) + (inputs + `(("dbus" ,dbus) + ("libtool" ,libtool) + ("ell" ,ell) + ("readline" ,readline))) + (native-inputs + `(("asciidoc" ,asciidoc) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("pkgconfig" ,pkg-config) + ("python" ,python) + ("openssl" ,openssl))) + (arguments + `(#:configure-flags + (let ((dbus (assoc-ref %outputs "out"))) + (list "--disable-systemd-service" + "--enable-external-ell" + "--enable-hwsim" + "--enable-tools" + "--enable-wired" + "--enable-docs" + "--localstatedir=/var" + (string-append "--with-dbus-datadir=" dbus "/share/") + (string-append "--with-dbus-busdir=" + dbus "/share/dbus-1/system-services"))) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'pre-configure + (lambda _ + ;; Don't try to 'mkdir /var'. + (substitute* "Makefile.in" + (("\\$\\(MKDIR_P\\) -m 700") + "true"))))))) + (home-page "https://git.kernel.org/cgit/network/wireless/iwd.git/") + (synopsis "Internet Wireless Daemon") + (description "iwd is a wireless daemon for Linux written by Intel that +aims to replace WPA supplicant. It optimize resource utilization by not +depending on any external libraries and instead utilizing features provided by +the Linux Kernel to the maximum extent possible.") + (license license:lgpl2.1+))) -- 2.19.2