From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BB4E515800A for ; Thu, 17 Aug 2023 07:49:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03D572BC01D; Thu, 17 Aug 2023 07:49:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E19232BC01D for ; Thu, 17 Aug 2023 07:49:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E41E33406DD for ; Thu, 17 Aug 2023 07:49:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38390FCA for ; Thu, 17 Aug 2023 07:49:24 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1692258525.a1f3d15c88e4a9a462fa04fba9602726b817d6b0.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/sas3flash/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/sas3flash/sas3flash-16.ebuild X-VCS-Directories: sys-block/sas3flash/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: a1f3d15c88e4a9a462fa04fba9602726b817d6b0 X-VCS-Branch: master Date: Thu, 17 Aug 2023 07:49:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 899d2e8b-dbfa-4de5-a5a2-23ed37df911d X-Archives-Hash: a88548984370d4fc662eabba6c04a291 commit: a1f3d15c88e4a9a462fa04fba9602726b817d6b0 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Jul 16 08:20:59 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Aug 17 07:48:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f3d15c sys-block/sas3flash: use secureboot.eclass to sign efi exec Signed-off-by: Andrew Ammerlaan gentoo.org> sys-block/sas3flash/sas3flash-16.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-block/sas3flash/sas3flash-16.ebuild b/sys-block/sas3flash/sas3flash-16.ebuild index b1179691af24..94f85c44952a 100644 --- a/sys-block/sas3flash/sas3flash-16.ebuild +++ b/sys-block/sas3flash/sas3flash-16.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit mount-boot +inherit mount-boot secureboot DESCRIPTION="Flash utility for LSI MPT-SAS3 controller" HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8e#downloads" @@ -47,6 +47,10 @@ pkg_nofetch() { einfo "${SRC_URI}" } +pkg_setup() { + use efi && secureboot_pkg_setup +} + supportedcards() { elog "This binary supports should support ALL cards, including, but not" elog "limited to the following series:" @@ -88,6 +92,7 @@ src_install() { if use amd64; then doexe Installer_P"${PV}"_for_UEFI/sas3flash_udk_uefi_x64_rel/sas3flash.efi fi + secureboot_auto_sign --in-place fi default