public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmicfg/
Date: Thu, 17 Aug 2023 07:49:24 +0000 (UTC)	[thread overview]
Message-ID: <1692258530.8130f910773cd291725590b0aff27c8df4287889.andrewammerlaan@gentoo> (raw)

commit:     8130f910773cd291725590b0aff27c8df4287889
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 08:52:27 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> 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 <andrewammerlaan <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/31843
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> 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


             reply	other threads:[~2023-08-17  7:49 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-17  7:49 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-04 14:03 [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmicfg/ Conrad Kostecki
2024-08-04 14:03 Conrad Kostecki
2023-07-15 21:14 Conrad Kostecki
2023-07-15 21:14 Conrad Kostecki
2022-10-02 14:56 Conrad Kostecki
2022-10-02 14:56 Conrad Kostecki
2022-03-28 18:33 Conrad Kostecki
2022-03-28 18:33 Conrad Kostecki
2021-08-28 11:43 Conrad Kostecki
2021-08-28 11:43 Conrad Kostecki
2021-07-01 22:19 Conrad Kostecki
2021-07-01 22:19 Conrad Kostecki
2020-12-27 11:38 Conrad Kostecki
2020-12-27 11:38 Conrad Kostecki
2020-10-23 15:45 Conrad Kostecki
2020-10-09 13:37 Conrad Kostecki
2020-10-09 13:36 Conrad Kostecki
2020-08-09 15:53 Conrad Kostecki
2020-08-09 15:53 Conrad Kostecki
2020-03-12 22:48 Conrad Kostecki
2020-03-12 22:48 Conrad Kostecki
2019-12-02 23:22 Conrad Kostecki
2019-10-06 12:45 Thomas Deutschmann
2019-10-06 12:45 Thomas Deutschmann
2018-12-16 19:30 Andreas Sturmlechner
2018-12-16 19:30 Andreas Sturmlechner
2018-06-22 23:30 Georgy Yakovlev
2018-06-22 23:30 Georgy Yakovlev
2018-03-25  8:09 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1692258530.8130f910773cd291725590b0aff27c8df4287889.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox