repo/gentoo:master commit in: sys-boot/shim/
"Nowa Ammerlaan" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786022201.384536e08e795675b0cf2acf700f6be3add107d4.nowa@gentoo> |
commit: 384536e08e795675b0cf2acf700f6be3add107d4
Author: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 6 13:16:10 2026 +0000
Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Thu Aug 6 13:16:41 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384536e0
sys-boot/shim: add 16.1_p7
Bug: https://bugs.gentoo.org/980367
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>
sys-boot/shim/Manifest | 3 +++
sys-boot/shim/shim-16.1_p7.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/sys-boot/shim/Manifest b/sys-boot/shim/Manifest
index 9d09a84981c5..6bc4c5f01f60 100644
--- a/sys-boot/shim/Manifest
+++ b/sys-boot/shim/Manifest
@@ -1,6 +1,9 @@
DIST shim-aa64-15.8-3.aarch64.rpm 466590 BLAKE2B ebd77148d363020d14b418dbb3107981b213b39914daa80765cc2db16c7b365eaebcbcba19b88459364967f2764f417aeffd34754aa92c2efc7aaa4e9d45b712 SHA512 d9b879706f7f6c7f7bfea92a443191811d39835074b3b6db3979c707b406b00884baff66ac79bf9bd66869240f668c6e6f987f8954a570d648933c85ea0da1c2
+DIST shim-aa64-16.1-7.aarch64.rpm 486495 BLAKE2B b7c0d6262cdf3d7f3edcea79013078d12eed369574e0f0974ccd053c6731de4006d92f8732e8378feeab715b0c63e6b5c5769177a56499b079e25988ad392097 SHA512 17236317039b612058b3610507dc6196d9eb6a2df6efbfc4c46100b5c436812451705a2676eba6219e1665031c9262fc79b78c97e42e7209e3794149c45cb4ee
DIST shim-aa64-16.1-8.aarch64.rpm 486574 BLAKE2B d13ddee11e387b2d7960e1ca7d0c2855d687696981e35ab44b67b802e13dd6f207adbfcde3ecf96b9783d5bb670763ecfef68af396fd3d6f4a5c3bc11a28695a SHA512 6909ad0fb154a32cca3ceaf7f5b51e1efb23358c827320d40aff2247a8b906dc5accf8ada5ffb6b8590790ef00f602289b7398dbfcdb5493227cfeb0263545fc
DIST shim-ia32-15.8-3.x86_64.rpm 422489 BLAKE2B 00aa14d10ac0351e39f2b7bb2da6b31e048757ee9413b73f5a1638688e2b242c161b39b5d897c9414e435caab13456763dbe2c6bc46061ab3c29e14ab487e587 SHA512 10ef47014637f9df9f199d90e3869e96341723c23628cfd22465638028cc38b006a003c41ea7fd7f1885e4cb573a2f23034a237ea03ba231f8f0d37573bb2e23
+DIST shim-ia32-16.1-7.x86_64.rpm 436620 BLAKE2B 525fa83c3de61b27528c25d26aa9903d8c55b4caf531a896d2d0035de3635c0de662a71563804e9adb4aca0f9548f94f289f692e7aecdcb83f2836680f5c5cf0 SHA512 500df225e4b6733ba2ba11d0a2614a3f31b45102a8215641c443b149d048e85f9f10d74ca8fc55620cce559cd74d558597d2f9a552a3c82adcb952a4464749c8
DIST shim-ia32-16.1-8.x86_64.rpm 436712 BLAKE2B 430c9e3e43eb8bcc3465b391c07a125426638cc6c1fdd11b707ef4d5de6a47711216511cad6d118657523ea8b77cbfe21e9dc9648296bef4e6555b2e7c1800b7 SHA512 5025a82a7f97c47337990bc2a270942b472bf4cee17a1f1268f6849a1ce64b0d7c90d859716b38cf87aa129e1fd24c16b68d9f08f0ba89d1b857da854ce7140e
DIST shim-x64-15.8-3.x86_64.rpm 478432 BLAKE2B cf1a032af75fc17e09444aae488c2921a8f0868d91ceb427835cd0378f6c7369e223b7fc08f0a596774b374e3f800b9ec941792e522d8c5281a395cf800c642a SHA512 4c3635d82980ccb604b568f072f30ac0c0055c6ed2985dade6a28c9070852a240bb33f15f9ef42c83fa46d212c18ae6f17abca9f3adda0a332b908ceda537e87
+DIST shim-x64-16.1-7.x86_64.rpm 497743 BLAKE2B 6587bc85b585e54eff3b1f623c81f0d8104ac8cf35b427ce93c2fd07ee1ebea0ffe6152b0145a68a0ef0b2c6003b5006244cfa0d672182778d40c90223ee4f1c SHA512 642f7bd66f9d420fed5d5686d968a2065af445b4e7ba3d27a0a4f5852aefadd1835c485968e7bdc7cea5f377095bd3efcc8636837e3059a19cfab1c777e218f0
DIST shim-x64-16.1-8.x86_64.rpm 497824 BLAKE2B d4dd3186b894d56e8da956f6fb9a57e48501c9c5961884db69ccf83c8db0d13dbd3437d8704ca9d10dee2ff4540b77681a217fe81ca7e464174b723167990c7a SHA512 26215953f7b01da06d0452b4287277ad5fc295a1aa4b79c1ff9d9a454fb029ae2a2090a64609d8ea42613bd5ae3e02ccebd1bea6e6912bbd5e0cd6de320723f2
diff --git a/sys-boot/shim/shim-16.1_p7.ebuild b/sys-boot/shim/shim-16.1_p7.ebuild
new file mode 100644
index 000000000000..734f7437d730
--- /dev/null
+++ b/sys-boot/shim/shim-16.1_p7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RPM_COMPRESS_TYPE=zstd
+inherit rpm secureboot
+
+MAJORMINOR_V="$(ver_cut 1-2)"
+PATCH_V="$(ver_cut 4)"
+
+DESCRIPTION="Fedora's signed UEFI shim"
+HOMEPAGE="https://src.fedoraproject.org/rpms/shim"
+SRC_URI="
+ amd64? (
+ https://kojipkgs.fedoraproject.org/packages/shim/${MAJORMINOR_V}/${PATCH_V}/x86_64/shim-x64-${MAJORMINOR_V}-${PATCH_V}.x86_64.rpm
+ https://kojipkgs.fedoraproject.org/packages/shim/${MAJORMINOR_V}/${PATCH_V}/x86_64/shim-ia32-${MAJORMINOR_V}-${PATCH_V}.x86_64.rpm
+ )
+ x86? (
+ https://kojipkgs.fedoraproject.org/packages/shim/${MAJORMINOR_V}/${PATCH_V}/x86_64/shim-x64-${MAJORMINOR_V}-${PATCH_V}.x86_64.rpm
+ https://kojipkgs.fedoraproject.org/packages/shim/${MAJORMINOR_V}/${PATCH_V}/x86_64/shim-ia32-${MAJORMINOR_V}-${PATCH_V}.x86_64.rpm
+ )
+ arm64? ( https://kojipkgs.fedoraproject.org/packages/shim/${MAJORMINOR_V}/${PATCH_V}/aarch64/shim-aa64-${MAJORMINOR_V}-${PATCH_V}.aarch64.rpm )"
+S="${WORKDIR}/usr/lib/efi/shim/${MAJORMINOR_V}-${PATCH_V}/EFI"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 arm64 x86"
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins BOOT/BOOT*.EFI
+ doins fedora/mm*.efi
+
+ # Shim is already signed with Microsoft keys, but MokManager still needs
+ # signing with our key otherwise we have to enrol the Fedora key in Mok list
+ secureboot_auto_sign --in-place
+}