From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gKA3Aplm8GDoZAAAgWs5BA (envelope-from ) for ; Thu, 15 Jul 2021 18:47:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OFCpN5hm8GADPQAA1q6Kng (envelope-from ) for ; Thu, 15 Jul 2021 16:47:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A1A861308F for ; Thu, 15 Jul 2021 18:47:20 +0200 (CEST) Received: from localhost ([::1]:41034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m44W7-0000vt-O5 for larch@yhetil.org; Thu, 15 Jul 2021 12:47:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m44Vv-0000t2-Sx for guix-patches@gnu.org; Thu, 15 Jul 2021 12:47:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m44Vq-0006El-4L for guix-patches@gnu.org; Thu, 15 Jul 2021 12:47:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m44Vq-00052H-1R for guix-patches@gnu.org; Thu, 15 Jul 2021 12:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49578] [PATCH] Add bolt Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Jul 2021 16:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49578 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49578@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.162636757319296 (code B ref -1); Thu, 15 Jul 2021 16:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jul 2021 16:46:13 +0000 Received: from localhost ([127.0.0.1]:49573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m44V2-00051A-T9 for submit@debbugs.gnu.org; Thu, 15 Jul 2021 12:46:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:55806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m44V0-000512-Dy for submit@debbugs.gnu.org; Thu, 15 Jul 2021 12:46:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m44Uz-00006x-Rn for guix-patches@gnu.org; Thu, 15 Jul 2021 12:46:10 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:38147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m44Ux-0005aW-77 for guix-patches@gnu.org; Thu, 15 Jul 2021 12:46:09 -0400 Date: Thu, 15 Jul 2021 16:46:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1626367563; bh=VPlR1mh65XfbwPZ/EUEAYwEUbyjgYfBe4wZ25pB1MD0=; h=Date:To:From:Reply-To:Subject:From; b=KYylTmXxkmncIluOWLIuqNKTouV4TfFwo04vADoo6JZgN2SvTi0jNNgqybTzhOpwE YVHZjI/carLdnh5+gdscTEFznS7K/PstpeHmVZP+Gl/V/+KvGI3Zu2ojvbaJ9YBUNZ EY/HWdi1vhlK7LhxUDlgGldkNs/l61Y+tzVvHc18= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=phodina@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626367640; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VPlR1mh65XfbwPZ/EUEAYwEUbyjgYfBe4wZ25pB1MD0=; b=U5mD9D6PqjP5SP57J6IkoOGlaIe7Bu0ZWQTuTbK3c0whuNu0A8xR1Kr5iMR3xHueXEbo5t JbCAw3tVht4Qo82qALmEzqH2fZWv75SelMSzIf3QKjz3Q6kPmYMV6jEtc9MxW5yDMGW5IA utju+A88HXk2HL1fRB6bvq7xqDAjGcexFFm3EgMLYg97zabbtOqGBWjZbmBWg8K/OSjEfs O9Nnk6+MMqIeThx4hT/5Tofm1ctvasCQZBrhyOfF/MCWPnXNu+Z9b9grL2kGh4JKuVZA5T Va/9cRgvKR625e1/DGAUWSFQsXKTfO0I9uLFvHNNEauSGC5b1gA2xMyAqQmFpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626367640; a=rsa-sha256; cv=none; b=EpaVp9aWLtcgvBn3VahaetsWCy/j4lIQOWC6N1cqLHr0Qg41zlq4fSJoEPLfUFzWmLA5Hy jnkdNheI7hnPuqVQCTfCzwOwwhumUT2Jb9aBz4wYvDEv7h0jORAspRxnLHNcZhHgT9gsNQ 9mcwd9mmh70is59bNI1I0GPsfmJfjCGVagyv/aDFpfHnuHj3GpN8Y4OOCiFU2TcKb4+Xw3 zTN0Mp60/bv+oAxYWWyEtNdVRmxDaarN1fOd4BJTMgugAoWhKP8Ppj0UUyDLIDtQqMBvtm dVBggr79QnBRp9Qoq/1Zqs9icdfUZM4kmkWrujTf5emx3R5kRYelU53hYL3VMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=KYylTmXx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=KYylTmXx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A1A861308F X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: z2HPv4BoAXFu --- index 4b57bc1f24..d07ee33a7e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -123,6 +123,7 @@ #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages polkit) #:use-module (gnu packages readline) #:use-module (gnu packages rrdtool) #:use-module (gnu packages samba) @@ -2479,6 +2480,52 @@ IPv6 packet filter. Both commands are targeted at system administrators.") (license license:gpl2+))) +(define-public bolt + (package + (name "bolt") + (version "0.9.1") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.freedesktop.org/bolt/bolt") + (commit version))) + (sha256 + (base32 + "1phgp8fs0dlj74kbkqlvfniwc32daz47b3pvsxlfxqzyrp77xrfm")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags (list (string-append "--localstatedir=3D" (assoc-= ref %outputs "out") "/var")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-udev-rules-directory + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/lib/udev/rules.d")) + (substitute* "meson.build" + (("udev.get_pkgconfig_variable..udevdir..") + (string-append "'" out "/lib'")))#t))) + (add-before 'install 'no-polkit-magic + (lambda* (#:key outputs #:allow-other-keys) + ;; Meson =E2=80=98magically=E2=80=99 invokes pkexec, which fa= ils (not setuid). + (setenv "PKEXEC_UID" "something") + #t))))) + (native-inputs `(("pkg-config" ,pkg-config) ("dbus" ,dbus) ("asciidoc"= ,asciidoc) ("umockdev" ,umockdev))) + (inputs `(("glib:bin" ,glib "bin") ("eudev" ,eudev) ("polkit" ,polkit)= )) + (synopsis "Userspace system daemon to enable security levels for Thund= erbolt=E2=84=A2 +on GNU/Linux=C2=AE.") + (description "Thunderbolt=E2=84=A2 is the brand name of a hardware int= erface developed by +Intel=C2=AE that allows the connection of external peripherals to a +computer. +Devices connected via Thunderbolt can be DMA masters and thus read +system memory without interference of the operating system (or even +the CPU). Version 3 of the interface introduced 5 different security +levels, in order to mitigate the aforementioned security risk that +connected devices pose to the system. The security level is set by the +system firmware.") + (home-page "https://gitlab.freedesktop.org/bolt/bolt") + (license license:gpl2+))) + (define-public jitterentropy-rngd (package (name "jitterentropy-rngd") -- 2.31.1