# # spec file for package memtest86+ (Version 1.65) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: memtest86+ Version: 1.65 Release: 1 # License: BSD License and BSD-like, Other License(s), see package Group: System/Boot # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bin86 nasm %ifarch x86_64 BuildRequires: glibc-devel-32bit %endif ExclusiveArch: %ix86 x86_64 Provides: lilo:/boot/memtest.bin Obsoletes: memtest86 <= 3.2 Provides: memtest86 > 3.2 # URL: http://www.memtest.org Source: http://www.memtest.org/download/1.65/memtest86+-%{version}.tar.gz Patch0: memtest86+-1.65.diff Patch1: memtest86+-1.65_timeout-serialconsole.diff Patch2: memtest86+-1.65_include-linkonce.patch # Summary: Memory Testing Image for x86 Architecture %description Memtest86 is an image that can be booted instead of a real OS. Once booted, it can be used to test the computer's memory. Authors: -------- Samuel Demeulemeester Original memtest86 package: John Coffman Werner Almesberger PowerPC part: Paul Mackeras Cort Dougan Benjamin Herrenschmidt Memtest86: Chris Brady %prep %setup %patch0 %patch1 %patch2 %build %ifarch x86_64 make CC="gcc -m32" AS="as --32" %else make %endif %install install -D -m 0644 memtest.bin $RPM_BUILD_ROOT/boot/memtest.bin %files %defattr(-,root,root) /boot/memtest.bin %doc README* changelog FAQ %changelog -n memtest86+ * Thu Nov 16 2006 - mrueckert@suse.de - switch to memtest86+ (http://www.memtest.org) Compared to memtest86 3.2 it supports more hardware. and has additional fixes. see http://www.memtest.org/#change for all details. This upgrade fixes bug (#148481). - rediffed memtest86-3.2.diff to apply cleanly. new name: memtest86+-1.65.diff - rediffed memtest86-3.2-timeout-serialconsole.diff to apply cleanly. new name: memtest86+-1.65_timeout-serialconsole.diff - rediffed memtest86-include-linkonce to apply cleanly. new name: memtest86+-1.65_include-linkonce.patch - cleaned up build section and directly use install instead of the broken install target - added changelog and FAQ to the docs * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue May 10 2005 - duwe@suse.de - include *.gnu.linkonce.t.* sections in ld script, to build cleanly on amd64 with gcc4 * Mon Mar 14 2005 - duwe@suse.de - update to current version 3.2: more support for current CPUs and chipsets fix Bugs #60303 (duped #72202), #71215 * Mon Mar 22 2004 - stepan@suse.de - update to 3.1a. This fixes compilation with gcc 3.x - drop precompiled binary completely - add ExclusiveArch for x86 and AMD64 * Fri Mar 19 2004 - stepan@suse.de - update to v3.1 - remove gcc 2.95 exceptions * Sun Sep 08 2002 - kukuk@suse.de - Add splitt alias [Bug #19111] * Thu Sep 05 2002 - garloff@suse.de - memtest86-3.0 seems to hang on some machines if the serial console support is enabled, but no serial console connected. Add a timeout waiting for the serial console. (Bug #18302) * Mon Sep 02 2002 - garloff@suse.de - Supply complete image (compiled by gcc-2.95), as I don't succeed solving the gcc-3.2 problems at this moment. (#18302) * Sat Aug 31 2002 - garloff@suse.de - Supply main.s compiled with gcc-2.95 to work around problem with gcc-3.2. * Tue Jul 30 2002 - garloff@suse.de - Split off lilo package. * Tue Jul 30 2002 - sf@suse.de - added -m32 to compiler and linker for x86_64 - added --32 to as - added glibc-devel-32bit for x86_64 * Fri Jun 07 2002 - garloff@suse.de - Update to memtest86-3.0: * Testing more than 2GB should work now. * Use PIC instead of two copies * Serial code avoid redundant writes now * ^l/l gives screen refresh (after connecting serial console) * Netbooting operational again * LinuxBIOS support (memory sizing) * Mon Apr 22 2002 - garloff@suse.de - Update to memtest86-2.9: * Provide three memory sizing modes; default is conservative one probably not testing all memory on some boards * Testing more than 2GB supported * Memory testing in segments. Minor bug fixes. * Fri Feb 15 2002 - mantel@suse.de - remove x bit from memtest.bin since it's not a Linux executable * Wed Dec 12 2001 - garloff@suse.de - Update to memtest86-2.8(a): * Reworked build process; a network bootable boot image can be produced * mem and cache speed detection code rewritten (should work now) * CPU detection for Pentium 4 * Serial console disabled by default - Reenabled memtest86 serial console (9600 8n1) ;-) - Clean up .spec file a bit * Mon Jul 16 2001 - uli@suse.de - update memtest -> 2.7 * Mon Apr 09 2001 - garloff@suse.de - memtest86: Correct units (cosmetic) * Thu Dec 21 2000 - garloff@suse.de - Update memtest86 to v2.5 final. * Wed Nov 29 2000 - garloff@suse.de - Update memtest86 to v2.5-beta (Athlon/Duron support) * Mon Aug 28 2000 - garloff@suse.de - Added memtest86-2.4.