resolves bug #4088
authorMatthew Kennedy <mkennedy@gentoo.org>
Sun, 6 Oct 2002 19:48:57 +0000 (19:48 +0000)
committerMatthew Kennedy <mkennedy@gentoo.org>
Sun, 6 Oct 2002 19:48:57 +0000 (19:48 +0000)
sys-apps/memtest86/ChangeLog
sys-apps/memtest86/files/digest-memtest86-3.0-r1 [new file with mode: 0644]
sys-apps/memtest86/memtest86-3.0-r1.ebuild [new file with mode: 0644]

index 9b33dbc55d1d1f5f922ed533922365e7d4e4346a..464d68d35fd3ae8d50a15a59bc4fd5331980f7bd 100644 (file)
@@ -1,6 +1,16 @@
 # ChangeLog for sys-apps/memtest86
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86/ChangeLog,v 1.7 2002/09/30 01:05:42 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86/ChangeLog,v 1.8 2002/10/06 19:48:57 mkennedy Exp $
+
+*memtest86-3.0-r1 (06 Sep 2002)
+
+  06 Sep 2002; Matthew Kennedy <mkennedy@gentoo.org>
+  memtest86-3.0-r1.ebuild, files/digest-memtest-3.0-r1, ChangeLog :
+
+  Installs the binary distributed with memetest86 rather than
+  compiling it from source (which doesn't work with gcc3.2 at
+  runtime). Upstream has been notified, but no response at the
+  moment. Resolves bug #4088.
 
 *memtest86-3.0 (03 Jun 2002)
 
diff --git a/sys-apps/memtest86/files/digest-memtest86-3.0-r1 b/sys-apps/memtest86/files/digest-memtest86-3.0-r1
new file mode 100644 (file)
index 0000000..4fb55f5
--- /dev/null
@@ -0,0 +1 @@
+MD5 fade21758538a5468ad9b8509edfde0d memtest86-3.0.tar.gz 104794
diff --git a/sys-apps/memtest86/memtest86-3.0-r1.ebuild b/sys-apps/memtest86/memtest86-3.0-r1.ebuild
new file mode 100644 (file)
index 0000000..cec7bd7
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86/memtest86-3.0-r1.ebuild,v 1.1 2002/10/06 19:48:57 mkennedy Exp $
+
+inherit mount-boot
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A stand alone memory test for x86 computers"
+SRC_URI="http://www.memtest86.com/${P}.tar.gz"
+HOMEPAGE="http://www.memtest86.com/"
+KEYWORDS="x86 -ppc -sparc -sparc64"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}"
+
+src_install() {
+       dodir /boot/memtest86
+       cp precomp.bin ${D}/boot/memtest86/memtest.bin
+       dodoc README README.build-process
+}
+
+pkg_postinst() {
+       einfo '*** memtest.bin has been installed in /boot/memtest86, please remember to'
+       einfo '*** update your boot loader. For example grub :'
+       einfo "*** edit /boot/grub/menu.lst and add the following lines "
+       einfo "***   > title=Memtest86"
+       einfo "***   > root (hd0,0)"
+       einfo "***   > kernel /boot/memtest86/memtest.bin"
+}