From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 13 15:50:19 2020 Received: (at submit) by debbugs.gnu.org; 13 Apr 2020 19:50:19 +0000 Received: from localhost ([127.0.0.1]:60848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO562-00080Y-U1 for submit@debbugs.gnu.org; Mon, 13 Apr 2020 15:50:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:57553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO561-00080I-ND for submit@debbugs.gnu.org; Mon, 13 Apr 2020 15:50:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58559) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO560-0000xI-Hm for guix-patches@gnu.org; Mon, 13 Apr 2020 15:50:17 -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 1jO55z-00047x-AL for guix-patches@gnu.org; Mon, 13 Apr 2020 15:50:16 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60103) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jO55z-00045M-4m for guix-patches@gnu.org; Mon, 13 Apr 2020 15:50:15 -0400 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 9122F60005 for ; Mon, 13 Apr 2020 19:50:12 +0000 (UTC) From: Brice Waegeneire To: guix-patches@gnu.org Subject: [PATCH 2/3] gnu: Add libqb. Date: Mon, 13 Apr 2020 21:49:59 +0200 Message-Id: <20200413195000.28971-3-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200413195000.28971-1-brice@waegenei.re> References: <20200413195000.28971-1-brice@waegenei.re> 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] [fuzzy] X-Received-From: 217.70.183.195 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit 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.0 (-) * gnu/packages/hardware.scm (libqb): New variable. --- gnu/packages/hardware.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 4c9c45bc48..8a7c7b3c62 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -25,6 +26,7 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -276,3 +278,31 @@ supported by the Linux kernel.") ;; Source file headers still say GPL2+, but the authorial intent ;; (from COPYING and the F9 'about' screen) is clearly GPL3+. (license license:gpl3+))) + +(define-public libqb + (package + (name "libqb") + ;; NOTE: We are using a Release Candidate version (for 2.0) here because + ;; of the linker issues with the previous release. + (version "1.9.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ClusterLabs/libqb/releases/download/v" + version "/libqb-" version ".tar.xz")) + (sha256 + (base32 + "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("xmllint" ,libxml2))) + (home-page "https://clusterlabs.github.io/libqb/") + (synopsis "Library providing high performance logging, tracing, ipc, and poll") + (description "Libqb is a library with the primary purpose of providing +high-performance, reusable features for client-server architecture, such as +logging, tracing, inter-process communication (IPC), and polling. Libqb is +not intended to be an all-encompassing library, but instead provide focused +APIs that are highly tuned for maximum performance for client-server +applications.") + (license license:lgpl2.1))) -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 13 15:54:22 2020 Received: (at control) by debbugs.gnu.org; 13 Apr 2020 19:54:22 +0000 Received: from localhost ([127.0.0.1]:60872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO59y-00088g-3Y for submit@debbugs.gnu.org; Mon, 13 Apr 2020 15:54:22 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:39947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO59w-00088S-Df for control@debbugs.gnu.org; Mon, 13 Apr 2020 15:54:20 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay11.mail.gandi.net (Postfix) with ESMTPA id C8DF2100007 for ; Mon, 13 Apr 2020 19:54:13 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 13 Apr 2020 19:54:13 +0000 From: Brice Waegeneire To: control@debbugs.gnu.org Subject: merge usbguard patch series Message-ID: X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-Spam-Score: -0.7 (/) 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: -1.7 (-) merge 40607 40608 merge 40607 40609 merge 40607 40610 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 17 08:34:44 2020 Received: (at 40607) by debbugs.gnu.org; 17 Apr 2020 12:34:44 +0000 Received: from localhost ([127.0.0.1]:40152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQCh-0002oq-I9 for submit@debbugs.gnu.org; Fri, 17 Apr 2020 08:34:44 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQCf-0002oY-Dj for 40607@debbugs.gnu.org; Fri, 17 Apr 2020 08:34:42 -0400 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 2A6EBE0011 for <40607@debbugs.gnu.org>; Fri, 17 Apr 2020 12:34:33 +0000 (UTC) From: Brice Waegeneire To: 40607@debbugs.gnu.org Subject: [PATCH v2 0/3] gnu: Add usbguard Date: Fri, 17 Apr 2020 14:34:18 +0200 Message-Id: <20200417123421.3924-1-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40607 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 (-) Rebased on master. Brice Waegeneire (3): gnu: umockdev: Fix test. gnu: Add libqb. gnu: Add usbguard. gnu/packages/check.scm | 9 ++- gnu/packages/hardware.scm | 115 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+), 5 deletions(-) -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 17 08:34:46 2020 Received: (at 40607) by debbugs.gnu.org; 17 Apr 2020 12:34:46 +0000 Received: from localhost ([127.0.0.1]:40156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQCk-0002pF-5k for submit@debbugs.gnu.org; Fri, 17 Apr 2020 08:34:46 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:45605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQCh-0002oc-2P for 40607@debbugs.gnu.org; Fri, 17 Apr 2020 08:34:43 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 6E3F610000F for <40607@debbugs.gnu.org>; Fri, 17 Apr 2020 12:34:35 +0000 (UTC) From: Brice Waegeneire To: 40607@debbugs.gnu.org Subject: [PATCH v2 1/3] gnu: umockdev: Fix test. Date: Fri, 17 Apr 2020 14:34:19 +0200 Message-Id: <20200417123421.3924-2-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200417123421.3924-1-brice@waegenei.re> References: <20200417123421.3924-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: 40607 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/check.scm (umockdev)[inputs]: Remove 'gobject-introspection'. [arguments]: Replace phase 'skip-broken-test' by 'fix-test'. --- gnu/packages/check.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 1cd40d9b13..8c22d33c73 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2019 Pierre Langlois ;;; Copyright © 2019 Chris Marusich ;;; Copyright © 2020 Lars-Dominik Braun +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -2427,11 +2428,10 @@ provides a simple way to achieve this.") (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'skip-broken-test + (add-after 'unpack 'fix-test (lambda _ (substitute* "tests/test-umockdev.c" - (("/\\* sys/ in other dir") - (string-append "return; // "))) + (("/run") "/tmp")) #t))))) (native-inputs `(("vala" ,vala) @@ -2444,8 +2444,7 @@ provides a simple way to achieve this.") (inputs `(("glib" ,glib) ("eudev" ,eudev) - ("libgudev" ,libgudev) - ("gobject-introspection" ,gobject-introspection))) + ("libgudev" ,libgudev))) (home-page "https://github.com/martinpitt/umockdev/") (synopsis "Mock hardware devices for creating unit tests") (description "umockdev mocks hardware devices for creating integration -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 17 08:34:47 2020 Received: (at 40607) by debbugs.gnu.org; 17 Apr 2020 12:34:47 +0000 Received: from localhost ([127.0.0.1]:40158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQCk-0002pH-Ft for submit@debbugs.gnu.org; Fri, 17 Apr 2020 08:34:46 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:60189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQCh-0002oe-F0 for 40607@debbugs.gnu.org; Fri, 17 Apr 2020 08:34:44 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay11.mail.gandi.net (Postfix) with ESMTPSA id AC67310000C for <40607@debbugs.gnu.org>; Fri, 17 Apr 2020 12:34:37 +0000 (UTC) From: Brice Waegeneire To: 40607@debbugs.gnu.org Subject: [PATCH v2 2/3] gnu: Add libqb. Date: Fri, 17 Apr 2020 14:34:20 +0200 Message-Id: <20200417123421.3924-3-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200417123421.3924-1-brice@waegenei.re> References: <20200417123421.3924-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: 40607 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/hardware.scm (libqb): New variable. --- gnu/packages/hardware.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 7ee657a75a..7c59984599 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -307,3 +309,31 @@ supported by the Linux kernel.") "Rkdeveloptool can read from and write to RockChip devices over USB, such as the Pinebook Pro.") (license license:gpl2+)))) + +(define-public libqb + (package + (name "libqb") + ;; NOTE: We are using a Release Candidate version (for 2.0) here because + ;; of the linker issues with the previous release. + (version "1.9.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ClusterLabs/libqb/releases/download/v" + version "/libqb-" version ".tar.xz")) + (sha256 + (base32 + "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("xmllint" ,libxml2))) + (home-page "https://clusterlabs.github.io/libqb/") + (synopsis "Library providing high performance logging, tracing, ipc, and poll") + (description "Libqb is a library with the primary purpose of providing +high-performance, reusable features for client-server architecture, such as +logging, tracing, inter-process communication (IPC), and polling. Libqb is +not intended to be an all-encompassing library, but instead provide focused +APIs that are highly tuned for maximum performance for client-server +applications.") + (license license:lgpl2.1))) -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 17 08:34:47 2020 Received: (at 40607) by debbugs.gnu.org; 17 Apr 2020 12:34:47 +0000 Received: from localhost ([127.0.0.1]:40160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQCk-0002pP-V3 for submit@debbugs.gnu.org; Fri, 17 Apr 2020 08:34:47 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQCi-0002og-Ht for 40607@debbugs.gnu.org; Fri, 17 Apr 2020 08:34:45 -0400 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id A6C56E000F for <40607@debbugs.gnu.org>; Fri, 17 Apr 2020 12:34:38 +0000 (UTC) From: Brice Waegeneire To: 40607@debbugs.gnu.org Subject: [PATCH v2 3/3] gnu: Add usbguard. Date: Fri, 17 Apr 2020 14:34:21 +0200 Message-Id: <20200417123421.3924-4-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200417123421.3924-1-brice@waegenei.re> References: <20200417123421.3924-1-brice@waegenei.re> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40607 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/hardware.scm (usbguard): New variable. --- gnu/packages/hardware.scm | 85 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 7c59984599..11317e77fd 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -21,12 +21,17 @@ (define-module (gnu packages hardware) #:use-module (gnu packages autotools) #:use-module (gnu packages compression) + #:use-module (gnu packages crypto) + #:use-module (gnu packages documentation) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages ncurses) + #:use-module (gnu packages openldap) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages polkit) + #:use-module (gnu packages protobuf) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -337,3 +342,83 @@ not intended to be an all-encompassing library, but instead provide focused APIs that are highly tuned for maximum performance for client-server applications.") (license license:lgpl2.1))) + +(define-public usbguard + (package + (name "usbguard") + (version "0.7.6") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/USBGuard/usbguard/releases/download/usbguard-" + version "/usbguard-" version ".tar.gz")) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gzhs8s4aka86mkcjib36z54si939ki4bmk46p6v8kln1fixad3j")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'configure 'patch-makefile + (lambda _ + ;; Do not create log directory. + (substitute* "Makefile" ((".*/log/usbguard.*") "")) + ;; Disable LDAP tests: they use 'sudo'. + (substitute* "src/Tests/Makefile.am" + (("WITH_LDAP") "FALSE")) + #t)) + (add-after 'install 'delete-static-library + (lambda* (#:key outputs #:allow-other-keys) + ;; It can't be direclty disabled since it's needed for the tests. + (delete-file (string-append (assoc-ref outputs "out") + "/lib/libusbguard.a")) + #t)) + (add-after 'install 'install-zsh-completion + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (site-functions + (string-append out "/share/zsh/site-functions"))) + (mkdir-p site-functions) + (copy-file "scripts/usbguard-zsh-completion" + (string-append site-functions "/_usbguard")) + #t)))) + #:make-flags + (list (string-append "BASH_COMPLETION_DIR=" + (assoc-ref %outputs "out") + "/etc/bash_completion.d")) + #:configure-flags + (list + "--localstatedir=/var" + "--with-bundled-pegtl" + "--enable-systemd=no" + "--with-ldap" + "--with-dbus" + "--with-polkit"))) + (inputs + `(("audit" ,audit) + ("catch" ,catch-framework) + ("dbus-glib" ,dbus-glib) + ("ldap" ,openldap) + ("libcap-ng" ,libcap-ng) + ("libseccomp" ,libseccomp) + ("libsodium" ,libsodium) + ("polkit" ,polkit) + ("protobuf" ,protobuf) + ("libqb" ,libqb))) + (native-inputs + `(("asciidoc" ,asciidoc) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("bash-completion" ,bash-completion) + ("gdbus-codegen" ,glib "bin") + ("umockdev" ,umockdev) + ("xmllint" ,libxml2) + ("xsltproc" ,libxslt) + ("pkg-config" ,pkg-config))) + (home-page "https://usbguard.github.io") + (synopsis "Helps to protect your computer against rogue USB devices (a.k.a. BadUSB)") + (description "USBGuard is a software framework for implementing USB device +authorization policies (what kind of USB devices are authorized) as well as +method of use policies (how a USB device may interact with the system). +Simply put, it is a USB device whitelisting tool.") + (license license:gpl2))) -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 17 08:37:52 2020 Received: (at control) by debbugs.gnu.org; 17 Apr 2020 12:37:52 +0000 Received: from localhost ([127.0.0.1]:40167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQFk-0002u6-JV for submit@debbugs.gnu.org; Fri, 17 Apr 2020 08:37:52 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPQFj-0002tv-Ku for control@debbugs.gnu.org; Fri, 17 Apr 2020 08:37:51 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 04FE7E000F for ; Fri, 17 Apr 2020 12:37:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 17 Apr 2020 12:37:45 +0000 From: Brice Waegeneire To: control@debbugs.gnu.org Subject: retitle 40607 Message-ID: <3868e1c657b1a87435564928718576c2@waegenei.re> X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-Spam-Score: -0.7 (/) 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: -1.7 (-) retitle 40607 Add usbguard package quit From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 23 09:55:50 2020 Received: (at 40607) by debbugs.gnu.org; 23 Apr 2020 13:55:50 +0000 Received: from localhost ([127.0.0.1]:55556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRcKU-0006nL-6f for submit@debbugs.gnu.org; Thu, 23 Apr 2020 09:55:50 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:35689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRcKS-0006n9-3u for 40607@debbugs.gnu.org; Thu, 23 Apr 2020 09:55:49 -0400 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 31B4740002 for <40607@debbugs.gnu.org>; Thu, 23 Apr 2020 13:55:40 +0000 (UTC) From: Brice Waegeneire To: 40607@debbugs.gnu.org Subject: [PATCH v3 0/3] Add usbguard package Date: Thu, 23 Apr 2020 15:55:30 +0200 Message-Id: <20200423135533.14667-1-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40607 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 (-) Add missing modules for usbguard. Brice Waegeneire (3): gnu: umockdev: Fix test. gnu: Add libqb. gnu: Add usbguard. gnu/packages/check.scm | 9 ++- gnu/packages/hardware.scm | 118 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 5 deletions(-) -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 23 09:55:52 2020 Received: (at 40607) by debbugs.gnu.org; 23 Apr 2020 13:55:52 +0000 Received: from localhost ([127.0.0.1]:55560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRcKW-0006na-Dj for submit@debbugs.gnu.org; Thu, 23 Apr 2020 09:55:52 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRcKU-0006nD-4D for 40607@debbugs.gnu.org; Thu, 23 Apr 2020 09:55:51 -0400 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 88345E000D for <40607@debbugs.gnu.org>; Thu, 23 Apr 2020 13:55:43 +0000 (UTC) From: Brice Waegeneire To: 40607@debbugs.gnu.org Subject: [PATCH v3 2/3] gnu: Add libqb. Date: Thu, 23 Apr 2020 15:55:32 +0200 Message-Id: <20200423135533.14667-3-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200423135533.14667-1-brice@waegenei.re> References: <20200423135533.14667-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: 40607 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/hardware.scm (libqb): New variable. --- gnu/packages/hardware.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 7ee657a75a..7c59984599 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -307,3 +309,31 @@ supported by the Linux kernel.") "Rkdeveloptool can read from and write to RockChip devices over USB, such as the Pinebook Pro.") (license license:gpl2+)))) + +(define-public libqb + (package + (name "libqb") + ;; NOTE: We are using a Release Candidate version (for 2.0) here because + ;; of the linker issues with the previous release. + (version "1.9.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ClusterLabs/libqb/releases/download/v" + version "/libqb-" version ".tar.xz")) + (sha256 + (base32 + "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("xmllint" ,libxml2))) + (home-page "https://clusterlabs.github.io/libqb/") + (synopsis "Library providing high performance logging, tracing, ipc, and poll") + (description "Libqb is a library with the primary purpose of providing +high-performance, reusable features for client-server architecture, such as +logging, tracing, inter-process communication (IPC), and polling. Libqb is +not intended to be an all-encompassing library, but instead provide focused +APIs that are highly tuned for maximum performance for client-server +applications.") + (license license:lgpl2.1))) -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 23 09:55:56 2020 Received: (at 40607) by debbugs.gnu.org; 23 Apr 2020 13:55:56 +0000 Received: from localhost ([127.0.0.1]:55562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRcKZ-0006np-Pb for submit@debbugs.gnu.org; Thu, 23 Apr 2020 09:55:56 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:45061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRcKV-0006nE-E5 for 40607@debbugs.gnu.org; Thu, 23 Apr 2020 09:55:52 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay12.mail.gandi.net (Postfix) with ESMTPSA id C554A200007 for <40607@debbugs.gnu.org>; Thu, 23 Apr 2020 13:55:44 +0000 (UTC) From: Brice Waegeneire To: 40607@debbugs.gnu.org Subject: [PATCH v3 3/3] gnu: Add usbguard. Date: Thu, 23 Apr 2020 15:55:33 +0200 Message-Id: <20200423135533.14667-4-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200423135533.14667-1-brice@waegenei.re> References: <20200423135533.14667-1-brice@waegenei.re> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40607 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/hardware.scm (usbguard): New variable. --- gnu/packages/hardware.scm | 88 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 7c59984599..189c73ee3c 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -19,14 +19,22 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages hardware) + #:use-module (gnu packages admin) #:use-module (gnu packages autotools) + #:use-module (gnu packages bash) #:use-module (gnu packages compression) + #:use-module (gnu packages check) + #:use-module (gnu packages crypto) + #:use-module (gnu packages documentation) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages ncurses) + #:use-module (gnu packages openldap) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages polkit) + #:use-module (gnu packages protobuf) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -337,3 +345,83 @@ not intended to be an all-encompassing library, but instead provide focused APIs that are highly tuned for maximum performance for client-server applications.") (license license:lgpl2.1))) + +(define-public usbguard + (package + (name "usbguard") + (version "0.7.6") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/USBGuard/usbguard/releases/download/usbguard-" + version "/usbguard-" version ".tar.gz")) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gzhs8s4aka86mkcjib36z54si939ki4bmk46p6v8kln1fixad3j")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'configure 'patch-makefile + (lambda _ + ;; Do not create log directory. + (substitute* "Makefile" ((".*/log/usbguard.*") "")) + ;; Disable LDAP tests: they use 'sudo'. + (substitute* "src/Tests/Makefile.am" + (("WITH_LDAP") "FALSE")) + #t)) + (add-after 'install 'delete-static-library + (lambda* (#:key outputs #:allow-other-keys) + ;; It can't be direclty disabled since it's needed for the tests. + (delete-file (string-append (assoc-ref outputs "out") + "/lib/libusbguard.a")) + #t)) + (add-after 'install 'install-zsh-completion + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (site-functions + (string-append out "/share/zsh/site-functions"))) + (mkdir-p site-functions) + (copy-file "scripts/usbguard-zsh-completion" + (string-append site-functions "/_usbguard")) + #t)))) + #:make-flags + (list (string-append "BASH_COMPLETION_DIR=" + (assoc-ref %outputs "out") + "/etc/bash_completion.d")) + #:configure-flags + (list + "--localstatedir=/var" + "--with-bundled-pegtl" + "--enable-systemd=no" + "--with-ldap" + "--with-dbus" + "--with-polkit"))) + (inputs + `(("audit" ,audit) + ("catch" ,catch-framework) + ("dbus-glib" ,dbus-glib) + ("ldap" ,openldap) + ("libcap-ng" ,libcap-ng) + ("libseccomp" ,libseccomp) + ("libsodium" ,libsodium) + ("polkit" ,polkit) + ("protobuf" ,protobuf) + ("libqb" ,libqb))) + (native-inputs + `(("asciidoc" ,asciidoc) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("bash-completion" ,bash-completion) + ("gdbus-codegen" ,glib "bin") + ("umockdev" ,umockdev) + ("xmllint" ,libxml2) + ("xsltproc" ,libxslt) + ("pkg-config" ,pkg-config))) + (home-page "https://usbguard.github.io") + (synopsis "Helps to protect your computer against rogue USB devices (a.k.a. BadUSB)") + (description "USBGuard is a software framework for implementing USB device +authorization policies (what kind of USB devices are authorized) as well as +method of use policies (how a USB device may interact with the system). +Simply put, it is a USB device whitelisting tool.") + (license license:gpl2))) -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 23 09:55:58 2020 Received: (at 40607) by debbugs.gnu.org; 23 Apr 2020 13:55:59 +0000 Received: from localhost ([127.0.0.1]:55564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRcKc-0006nw-6F for submit@debbugs.gnu.org; Thu, 23 Apr 2020 09:55:58 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:54273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRcKS-0006nA-W7 for 40607@debbugs.gnu.org; Thu, 23 Apr 2020 09:55:54 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 603E2100009 for <40607@debbugs.gnu.org>; Thu, 23 Apr 2020 13:55:41 +0000 (UTC) From: Brice Waegeneire To: 40607@debbugs.gnu.org Subject: [PATCH v3 1/3] gnu: umockdev: Fix test. Date: Thu, 23 Apr 2020 15:55:31 +0200 Message-Id: <20200423135533.14667-2-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200423135533.14667-1-brice@waegenei.re> References: <20200423135533.14667-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: 40607 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/check.scm (umockdev)[inputs]: Remove 'gobject-introspection'. [arguments]: Replace phase 'skip-broken-test' by 'fix-test'. --- gnu/packages/check.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 1cd40d9b13..8c22d33c73 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2019 Pierre Langlois ;;; Copyright © 2019 Chris Marusich ;;; Copyright © 2020 Lars-Dominik Braun +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -2427,11 +2428,10 @@ provides a simple way to achieve this.") (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'skip-broken-test + (add-after 'unpack 'fix-test (lambda _ (substitute* "tests/test-umockdev.c" - (("/\\* sys/ in other dir") - (string-append "return; // "))) + (("/run") "/tmp")) #t))))) (native-inputs `(("vala" ,vala) @@ -2444,8 +2444,7 @@ provides a simple way to achieve this.") (inputs `(("glib" ,glib) ("eudev" ,eudev) - ("libgudev" ,libgudev) - ("gobject-introspection" ,gobject-introspection))) + ("libgudev" ,libgudev))) (home-page "https://github.com/martinpitt/umockdev/") (synopsis "Mock hardware devices for creating unit tests") (description "umockdev mocks hardware devices for creating integration -- 2.26.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 19:20:57 2020 Received: (at 40607-done) by debbugs.gnu.org; 30 Apr 2020 23:20:57 +0000 Received: from localhost ([127.0.0.1]:47913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUIU1-0008IH-2q for submit@debbugs.gnu.org; Thu, 30 Apr 2020 19:20:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUITz-0008I2-OA for 40607-done@debbugs.gnu.org; Thu, 30 Apr 2020 19:20:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60816) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUITt-0008G9-Hc; Thu, 30 Apr 2020 19:20:37 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36014 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUITt-0003kJ-3S; Thu, 30 Apr 2020 19:20:37 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: [bug#40607] [PATCH v3 0/3] Add usbguard package References: <20200413195000.28971-3-brice@waegenei.re> <20200423135533.14667-1-brice@waegenei.re> Date: Fri, 01 May 2020 01:20:35 +0200 In-Reply-To: <20200423135533.14667-1-brice@waegenei.re> (Brice Waegeneire's message of "Thu, 23 Apr 2020 15:55:30 +0200") Message-ID: <87bln8imrg.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: -2.3 (--) X-Debbugs-Envelope-To: 40607-done Cc: 40607-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: -1.0 (-) Hi, Brice Waegeneire skribis: > gnu: umockdev: Fix test. > gnu: Add libqb. > gnu: Add usbguard. Applied, thanks! For usbguard, there are apparently harmless warnings like: --8<---------------cut here---------------start------------->8--- make[4]: Entering directory '/tmp/guix-build-usbguard-0.7.6.drv-0/usbguard-= 0.7.6/src/Tests' CXX main.o CXX Unit/test_Rule.o cc1plus: warning: /usr/include/catch: No such file or directory [-Wmissing-= include-dirs] --8<---------------cut here---------------end--------------->8--- Looks like they pass -I/usr/include/catch? Anyway, doesn=E2=80=99t matter = much. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 09:11:01 2020 Received: (at 40607-done) by debbugs.gnu.org; 1 May 2020 13:11:01 +0000 Received: from localhost ([127.0.0.1]:48434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUVRV-0006cX-BZ for submit@debbugs.gnu.org; Fri, 01 May 2020 09:11:01 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUVRT-0006cG-Nb for 40607-done@debbugs.gnu.org; Fri, 01 May 2020 09:11:00 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 9A6CAE0009; Fri, 1 May 2020 13:10:53 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 01 May 2020 13:10:53 +0000 From: Brice Waegeneire To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: [bug#40607] [PATCH v3 0/3] Add usbguard package In-Reply-To: <87bln8imrg.fsf@gnu.org> References: <20200413195000.28971-3-brice@waegenei.re> <20200423135533.14667-1-brice@waegenei.re> <87bln8imrg.fsf@gnu.org> Message-ID: <4c9655997b829ace304e4123feabe4b2@waegenei.re> X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40607-done Cc: 40607-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: -1.7 (-) Hello Ludo', On 2020-04-30 23:20, Ludovic Courtès wrote: > For usbguard, there are apparently harmless warnings like: > > --8<---------------cut here---------------start------------->8--- > make[4]: Entering directory > '/tmp/guix-build-usbguard-0.7.6.drv-0/usbguard-0.7.6/src/Tests' > CXX main.o > CXX Unit/test_Rule.o > cc1plus: warning: /usr/include/catch: No such file or directory > [-Wmissing-include-dirs] > --8<---------------cut here---------------end--------------->8--- > > Looks like they pass -I/usr/include/catch? Anyway, doesn’t matter > much. I've fixed that in https://issues.guix.info/issue/40996 Cheers, - Brice From unknown Sun Jun 22 07:35:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 May 2020 11:24:03 +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