From patchwork Thu Sep 26 21:44:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 15489 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 01C7D173ED; Fri, 27 Sep 2019 00:44:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id ACC4B173D6 for ; Fri, 27 Sep 2019 00:44:24 +0100 (BST) Received: from localhost ([::1]:45338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDdQt-0002Pj-6u for patchwork@mira.cbaines.net; Thu, 26 Sep 2019 19:44:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33282) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDdQa-0002PM-AI for guix-patches@gnu.org; Thu, 26 Sep 2019 19:44:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDdQY-0004IE-Vv for guix-patches@gnu.org; Thu, 26 Sep 2019 19:44:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36787) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDdQY-0004I2-TZ for guix-patches@gnu.org; Thu, 26 Sep 2019 19:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDdQX-0006TX-Rx for guix-patches@gnu.org; Thu, 26 Sep 2019 19:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37519] [PATCH v2 1/2] gnu: Add ell. References: <20190926142340.29343-1-brice@waegenei.re> In-Reply-To: <20190926142340.29343-1-brice@waegenei.re> Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Sep 2019 23:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37519 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37519@debbugs.gnu.org Received: via spool by 37519-submit@debbugs.gnu.org id=B37519.156954141924845 (code B ref 37519); Thu, 26 Sep 2019 23:44:01 +0000 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 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 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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+))) From patchwork Thu Sep 26 21:44:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 15490 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 70540173ED; Fri, 27 Sep 2019 00:44:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 22A22173D6 for ; Fri, 27 Sep 2019 00:44:31 +0100 (BST) Received: from localhost ([::1]:45340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDdR0-0002Qm-GP for patchwork@mira.cbaines.net; Thu, 26 Sep 2019 19:44:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33300) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDdQd-0002PX-N9 for guix-patches@gnu.org; Thu, 26 Sep 2019 19:44:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDdQZ-0004IS-F4 for guix-patches@gnu.org; Thu, 26 Sep 2019 19:44:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36788) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDdQZ-0004IK-Cg for guix-patches@gnu.org; Thu, 26 Sep 2019 19:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDdQZ-0006Tf-9Y for guix-patches@gnu.org; Thu, 26 Sep 2019 19:44:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37519] [PATCH v2 2/2] gnu: add iwd. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Sep 2019 23:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37519 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37519@debbugs.gnu.org Received: via spool by 37519-submit@debbugs.gnu.org id=B37519.156954142424859 (code B ref 37519); Thu, 26 Sep 2019 23:44:03 +0000 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 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 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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+)))