From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MMAYLlK8smYHNgAAe85BDQ:P1 (envelope-from ) for ; Wed, 07 Aug 2024 00:14:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MMAYLlK8smYHNgAAe85BDQ (envelope-from ) for ; Wed, 07 Aug 2024 02:14:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="iqw/3lmK"; dkim=fail ("headers rsa verify failed") header.d=lunabee.space header.s=purelymail3 header.b=SE9BBPMR; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail3 header.b=SY2PoUc5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722989650; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=26FLSOuiGYmCw11nXp61rJ0AD1wQhux41z4ZLgracwk=; b=qtOd3CjBZ9oRsKogElELc/qn6zJQHvj9kF2fq7QPo8+Vsgbk+XY2BZl2QHnOaENJJy1Spi pEV/P9iqYjyFEfCnWR9hYVusefI1/n2/hwfYnvToZFV1Wk6Tk1A+ErT8jmV5i1WEFuEWqv e0VPkvFXq118G/PUlJIICTgiHo0ZrYUoXSVqaK9bycL3JsifYU128XfeUi5NIQHSqHu8u8 X4HY8DWRmr0DfcsJf4gPSs74y8S+SNcs6Drh2J5yQQJw64BEA0KVfteJbUfp8bxDhTlf+5 83P3sfIDsJjmOE5mE3WYQ7hxkXt9+STzWUhCGDvIAy/DCJ0LEy1AFw0AviWPcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722989650; a=rsa-sha256; cv=none; b=Joq3FWSHxbkhF4XJWqwK68cRk4ois/yFCbQUXuWPC63QOaWtH9z4eOS8EoP1RGbm3nqnYY TuhT/6DBNx0vXrj1LEgJHJa3iXaJRLxGZr4GCP8axUCYdmpk47SSUAX0CCBAPxeCEqcT5Z uljBwJ1+FaN5yGXyBW/AzBAOxuTefTpLOvPSkWkbG5Dn/9Qd7H1s5O+6GKk7mZJdmvfMZQ pXHSstacGMk4P6EdrWZ+EiH7rkLLgkMdQ2X9L01IsmQw9vIg2AcQCD3YzeJU9KU4mQJUUO bew7hY5nIoWq6Yk7afvbfoFVI3xiYPCUqlksYV433Cuts+sdEb+ghD9vkwEnIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="iqw/3lmK"; dkim=fail ("headers rsa verify failed") header.d=lunabee.space header.s=purelymail3 header.b=SE9BBPMR; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail3 header.b=SY2PoUc5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 7FDAF64FD9 for ; Wed, 07 Aug 2024 02:14:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbUJK-0004iV-JF; Tue, 06 Aug 2024 20:13:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbUJD-0004Fm-K0 for guix-patches@gnu.org; Tue, 06 Aug 2024 20:13:43 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sbUJC-00025J-Or for guix-patches@gnu.org; Tue, 06 Aug 2024 20:13:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=26FLSOuiGYmCw11nXp61rJ0AD1wQhux41z4ZLgracwk=; b=iqw/3lmKp1PkqQcwUMf/YwtDR0Ca0uHa7P80oktCAp1Iabfd6O4h9essVhNZMZfDucg6mHZIeQWeuUpLDKMa1ak09pWOEhKxno4u6vBPp3Buq7i4TZ0ptr9ExA4ABpfk7yxkGyTFTD4tvbkPopW1a6LwB7QP6v/3FwTvXrUF6fGSLsas8CUri/vFRwAZM+DKN63uw81pL66+WGXW0oVT1Kh/cpOPXTOAnsjGH7Pn3PT9J/oJ7emxWy8iEHa9qw3pnPq5cpZkU4FsI4dCjCJETC+Hrncyz7NCI2fiVvA6YpfjpQ0vLe376TGLacgy2inXcHeM9vGe5RMo9JbwiqmNLA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbUJb-0006yP-38 for guix-patches@gnu.org; Tue, 06 Aug 2024 20:14:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72457] [PATCH v5 08/15] gnu: packages: Add pesign. Resent-From: Lilah Tascheter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Aug 2024 00:14:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72457 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72457@debbugs.gnu.org Cc: Lilah Tascheter , Sergey Trofimov Received: via spool by 72457-submit@debbugs.gnu.org id=B72457.172298964226728 (code B ref 72457); Wed, 07 Aug 2024 00:14:07 +0000 Received: (at 72457) by debbugs.gnu.org; 7 Aug 2024 00:14:02 +0000 Received: from localhost ([127.0.0.1]:33259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbUJV-0006wp-Qh for submit@debbugs.gnu.org; Tue, 06 Aug 2024 20:14:02 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:33154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbUJU-0006w2-9J for 72457@debbugs.gnu.org; Tue, 06 Aug 2024 20:14:00 -0400 DKIM-Signature: a=rsa-sha256; b=SE9BBPMR/LYJIbvdzoMaGgKYBoWVjX5BVsvVtNKrrhibY6HhctFAb3e5ICe4P3jRXUrm8vL6kMnTM1gho38NWey1euGR/DYT3IHIscsAREUSsdC/hM8YKiXd2C9/0PXsi1+0qRn6xvmKHD0Kt9kBMBd8fiDBhrQg90zAGNcVQNRQop+5DdrFAEPZ3sBSBpirf6JOKBTVT/W/0TqMQwfTfnE2WGPeLiegpQ9Q9CSWkRiHmbZTKvhOBi5TmiECX1E8XETToYu0NWlTTceaTT0ySaJjdQtnf1+d8ZThbNOeuy2/6t8y8OUB7u5iRDlf3XyInWI7KYZ7hvAqOGPk+ncVww==; s=purelymail3; d=lunabee.space; v=1; bh=WhiA5/5V8UV3UEflB4NEu7ujLL2fVd2BbiCKawWu2rY=; h=Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=SY2PoUc5amp58/kYHQCoFr3SZdHxT1NfMuMKSs+1kOzKn57saldVMChpgCMrIje6YbN7EjM4yMPwCtOwKQV+BQU4eoetRN7XZf0TkY9Ad56DIiCoryNLzvMZRNOmKVh6inxiQboJE4rcVqEkbHn3VNW+uE4TU6Bc6XAz7DuxNN5zATXCA4tNlmXtWReqgADcaStuwsj9UaZdHfO5kmvd93lmDknI+CUhUdD3s3eP4XIr/jVd4pKJkCURYf5MFa6kyL73u87XzDR2IVcCieRZqK6I5KEfG7VSNdTo2zYIkGPtuPrK493z2CnRCi9EjtKivO1nS2+J4t9Xq7NhEAFS3A==; s=purelymail3; d=purelymail.com; v=1; bh=WhiA5/5V8UV3UEflB4NEu7ujLL2fVd2BbiCKawWu2rY=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 72457@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1661201426; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 07 Aug 2024 00:13:14 +0000 (UTC) Date: Tue, 6 Aug 2024 19:11:21 -0500 Message-ID: <69ef36867af0065436330c6902e715ac6a0c1de9.1722989488.git.lilah@lunabee.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Content-Type: text/plain; charset=UTF-8 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: , From: Lilah Tascheter via Guix-patches Reply-To: Lilah Tascheter Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.94 X-Spam-Score: -3.94 X-Migadu-Queue-Id: 7FDAF64FD9 X-Migadu-Scanner: mx11.migadu.com X-TUID: a6ooeCO0lIGu * gnu/packages/efi.scm (pesign): New variable. Change-Id: I00fcc679d9514c85d508183b9ec7e121e0a814db --- gnu/packages/efi.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/efi.scm b/gnu/packages/efi.scm index 499745eba1..417b70d91b 100644 --- a/gnu/packages/efi.scm +++ b/gnu/packages/efi.scm @@ -24,8 +24,10 @@ (define-module (gnu packages efi) #:use-module (gnu packages bash) #:use-module (gnu packages linux) #:use-module (gnu packages man) + #:use-module (gnu packages nss) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages popt) #:use-module (gnu packages tls) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) @@ -153,6 +155,51 @@ (define-public sbsigntools (home-page "https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsig= ntools.git/") (license license:gpl3+))) =20 +(define-public pesign + (package + (name "pesign") + (version "116") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rhboot/pesign") + (commit version))) + (snippet #~(substitute* "Make.defaults" + (("pkg-config-ccldflags") "pkg-config-ldflags")= )) + (modules '((guix build utils))) + (sha256 + (base32 + "0fnqfiivj46bha4hsnwiqy8vq8b4i3w2dig0h9h2k4j7yq7r5qvj"))= )) + (build-system gnu-build-system) + (arguments + (list #:tests? #f + #:modules '((guix build gnu-build-system) + (guix build utils) + (ice-9 match)) + #:phases #~(modify-phases %standard-phases (delete 'configure)= ) + #:make-flags + (let ((system (%current-system)) (target (%current-target-syst= em))) + (define (arch s) (match (string-split s #\-) + (("i386" _ ...) "ia32") + (("i486" _ ...) "ia32") + (("i586" _ ...) "ia32") + (("i686" _ ...) "ia32") + ((x _ ...) x))) + #~(list "prefix=3D/" "libdir=3D/lib/" + (string-append "DESTDIR=3D" #$output) + (string-append "HOSTARCH=3D" #$(arch system)) + (string-append "ARCH=3D" #$(arch (or target system))= ) + (string-append "CROSS_COMPILE=3D" + #$@(if target (list target "-gcc") '())))))) + (inputs (list efivar nspr nss popt `(,util-linux "lib"))) + (native-inputs (list mandoc pkg-config)) + (synopsis "PE-COFF binary signing tools") + (description "Supports EFI keygen and subsequent signing of PE-COFF +binaries. Contains the tools authvar, efikeygen, pesigcheck, pesign, +pesign-client, and pesum.") + (home-page "https://github.com/rhboot/pesign") + (license license:gpl2+))) + (define-public efitools (package (name "efitools") --=20 2.45.2