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 8886315800A for ; Thu, 17 Aug 2023 07:49:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A2092BC022; Thu, 17 Aug 2023 07:49:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 0DE412BC022 for ; Thu, 17 Aug 2023 07:49:28 +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 09AC7340831 for ; Thu, 17 Aug 2023 07:49:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 948B0FCF 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: <1692258530.8130f910773cd291725590b0aff27c8df4287889.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmicfg/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild X-VCS-Directories: sys-apps/ipmicfg/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 8130f910773cd291725590b0aff27c8df4287889 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: 83e4f865-b628-4219-af7d-ce286130e24e X-Archives-Hash: b1573d70332992ba7e20a11b497f5ffa commit: 8130f910773cd291725590b0aff27c8df4287889 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Jul 16 08:52:27 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Aug 17 07:48:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8130f910 sys-apps/ipmicfg: use secureboot.eclass to sign efi exec Signed-off-by: Andrew Ammerlaan gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/31843 Signed-off-by: Andrew Ammerlaan gentoo.org> sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild b/sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild index 2adf8df742f3..cb0fafe4c1e4 100644 --- a/sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild +++ b/sys-apps/ipmicfg/ipmicfg-1.34.2.230224.ebuild @@ -7,6 +7,8 @@ MY_DATE="$(ver_cut 4)" MY_PN="${PN^^}" MY_PV="$(ver_cut 1-3)" +inherit secureboot + DESCRIPTION="An in-band utility for configuring Supermicro IPMI devices" HOMEPAGE="https://www.supermicro.com" SRC_URI="https://www.supermicro.com/Bios/sw_download/551/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip" @@ -23,12 +25,17 @@ RESTRICT="bindist mirror" QA_PREBUILT="usr/bin/ipmicfg" +pkg_setup() { + use uefi && secureboot_pkg_setup +} + src_install() { newbin Linux/$(usex amd64 '64bit' '32bit')/IPMICFG-Linux.x86$(usex amd64 '_64' '') ipmicfg if use uefi; then insinto /usr/share/ipmicfg newins UEFI/IPMICFG.efi ipmicfg.efi + secureboot_auto_sign --in-place fi # Install docs