summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-07-22 18:51:00 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-07-22 18:58:40 +0200
commit73b01d6f2794c1c90a70357e89ec6f0faf5d11e5 (patch)
tree38f1726e6d1f00357fa0e89b77d4c296baeb2dc0 /sys-apps
parentsys-apps/memtest86: amd64 & x86 stable (diff)
downloadgentoo-73b01d6f2794c1c90a70357e89ec6f0faf5d11e5.tar.gz
gentoo-73b01d6f2794c1c90a70357e89ec6f0faf5d11e5.tar.bz2
gentoo-73b01d6f2794c1c90a70357e89ec6f0faf5d11e5.zip
sys-apps/memtest86: drop old
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/memtest86/files/39_memtest8618
-rw-r--r--sys-apps/memtest86/memtest86-4.3.7-r1.ebuild71
-rw-r--r--sys-apps/memtest86/memtest86-4.3.7.ebuild67
3 files changed, 0 insertions, 156 deletions
diff --git a/sys-apps/memtest86/files/39_memtest86 b/sys-apps/memtest86/files/39_memtest86
deleted file mode 100644
index a736bce6a316..000000000000
--- a/sys-apps/memtest86/files/39_memtest86
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-. /usr/share/grub/grub-mkconfig_lib
-
-memtest=/boot/memtest86/memtest
-
-if [ -f "${memtest}" ]; then
- device="$("${grub_probe}" --target=device "${memtest}")"
- path="$(make_system_path_relative_to_its_root "${memtest}")"
- cat <<EOF
-menuentry "MemTest86" {
-EOF
- prepare_grub_to_access_device "${device}" | grub_add_tab
- cat <<EOF
- linux16 "${path}"
-}
-EOF
-fi
diff --git a/sys-apps/memtest86/memtest86-4.3.7-r1.ebuild b/sys-apps/memtest86/memtest86-4.3.7-r1.ebuild
deleted file mode 100644
index b9b031c7b5f0..000000000000
--- a/sys-apps/memtest86/memtest86-4.3.7-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit mount-boot eutils toolchain-funcs
-
-DESCRIPTION="A stand alone memory test for x86 computers"
-HOMEPAGE="https://www.memtest86.com/"
-SRC_URI="https://www.memtest86.com/downloads/${P}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="serial"
-
-S="${WORKDIR}/src"
-
-BOOTDIR="/boot/memtest86"
-QA_PRESTRIPPED="${BOOTDIR}/memtest"
-QA_FLAGS_IGNORED="${BOOTDIR}/memtest"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.3.3-build-nopie.patch #66630 + #206726
- epatch "${FILESDIR}"/${PN}-4.3.7-io-extern-inline.patch #548312 #568292
- epatch "${FILESDIR}"/${PN}-4.3.7-reboot-def.patch #548312 #568292
- epatch "${FILESDIR}"/${PN}-4.3.7-no-clean.patch #557890
-
- sed -i -e 's,0x10000,0x100000,' memtest.lds || die
-
- if use serial ; then
- sed -i \
- -e '/^#define SERIAL_CONSOLE_DEFAULT/s:0:1:' \
- config.h \
- || die "sed failed"
- fi
-}
-
-src_configure() {
- tc-export AS CC LD
-}
-
-src_test() { :; }
-
-src_install() {
- insinto "${BOOTDIR}"
- doins memtest memtest.bin
-
- exeinto /etc/grub.d
- newexe "${FILESDIR}"/39_${PN}-r1 39_${PN}
-
- dodoc README README.build-process README.background
-}
-
-pkg_postinst() {
- mount-boot_pkg_postinst
-
- elog "${PN} has been installed in ${BOOTDIR}/"
- elog "You may wish to update your bootloader configs by adding these lines:"
- elog " - For grub2 just run grub-mkconfig, a configuration file is installed"
- elog " as /etc/grub.d/39_${PN}"
- elog " - For grub legacy: (replace '?' with correct numbers for your boot partition)"
- elog " > title=${PN}"
- elog " > root (hd?,?)"
- elog " > kernel ${BOOTDIR}/memtest.bin"
- elog " - For lilo:"
- elog " > image = ${BOOTDIR}/memtest.bin"
- elog " > label = ${PN}"
- elog ""
- elog "Note: For older configs, you might have to change from 'memtest' to 'memtest.bin'."
-}
diff --git a/sys-apps/memtest86/memtest86-4.3.7.ebuild b/sys-apps/memtest86/memtest86-4.3.7.ebuild
deleted file mode 100644
index bd402545b0c8..000000000000
--- a/sys-apps/memtest86/memtest86-4.3.7.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit mount-boot eutils toolchain-funcs
-
-DESCRIPTION="A stand alone memory test for x86 computers"
-HOMEPAGE="https://www.memtest86.com/"
-SRC_URI="https://www.memtest86.com/downloads/${P}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE="serial"
-S="${WORKDIR}/src"
-
-BOOTDIR=/boot/memtest86
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.3.3-build-nopie.patch #66630 + #206726
- epatch "${FILESDIR}"/${PN}-4.3.7-io-extern-inline.patch #548312 #568292
- epatch "${FILESDIR}"/${PN}-4.3.7-reboot-def.patch #548312 #568292
- epatch "${FILESDIR}"/${PN}-4.3.7-no-clean.patch #557890
-
- sed -i -e 's,0x10000,0x100000,' memtest.lds || die
-
- if use serial ; then
- sed -i \
- -e '/^#define SERIAL_CONSOLE_DEFAULT/s:0:1:' \
- config.h \
- || die "sed failed"
- fi
-
- tc-export AS CC LD
-}
-
-src_test() { :; }
-
-src_install() {
- insinto ${BOOTDIR}
- newins memtest.bin memtest
- dosym memtest ${BOOTDIR}/memtest.bin
-
- exeinto /etc/grub.d
- doexe "${FILESDIR}"/39_memtest86
-
- dodoc README README.build-process README.background
-}
-
-pkg_postinst() {
- mount-boot_pkg_postinst
- elog
- elog "memtest has been installed in ${BOOTDIR}/"
- elog "You may wish to update your bootloader configs"
- elog "by adding these lines:"
- elog " - For grub2 just run grub-mkconfig, a configuration file is installed"
- elog " as /etc/grub/39_${PN}"
- elog " - For grub legacy: (replace '?' with correct numbers for your boot partition)"
- elog " > title=${PN}"
- elog " > root (hd?,?)"
- elog " > kernel ${BOOTDIR}/memtest"
- elog " - For lilo:"
- elog " > image = ${BOOTDIR}/memtest"
- elog " > label = ${PN}"
- elog
-}