From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 10:29:54 2019 Received: (at submit) by debbugs.gnu.org; 26 Sep 2019 14:29:54 +0000 Received: from localhost ([127.0.0.1]:44171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDUmF-0000t9-AA for submit@debbugs.gnu.org; Thu, 26 Sep 2019 10:29:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:49278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDUgZ-0000kP-Rs for submit@debbugs.gnu.org; Thu, 26 Sep 2019 10:24:03 -0400 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 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 X-Originating-IP: 85.170.102.177 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 To: guix-patches@gnu.org Subject: [PATCH v2] gnu: add iwd. Date: Thu, 26 Sep 2019 16:23:40 +0200 Message-Id: <20190926142340.29343-1-brice@waegenei.re> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.200 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 26 Sep 2019 10:29:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 17:04:17 2019 Received: (at control) by debbugs.gnu.org; 26 Sep 2019 21:04:17 +0000 Received: from localhost ([127.0.0.1]:45397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDavx-0000U5-4T for submit@debbugs.gnu.org; Thu, 26 Sep 2019 17:04:17 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDavw-0000Tw-5f for control@debbugs.gnu.org; Thu, 26 Sep 2019 17:04:16 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CEC028BDD4 for ; Thu, 26 Sep 2019 23:04:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XcvDV3DGD48B for ; Thu, 26 Sep 2019 23:04:14 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EF3CC8BDD3 for ; Thu, 26 Sep 2019 23:04:13 +0200 (CEST) Date: Thu, 26 Sep 2019 23:04:13 +0200 Message-Id: <87sgoiixbm.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #37493 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) merge 37493 37519 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 17:05:56 2019 Received: (at 37519) by debbugs.gnu.org; 26 Sep 2019 21:05:56 +0000 Received: from localhost ([127.0.0.1]:45401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDaxY-0000XS-HY for submit@debbugs.gnu.org; Thu, 26 Sep 2019 17:05:56 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDaxW-0000XK-RA for 37519@debbugs.gnu.org; Thu, 26 Sep 2019 17:05:55 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5509F8BDD8; Thu, 26 Sep 2019 23:05:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MSK-_4DkmNB1; Thu, 26 Sep 2019 23:05:53 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7707F8BDD6; Thu, 26 Sep 2019 23:05:53 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: [bug#37519] [PATCH v2] gnu: add iwd. References: <20190926142340.29343-1-brice@waegenei.re> Date: Thu, 26 Sep 2019 23:05:52 +0200 In-Reply-To: <20190926142340.29343-1-brice@waegenei.re> (Brice Waegeneire's message of "Thu, 26 Sep 2019 16:23:40 +0200") Message-ID: <87o8z6ix8v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Brice, Brice Waegeneire skribis: > * 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. This patch looks good, but could you also resend the ell patch? Thanks in advance, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 19:43:39 2019 Received: (at 37519) by debbugs.gnu.org; 26 Sep 2019 23:43:39 +0000 Received: from localhost ([127.0.0.1]:45606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDdQA-0006Se-0K for submit@debbugs.gnu.org; Thu, 26 Sep 2019 19:43:38 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:34643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDbYz-0005ep-G8 for 37519@debbugs.gnu.org; Thu, 26 Sep 2019 17:44:38 -0400 X-Originating-IP: 85.170.102.177 Received: from localhost (85-170-102-177.rev.numericable.fr [85.170.102.177]) (Authenticated sender: brice@waegenei.re) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 7CED360002 for <37519@debbugs.gnu.org>; Thu, 26 Sep 2019 21:44:35 +0000 (UTC) From: Brice Waegeneire To: 37519@debbugs.gnu.org Subject: [PATCH v2 1/2] gnu: Add ell. Date: Thu, 26 Sep 2019 23:44:30 +0200 Message-Id: <20190926214431.3515-1-brice@waegenei.re> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37519 X-Mailman-Approved-At: Thu, 26 Sep 2019 19:43:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/linux.scm (ell): New variable. --- gnu/packages/linux.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 59874b097c..84b3a148f2 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2019 Maxim Cournoyer ;;; Copyright © 2019 Stefan Stefanović ;;; Copyright © 2019 Pierre Langlois +;;; Copyright © 2019 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -5968,3 +5969,42 @@ have to construct the archives directly, without using the archiver.") (description "inputattach dispatches input events from several device types and interfaces and translates so that the X server can use them.") (license license:gpl2+))) + +(define-public ell + (package + (name "ell") + (version "0.23") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.org/pub/scm/libs/ell/ell.git") + (commit version))) + (sha256 + (base32 + "1qhlcwhn0gj877yss2ymx1aczghlddzb5v9mm1dgp2zliii3jy10")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-dbus-tests + (lambda _ + (substitute* '("unit/test-dbus-message-fds.c" + "unit/test-dbus-properties.c" + "unit/test-dbus.c") + (("/usr/bin/dbus-daemon") (which "dbus-daemon"))) + #t))))) + (inputs + `(("dbus" ,dbus) + ("libtool" ,libtool))) + (native-inputs + `(("autoconf" ,autoconf) + ("pkgconfig" ,pkg-config) + ("automake" ,automake))) + (home-page "https://01.org/ell") + (synopsis "Embedded Linux Library") + (description "The Embedded Linux* Library (ELL) provides core, low-level +functionality for system daemons. It typically has no dependencies other than +the Linux kernel, C standard library, and libdl (for dynamic linking). While +ELL is designed to be efficient and compact enough for use on embedded Linux +platforms, it is not limited to resource-constrained systems.") + (license license:lgpl2.1+))) -- 2.19.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 19:43:43 2019 Received: (at 37519) by debbugs.gnu.org; 26 Sep 2019 23:43:44 +0000 Received: from localhost ([127.0.0.1]:45608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDdQC-0006Sg-0u for submit@debbugs.gnu.org; Thu, 26 Sep 2019 19:43:43 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:44771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDbZ6-0005fC-Ji for 37519@debbugs.gnu.org; Thu, 26 Sep 2019 17:44:49 -0400 X-Originating-IP: 85.170.102.177 Received: from localhost (85-170-102-177.rev.numericable.fr [85.170.102.177]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id CC037E0004 for <37519@debbugs.gnu.org>; Thu, 26 Sep 2019 21:44:42 +0000 (UTC) From: Brice Waegeneire To: 37519@debbugs.gnu.org Subject: [PATCH v2 2/2] gnu: add iwd. Date: Thu, 26 Sep 2019 23:44:31 +0200 Message-Id: <20190926214431.3515-2-brice@waegenei.re> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190926214431.3515-1-brice@waegenei.re> References: <20190926214431.3515-1-brice@waegenei.re> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37519 X-Mailman-Approved-At: Thu, 26 Sep 2019 19:43:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/networking.scm (iwd): New variable. --- 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 28 16:50:04 2019 Received: (at 37519) by debbugs.gnu.org; 28 Sep 2019 20:50:04 +0000 Received: from localhost ([127.0.0.1]:51369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEJfH-0001VD-K1 for submit@debbugs.gnu.org; Sat, 28 Sep 2019 16:50:04 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:57410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEJfD-0001UY-Gw; Sat, 28 Sep 2019 16:50:00 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8D7CC8FF25; Sat, 28 Sep 2019 22:49:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I6XvoKkdMQ28; Sat, 28 Sep 2019 22:49:57 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 680768FF1C; Sat, 28 Sep 2019 22:49:57 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: [bug#37519] [PATCH v2 1/2] gnu: Add ell. References: <20190926142340.29343-1-brice@waegenei.re> <20190926214431.3515-1-brice@waegenei.re> Date: Sat, 28 Sep 2019 22:49:56 +0200 In-Reply-To: <20190926214431.3515-1-brice@waegenei.re> (Brice Waegeneire's message of "Thu, 26 Sep 2019 23:44:30 +0200") Message-ID: <877e5sno23.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Brice Waegeneire skribis: > * gnu/packages/linux.scm (ell): New variable. Applied with the changes below to address =E2=80=98guix lint=E2=80=99 warni= ngs. Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ddbc5cd305..876eb005af 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5980,6 +5980,7 @@ types and interfaces and translates so that the X server can use them.") (uri (git-reference (url "https://git.kernel.org/pub/scm/libs/ell/ell.git") (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 "1qhlcwhn0gj877yss2ymx1aczghlddzb5v9mm1dgp2zliii3jy10")))) @@ -6004,8 +6005,8 @@ types and interfaces and translates so that the X server can use them.") (home-page "https://01.org/ell") (synopsis "Embedded Linux Library") (description "The Embedded Linux* Library (ELL) provides core, low-level -functionality for system daemons. It typically has no dependencies other than -the Linux kernel, C standard library, and libdl (for dynamic linking). While +functionality for system daemons. It typically has no dependencies other than +the Linux kernel, C standard library, and libdl (for dynamic linking). While ELL is designed to be efficient and compact enough for use on embedded Linux platforms, it is not limited to resource-constrained systems.") (license license:lgpl2.1+))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 28 16:56:18 2019 Received: (at 37519) by debbugs.gnu.org; 28 Sep 2019 20:56:18 +0000 Received: from localhost ([127.0.0.1]:51376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEJlJ-0001ee-SM for submit@debbugs.gnu.org; Sat, 28 Sep 2019 16:56:18 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:57670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEJlG-0001eQ-Jb; Sat, 28 Sep 2019 16:56:15 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A04A68FF5E; Sat, 28 Sep 2019 22:56:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id co_Sj2dHdLUM; Sat, 28 Sep 2019 22:56:12 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 111B88FF5D; Sat, 28 Sep 2019 22:56:11 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: [bug#37519] [PATCH v2 2/2] gnu: add iwd. References: <20190926214431.3515-1-brice@waegenei.re> <20190926214431.3515-2-brice@waegenei.re> Date: Sat, 28 Sep 2019 22:56:11 +0200 In-Reply-To: <20190926214431.3515-2-brice@waegenei.re> (Brice Waegeneire's message of "Thu, 26 Sep 2019 23:44:31 +0200") Message-ID: <8736ggnnro.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Brice Waegeneire skribis: > * gnu/packages/networking.scm (iwd): New variable. On my machine I see one test failure: --8<---------------cut here---------------start------------->8--- FAIL: unit/test-eapol =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D test-eapol: unit/test-eapol.c:2959: eapol_sm_test_tls: Assertion `l_tls_set= _auth_data(s->tls, CERTDIR "cert-server.pem", CERTDIR "cert-server-key-pkcs= 8.pem", NULL)' failed. FAIL unit/test-eapol (exit status: 134) --8<---------------cut here---------------end--------------->8--- Could you take a look? Also, I had applied the cosmetic changes below. We=E2=80=99re almost there, thank you! :-) Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 5a9340c3bd..213ac4cfc1 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -2626,11 +2626,12 @@ protocol daemons for BGP, IS-IS, LDP, OSPF, PIM, and RIP. ") ;; 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/") + "true")) + #t))))) + (home-page "https://git.kernel.org/pub/scm/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.") + (description "iwd is a wireless daemon for Linux that aims to replace WPA +Supplicant. It optimizes 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+))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 28 17:50:05 2019 Received: (at 37519) by debbugs.gnu.org; 28 Sep 2019 21:50:05 +0000 Received: from localhost ([127.0.0.1]:51407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEKbM-0005B0-Dv for submit@debbugs.gnu.org; Sat, 28 Sep 2019 17:50:05 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEKbJ-0005AJ-5F; Sat, 28 Sep 2019 17:50:02 -0400 Received: from sogo2.sd4.0x35.net (sogo2.sd4.0x35.net [10.200.201.52]) (Authenticated sender: brice@waegenei.re) by relay1-d.mail.gandi.net (Postfix) with ESMTPA id 9B634240002; Sat, 28 Sep 2019 21:49:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" In-Reply-To: <8736ggnnro.fsf@gnu.org> From: =?utf-8?q?brice=40waegenei=2Ere?= X-Forward: 127.0.0.1 Date: Sat, 28 Sep 2019 23:49:58 +0200 To: =?utf-8?q?Ludovic_Court=C3=A8s?= MIME-Version: 1.0 Message-ID: <69c0-5d8fd580-47-60f42e00@87611541> Subject: =?utf-8?q?Re=3A?==?utf-8?q?_=5Bbug#37493=5D?==?utf-8?q?_=5Bbug#37519=5D?= =?utf-8?q?_=5BPATCH?= v2 =?utf-8?q?2=2F2=5D?==?utf-8?q?_gnu=3A?= add =?utf-8?q?iwd=2E?= User-Agent: SOGoMail 4.0.8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 28 September, 2019 22:56 CEST, Ludovic Court=C3=A8s w= rote: > On my machine I see one test failure: > > --8<---------------cut here---------------start------------->8--- > FAIL: unit/test-eapol > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > test-eapol: unit/test-eapol.c:2959: eapol=5Fsm=5Ftest=5Ftls: Assertio= n `l=5Ftls=5Fset=5Fauth=5Fdata(s->tls, CERTDIR "cert-server.pem", CERTD= IR "cert-server-key-pkcs8.pem", NULL)' failed. > FAIL unit/test-eapol (exit status: 134) > --8<---------------cut here---------------end--------------->8--- Unfortunately I can't reproduce this test failure and I didn't recall s= tumbling upon it during the trial and error packaging process. --8<---------------cut here---------------start------------->8--- # TOTAL: 19 # PASS: 19 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 --8<---------------cut here---------------end--------------->8--- Where do we go from here? -- bricewge ~ 8929 BBC5 73CD 9206 3DDD 979D 3D36 CAA0 116F 0F99 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 29 13:18:10 2019 Received: (at 37519) by debbugs.gnu.org; 29 Sep 2019 17:18:10 +0000 Received: from localhost ([127.0.0.1]:55771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEcpl-0004Tk-Rr for submit@debbugs.gnu.org; Sun, 29 Sep 2019 13:18:10 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:48445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEcpj-0004TV-5Z; Sun, 29 Sep 2019 13:18:08 -0400 Received: from sogo2.sd4.0x35.net (sogo2.sd4.0x35.net [10.200.201.52]) (Authenticated sender: brice@waegenei.re) by relay5-d.mail.gandi.net (Postfix) with ESMTPA id 137D41C0003; Sun, 29 Sep 2019 17:18:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" From: =?utf-8?q?brice=40waegenei=2Ere?= X-Forward: 127.0.0.1 Date: Sun, 29 Sep 2019 19:18:04 +0200 To: =?utf-8?q?Ludovic_Court=C3=A8s?= MIME-Version: 1.0 Message-ID: <73c1-5d90e780-27-4e97ad00@132980401> Subject: =?utf-8?q?Re=3A?==?utf-8?q?_=5Bbug#37519=5D?==?utf-8?q?_=5BPATCH?= v2 =?utf-8?q?2=2F2=5D?==?utf-8?q?_gnu=3A?= add =?utf-8?q?iwd=2E?= User-Agent: SOGoMail 4.0.8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I managed to reproduce the issue in a VM, previously I was building in = NixOS. Unfortunately I wasn't successful in fixing it. Alpine disabled the test that fail for Guix: https://git.alpinelinux.or= g/aports/tree/community/iwd/disable-eapol-test.patch -- bricewge ~ 8929 BBC5 73CD 9206 3DDD 979D 3D36 CAA0 116F 0F99 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 29 17:01:16 2019 Received: (at 37519) by debbugs.gnu.org; 29 Sep 2019 21:01:16 +0000 Received: from localhost ([127.0.0.1]:55911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEgJf-0008S8-TD for submit@debbugs.gnu.org; Sun, 29 Sep 2019 17:01:16 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:34716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEgJc-0008Rr-W1; Sun, 29 Sep 2019 17:01:14 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2B234A7DE8; Sun, 29 Sep 2019 23:01:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VXEcVUkLWwn2; Sun, 29 Sep 2019 23:01:10 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id F1C12A7DE4; Sun, 29 Sep 2019 23:01:09 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "brice\@waegenei.re" Subject: Re: [bug#37519] [PATCH v2 2/2] gnu: add iwd. References: <73c1-5d90e780-27-4e97ad00@132980401> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 =?utf-8?Q?Vend=C3=A9miaire?= an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 29 Sep 2019 23:01:09 +0200 In-Reply-To: <73c1-5d90e780-27-4e97ad00@132980401> (brice@waegenei.re's message of "Sun, 29 Sep 2019 19:18:04 +0200") Message-ID: <87h84uizqi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, "brice@waegenei.re" skribis: > I managed to reproduce the issue in a VM, previously I was building in Ni= xOS. Unfortunately I wasn't successful in fixing it.=20 > > Alpine disabled the test that fail for Guix: https://git.alpinelinux.org/= aports/tree/community/iwd/disable-eapol-test.patch I straced =E2=80=98test-eapol=E2=80=99 and got this: --8<---------------cut here---------------start------------->8--- 8701 add_key("keyring", "ell-internal", NULL, 0, KEY_SPEC_THREAD_KEYRING) = =3D 618338105 8701 add_key("asymmetric", "ell-key-0", "0"..., 1219, 618338105) =3D -1 EB= ADMSG (Malbona mesa=C4=9Do) 8701 write(2, "test-eapol: unit/test-eapol.c:2959: eapol_sm_test_tls: Asse= rtion `l_tls_set_auth_data(s->tls, CERTDIR \"cert-server.pem\", CERTDIR \"c= ert-server-key-pkcs8.pem\", NULL)' failed.\n", 173) =3D 173 --8<---------------cut here---------------end--------------->8--- I didn=E2=80=99t know about the add_key(2) syscall, but looking at the man = page, it seems that the =E2=80=9Casymmetric=E2=80=9D type is not supported (but E= BADMSG is not documented either=E2=80=A6). Could you check what the intertubes have to say on this topic, or whether changes have been made in ell (where =E2=80=98l_tls_set_auth_data= =E2=80=99 is defined) in this area? Thanks in advance! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 10:43:48 2019 Received: (at 37519) by debbugs.gnu.org; 30 Sep 2019 14:43:48 +0000 Received: from localhost ([127.0.0.1]:60070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwts-0001lK-Dl for submit@debbugs.gnu.org; Mon, 30 Sep 2019 10:43:48 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:49253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwtl-0001ky-KL for 37519@debbugs.gnu.org; Mon, 30 Sep 2019 10:43:42 -0400 X-Originating-IP: 85.170.102.177 Received: from localhost (85-170-102-177.rev.numericable.fr [85.170.102.177]) (Authenticated sender: brice@waegenei.re) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 9D13224000D for <37519@debbugs.gnu.org>; Mon, 30 Sep 2019 14:43:35 +0000 (UTC) From: Brice Waegeneire To: 37519@debbugs.gnu.org Subject: [PATCH v3] gnu: add iwd. Date: Mon, 30 Sep 2019 16:43:21 +0200 Message-Id: <20190930144321.9187-1-brice@waegenei.re> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37519 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/networking.scm (iwd): New variable. --- gnu/packages/networking.scm | 60 +++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index a93e2cb9fc..bc768c6697 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,62 @@ 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 _ + ;; Test disabled because it need the kernel module + ;; pkcs8_key_parser loaded. + (substitute* "Makefile.am" + (("unit\\/test-eapol.*? ") "")) + ;; Don't try to 'mkdir /var'. + (substitute* "Makefile.in" + (("\\$\\(MKDIR_P\\) -m 700") "true")) + #t))))) + (home-page "https://git.kernel.org/pub/scm/network/wireless/iwd.git/") + (synopsis "Internet Wireless Daemon") + (description "iwd is a wireless daemon for Linux that aims to replace WPA +Supplicant. It optimizes 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 10:51:00 2019 Received: (at 37519) by debbugs.gnu.org; 30 Sep 2019 14:51:00 +0000 Received: from localhost ([127.0.0.1]:60107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEx0u-00041z-I9 for submit@debbugs.gnu.org; Mon, 30 Sep 2019 10:51:00 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:57545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEx0s-00041l-7J; Mon, 30 Sep 2019 10:50:58 -0400 Received: from sogo2.sd4.0x35.net (sogo2.sd4.0x35.net [10.200.201.52]) (Authenticated sender: brice@waegenei.re) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id 1BB831BF211; Mon, 30 Sep 2019 14:50:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" In-Reply-To: <87h84uizqi.fsf@gnu.org> From: =?utf-8?q?brice=40waegenei=2Ere?= X-Forward: 127.0.0.1 Date: Mon, 30 Sep 2019 16:50:55 +0200 To: =?utf-8?q?Ludovic_Court=C3=A8s?= MIME-Version: 1.0 Message-ID: <793d-5d921680-4d-485b8300@90758574> Subject: =?utf-8?q?Re=3A?==?utf-8?q?_=5Bbug#37519=5D?==?utf-8?q?_=5BPATCH?= v2 =?utf-8?q?2=2F2=5D?==?utf-8?q?_gnu=3A?= add =?utf-8?q?iwd=2E?= User-Agent: SOGoMail 4.0.8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 29 September, 2019 23:01 CEST, Ludovic Court=C3=A8s w= rote: > I didn=E2=80=99t know about the add=5Fkey(2) syscall, but looking at = the man page, > it seems that the =E2=80=9Casymmetric=E2=80=9D type is not supported = (but EBADMSG is not > documented either=E2=80=A6). It was missing the kernel module pkcs8=5Fkey=5Fparser, as explained in = src/pkcs8.conf. Since we can't load it at build time, I disabled the te= st. Following is the content of src/pkcs8.conf: --8<---------------cut here---------------start------------->8--- # When distributions use CONFIG=5FPKCS8=5FPRIVATE=5FKEY=5FPARSER=3Dm k= ernel option, # using keyctl(2) will fail for loading PKCS#8 private keys since there= is # no automatic module loading for key type parsers. This entry ensures= # that the kernel module pkcs8=5Fkey=5Fparser.ko is loaded at boot time= . --8<---------------cut here---------------end--------------->8--- -- bricewge ~ 8929 BBC5 73CD 9206 3DDD 979D 3D36 CAA0 116F 0F99 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 04:27:11 2019 Received: (at 37519) by debbugs.gnu.org; 1 Oct 2019 08:27:11 +0000 Received: from localhost ([127.0.0.1]:60838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFDUz-0006kd-RU for submit@debbugs.gnu.org; Tue, 01 Oct 2019 04:27:10 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:46302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFDUx-0006kO-BO; Tue, 01 Oct 2019 04:27:07 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 68ED0AB094; Tue, 1 Oct 2019 10:27:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hnw6VRq3er_D; Tue, 1 Oct 2019 10:27:04 +0200 (CEST) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 49710AB093; Tue, 1 Oct 2019 10:27:04 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "brice\@waegenei.re" Subject: Re: [bug#37519] [PATCH v2 2/2] gnu: add iwd. References: <793d-5d921680-4d-485b8300@90758574> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 =?utf-8?Q?Vend=C3=A9miaire?= an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 01 Oct 2019 10:27:03 +0200 In-Reply-To: <793d-5d921680-4d-485b8300@90758574> (brice@waegenei.re's message of "Mon, 30 Sep 2019 16:50:55 +0200") Message-ID: <87sgocuazs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Brice, "brice@waegenei.re" skribis: > On 29 September, 2019 23:01 CEST, Ludovic Court=C3=A8s wro= te:=20 >=20=20 >> I didn=E2=80=99t know about the add_key(2) syscall, but looking at the m= an page, >> it seems that the =E2=80=9Casymmetric=E2=80=9D type is not supported (bu= t EBADMSG is not >> documented either=E2=80=A6). > > It was missing the kernel module pkcs8_key_parser, as explained in src/pk= cs8.conf. Since we can't load it at build time, I disabled the test. Follow= ing is the content of src/pkcs8.conf: > > # When distributions use CONFIG_PKCS8_PRIVATE_KEY_PARSER=3Dm kernel opti= on, > # using keyctl(2) will fail for loading PKCS#8 private keys since there is > # no automatic module loading for key type parsers. This entry ensures > # that the kernel module pkcs8_key_parser.ko is loaded at boot time. Oh, I see, thanks for explaining. So what about skipping the test altogether (because we cannot guarantee that the kernel will have that kernel module), along the lines of the Alpine patch you showed, but with a comment explaining why we skip the test? Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 07:15:38 2019 Received: (at 37519) by debbugs.gnu.org; 1 Oct 2019 11:15:38 +0000 Received: from localhost ([127.0.0.1]:60948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFG82-0004yg-5e for submit@debbugs.gnu.org; Tue, 01 Oct 2019 07:15:38 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFG7z-0004uo-IK; Tue, 01 Oct 2019 07:15:36 -0400 Received: from sogo2.sd4.0x35.net (sogo2.sd4.0x35.net [10.200.201.52]) (Authenticated sender: brice@waegenei.re) by relay3-d.mail.gandi.net (Postfix) with ESMTPA id ACFA76000B; Tue, 1 Oct 2019 11:15:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" From: =?utf-8?q?brice=40waegenei=2Ere?= X-Forward: 127.0.0.1 Date: Tue, 01 Oct 2019 13:15:33 +0200 To: =?utf-8?q?Ludovic_Court=C3=A8s?= MIME-Version: 1.0 Message-ID: Subject: =?utf-8?q?Re=3A?==?utf-8?q?_=5Bbug#37519=5D?==?utf-8?q?_=5BPATCH?= v2 =?utf-8?q?2=2F2=5D?==?utf-8?q?_gnu=3A?= add =?utf-8?q?iwd=2E?= User-Agent: SOGoMail 4.0.8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello Ludo', I have already send a patch with the test disabled, you may have missed= it. Have a good day. -- bricewge ~ 8929 BBC5 73CD 9206 3DDD 979D 3D36 CAA0 116F 0F99 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 17:13:13 2019 Received: (at 37519-done) by debbugs.gnu.org; 1 Oct 2019 21:13:14 +0000 Received: from localhost ([127.0.0.1]:34984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFPSL-0006TV-KA for submit@debbugs.gnu.org; Tue, 01 Oct 2019 17:13:13 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:54940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFPSJ-0006TF-9E; Tue, 01 Oct 2019 17:13:11 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id E01BFC120B; Tue, 1 Oct 2019 23:13:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eycqfulYNamp; Tue, 1 Oct 2019 23:13:09 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 94F7FC11FF; Tue, 1 Oct 2019 23:13:08 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: [bug#37519] [PATCH v3] gnu: add iwd. References: <20190926142340.29343-1-brice@waegenei.re> <20190930144321.9187-1-brice@waegenei.re> Date: Tue, 01 Oct 2019 23:13:07 +0200 In-Reply-To: <20190930144321.9187-1-brice@waegenei.re> (Brice Waegeneire's message of "Mon, 30 Sep 2019 16:43:21 +0200") Message-ID: <871rvwkw4c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37519-done Cc: 37519-done@debbugs.gnu.org, 37493-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello, Brice Waegeneire skribis: > * gnu/packages/networking.scm (iwd): New variable. I changed it as follows so that the test is really disabled and committed. Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 17:14:17 2019 Received: (at 37519-done) by debbugs.gnu.org; 1 Oct 2019 21:14:17 +0000 Received: from localhost ([127.0.0.1]:34995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFPTN-0006WN-CM for submit@debbugs.gnu.org; Tue, 01 Oct 2019 17:14:17 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:54972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFPTL-0006W8-2l; Tue, 01 Oct 2019 17:14:15 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7D752C1209; Tue, 1 Oct 2019 23:14:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t-B2KlYggfXN; Tue, 1 Oct 2019 23:14:13 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 848B1C11FF; Tue, 1 Oct 2019 23:14:13 +0200 (CEST) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: [bug#37519] [PATCH v3] gnu: add iwd. In-Reply-To: <20190930144321.9187-1-brice@waegenei.re> (Brice Waegeneire's message of "Mon, 30 Sep 2019 16:43:21 +0200") References: <20190926142340.29343-1-brice@waegenei.re> <20190930144321.9187-1-brice@waegenei.re> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Tue, 01 Oct 2019 23:14:12 +0200 Message-ID: <87zhikjhi3.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 37519-done Cc: 37519-done@debbugs.gnu.org, 37493-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, (Now with the patch=E2=80=A6) Brice Waegeneire skribis: > * gnu/packages/networking.scm (iwd): New variable. I changed it as follows so that the test is really disabled and committed. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index bc768c6697..07b056adab 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -2621,14 +2621,13 @@ protocol daemons for BGP, IS-IS, LDP, OSPF, PIM, and RIP. ") dbus "/share/dbus-1/system-services"))) #:phases (modify-phases %standard-phases - (add-before 'configure 'pre-configure + (add-before 'bootstrap 'pre-bootstrap (lambda _ - ;; Test disabled because it need the kernel module - ;; pkcs8_key_parser loaded. (substitute* "Makefile.am" - (("unit\\/test-eapol.*? ") "")) - ;; Don't try to 'mkdir /var'. - (substitute* "Makefile.in" + ;; Test disabled because it needs the kernel module + ;; 'pkcs8_key_parser' loaded. + (("unit\\/test-eapol.*? ") "") + ;; Don't try to 'mkdir /var'. (("\\$\\(MKDIR_P\\) -m 700") "true")) #t))))) (home-page "https://git.kernel.org/pub/scm/network/wireless/iwd.git/") --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 18:30:33 2019 Received: (at 37519) by debbugs.gnu.org; 1 Oct 2019 22:30:33 +0000 Received: from localhost ([127.0.0.1]:35163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQfA-0000LV-P9 for submit@debbugs.gnu.org; Tue, 01 Oct 2019 18:30:33 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:56282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQf7-0000LH-Ob; Tue, 01 Oct 2019 18:30:30 -0400 Received: from localhost (77.117.238.108.wireless.dyn.drei.com [77.117.238.108]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 6C24D336217B; Wed, 2 Oct 2019 00:30:27 +0200 (CEST) Date: Wed, 2 Oct 2019 00:30:21 +0200 From: Danny Milosavljevic To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Subject: Re: [bug#37519] [PATCH v2 2/2] gnu: add iwd. Message-ID: <20191002003021.3be21cfe@scratchpost.org> In-Reply-To: <87sgocuazs.fsf@gnu.org> References: <793d-5d921680-4d-485b8300@90758574> <87sgocuazs.fsf@gnu.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/GkQLZ7r+i4HAT=.5ei102K2"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37519 Cc: 37519@debbugs.gnu.org, "brice@waegenei.re" , 37493@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/GkQLZ7r+i4HAT=.5ei102K2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, > > It was missing the kernel module pkcs8_key_parser, as explained in src/= pkcs8.conf. Since we can't load it at build time, I disabled the test. It's fine to do it like that in that case, but just some food for thought: We often disable tests in cases like that because writing system tests for = something like that is annoying if one has to do it manually. Would it be possible to discover packages which need those kinds of tests (= if necessary just specify an "argument" in the package record) and automati= cally create&run system tests for them? Guix would then run all the tests = in a qemu-system container. Something like $ make TESTS=3Dpackages check-system which would: * Traverse all the packages with (#:run-tests-as-system-tests? #t) * Automatically set up a system test to run the tests of all of these packa= ges. Basically we could just provide guix-daemon inside a qemu guest and b= uild the same derivation again in there, letting it load Linux kernel modul= es however it wants. Especially Linux kernel-requiring (or worse, -modifying) tests are otherwis= e impossible to do. Long term, I don't feel good excluding all those tests just because they ar= e low-level. Docs: >there is no automatic module loading for key type parsers Why not? Weird... there's require_module, was it not thought of--or is it = inapplicable somehow? --Sig_/GkQLZ7r+i4HAT=.5ei102K2 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl2T030ACgkQ5xo1VCww uqUm8Qf+OZGPRZaYeRzK9zxVzquiHkFwxlmhPa68IhMu6Nf6T0giI58/1mz7m9Ea BXA14sRkqSkpCpLUEqowbupcSE5yvA5wiVxHCHS2ZGvUH44Z9mR+dlNbcIT2sTiW +ha/vwffKL+6FtNpRwMxlNciR4YoJ7wQW8DA099Ibxqb0xeLOXbvnbmqJcqD7ZwL equEVMXpKuk+UoVOqd0K8vZIlyKWT4CkaEnR65pqtUlDUzPfEFKyPrqpA/jjHbEF n0C0x9NVqOfQAFk3Vgwma9C+Y3W7T8Wzw3puch5nwQ4D4HkL7ms+hfvR5M9azZKM WSQVbg16772TsvxOl7WDtMpr6FoQEg== =MILZ -----END PGP SIGNATURE----- --Sig_/GkQLZ7r+i4HAT=.5ei102K2-- From unknown Mon Aug 18 00:07:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 30 Oct 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator