From 360468f13add58583c7780bcacafb5452a07851d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 13 Mar 2024 00:46:32 +0000 Subject: gentoo auto-resync : 13:03:2024 - 00:46:32 --- app-emulation/Manifest.gz | Bin 15315 -> 15484 bytes app-emulation/virt-firmware/Manifest | 3 ++ app-emulation/virt-firmware/metadata.xml | 19 +++++++++ .../virt-firmware/virt-firmware-24.2.ebuild | 47 +++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 app-emulation/virt-firmware/Manifest create mode 100644 app-emulation/virt-firmware/metadata.xml create mode 100644 app-emulation/virt-firmware/virt-firmware-24.2.ebuild (limited to 'app-emulation') diff --git a/app-emulation/Manifest.gz b/app-emulation/Manifest.gz index 7b7772c710da..d87703d95b4a 100644 Binary files a/app-emulation/Manifest.gz and b/app-emulation/Manifest.gz differ diff --git a/app-emulation/virt-firmware/Manifest b/app-emulation/virt-firmware/Manifest new file mode 100644 index 000000000000..a7bf666d3dcd --- /dev/null +++ b/app-emulation/virt-firmware/Manifest @@ -0,0 +1,3 @@ +DIST virt-firmware-24.2.tar.gz 110844 BLAKE2B db7ad7663678a313bdd0e23de7e374547e5dbc1a04b37a65e366ae042410a3a6c21ccfef3747a2534cb76906868caaf1364ac1ecd1443c1c1053a5b7687da50b SHA512 8583420acb31fb32e4c195c0c1816b36248ec2e486ded0795e51180e2690b2bcdc10eb8707f4fc9fa36da5b24082737c5c3b2e3988f6c5455e08a5d2a0ff92e7 +EBUILD virt-firmware-24.2.ebuild 972 BLAKE2B ccdd92c608c7f34a07f0e0c6bd5a44d4324aa2d1ca67f83325642da8cf548bf03e46c44f12e01236b6fe7186ee9ebff92c6093dee2f94dae25b25a7f21a8f580 SHA512 ebf768029c1073f45d12f7d3330ab3cc5fde85cc236a1419014a355f54b62f2dc51fe1c80cab8ad6a93bb98992e5fa67e520d9e5f882601e47734057f8b02728 +MISC metadata.xml 726 BLAKE2B 809ef093c67bf4c03ae99efa7112b92c3d6d24058ba8ae444045ae52adf9accf60e42a84966f8fd7ab793dfb3238660f4f422fbae2c36f6fd35bf0b02b42a1f1 SHA512 af58f69792dadd71c66022fb08f0f878c3f140114287000a16e96fd8b30bf410e595d373a5cd92b56bd28d5f9996ab5cdecac91ba1b743f2e807feeeaf6e9cbd diff --git a/app-emulation/virt-firmware/metadata.xml b/app-emulation/virt-firmware/metadata.xml new file mode 100644 index 000000000000..1059efa31d78 --- /dev/null +++ b/app-emulation/virt-firmware/metadata.xml @@ -0,0 +1,19 @@ + + + + + andrewammerlaan@gentoo.org + Andrew Ammerlaan + + + + This is a small collection of tools for edk2 firmware images. They + support decoding and printing the content of firmware volumes. + Variable stores (OVMF_VARS.fd) can be modified, for example to enroll + secure boot certificates. + + + virt-firmware + kraxel/virt-firmware + + diff --git a/app-emulation/virt-firmware/virt-firmware-24.2.ebuild b/app-emulation/virt-firmware/virt-firmware-24.2.ebuild new file mode 100644 index 000000000000..9fd059ab7234 --- /dev/null +++ b/app-emulation/virt-firmware/virt-firmware-24.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 + +inherit distutils-r1 optfeature pypi systemd + +DESCRIPTION="Tools for ovmf/armvirt firmware volumes" +HOMEPAGE=" + https://gitlab.com/kraxel/virt-firmware + https://pypi.org/project/virt-firmware/ +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pefile[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest tests +} + +python_install_all() { + distutils-r1_python_install_all + + doman man/*.1 + + systemd_dounit systemd/kernel-bootcfg-boot-successful.service + + exeinto /usr/lib/kernel/install.d + doexe systemd/99-uki-uefi-setup.install +} + +pkg_postinst() { + optfeature "managing UEFI entries on Unified Kernel Image installation and removal" \ + "sys-boot/shim sys-kernel/installkernel[systemd]" +} -- cgit v1.2.3