From a1c95e52aad4c34d199115971e165b38759e396a Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Tue, 20 Jun 2023 11:13:34 -0500 Subject: sys-apps/memtest86-bin: add 10.5, drop 10.4 Signed-off-by: Ben Kohler --- sys-apps/memtest86-bin/Manifest | 2 +- sys-apps/memtest86-bin/memtest86-bin-10.4.ebuild | 44 ------------------------ sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild | 44 ++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 sys-apps/memtest86-bin/memtest86-bin-10.4.ebuild create mode 100644 sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild (limited to 'sys-apps/memtest86-bin') diff --git a/sys-apps/memtest86-bin/Manifest b/sys-apps/memtest86-bin/Manifest index 4cecc5875dd8..3032fbc55c34 100644 --- a/sys-apps/memtest86-bin/Manifest +++ b/sys-apps/memtest86-bin/Manifest @@ -1 +1 @@ -DIST memtest86-bin-10.4.zip 11931431 BLAKE2B 30da2974ee6043c390cfddc2f419568cb7b6f40ebf4d3b05f431db03c8806bf7889f7d74938548aca84a3b8de45bc5574233b046cdbfd77c8ea1492c17e6af40 SHA512 ad6da311d70eb0b92f6530ce8225bbd084be4a4360450399a2e093dee6383640b90483102223e6f81544c595b883945c42ec41a1c9dc9d4270dc559288543586 +DIST memtest86-bin-10.5.zip 12038462 BLAKE2B 70488902fc14e986211475504705f6150c8bd55175703d6f4f12fda3ffc541e651a3888d40836da46520328b85fff1e854d831c3c1b4fac6ba6b0faeb8547931 SHA512 98101d21c1bd06f5b487391e1660f18636daaf86ff6aa5aa305716d7dad134533c409cfd1645870d902da5cbfd73c5f186e379b835eff0c09e3fa47770cb81f6 diff --git a/sys-apps/memtest86-bin/memtest86-bin-10.4.ebuild b/sys-apps/memtest86-bin/memtest86-bin-10.4.ebuild deleted file mode 100644 index d01d59ce5305..000000000000 --- a/sys-apps/memtest86-bin/memtest86-bin-10.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit mount-boot - -DESCRIPTION="Stand alone memory testing software for x86 EFI hardware" -HOMEPAGE="http://www.memtest86.com/" -SRC_URI="https://www.memtest86.com/downloads/memtest86-usb.zip -> ${P}.zip" - -LICENSE="PassMark-EULA" -RESTRICT="mirror bindist" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="" - -BDEPEND="app-arch/unzip - sys-fs/fatcat" - -S=${WORKDIR} - -src_unpack() { - default - fatcat -O 1048576 -r /EFI/BOOT/BOOTX64.efi memtest86-usb.img > ${PN}.efi || die -} - -src_install() { - insinto /boot - doins ${PN}.efi - - exeinto /etc/grub.d/ - newexe "${FILESDIR}"/${PN}-grub.d 39_memtest86-bin - - dodoc MemTest86_User_Guide_UEFI.pdf -} - -pkg_postinst() { - mount-boot_pkg_postinst - - if [ ! -e /sys/firmware/efi ]; then - ewarn "WARNING: You appear to be booted in BIOS mode but ${PN} is an EFI-only tool." - fi -} diff --git a/sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild b/sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild new file mode 100644 index 000000000000..d01d59ce5305 --- /dev/null +++ b/sys-apps/memtest86-bin/memtest86-bin-10.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit mount-boot + +DESCRIPTION="Stand alone memory testing software for x86 EFI hardware" +HOMEPAGE="http://www.memtest86.com/" +SRC_URI="https://www.memtest86.com/downloads/memtest86-usb.zip -> ${P}.zip" + +LICENSE="PassMark-EULA" +RESTRICT="mirror bindist" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="" + +BDEPEND="app-arch/unzip + sys-fs/fatcat" + +S=${WORKDIR} + +src_unpack() { + default + fatcat -O 1048576 -r /EFI/BOOT/BOOTX64.efi memtest86-usb.img > ${PN}.efi || die +} + +src_install() { + insinto /boot + doins ${PN}.efi + + exeinto /etc/grub.d/ + newexe "${FILESDIR}"/${PN}-grub.d 39_memtest86-bin + + dodoc MemTest86_User_Guide_UEFI.pdf +} + +pkg_postinst() { + mount-boot_pkg_postinst + + if [ ! -e /sys/firmware/efi ]; then + ewarn "WARNING: You appear to be booted in BIOS mode but ${PN} is an EFI-only tool." + fi +} -- cgit v1.2.3-65-gdbad