Name: grub Version: 0.93 Release: 8 Summary: GRUB - the Grand Unified Boot Loader. Group: System Environment/Base License: GPL URL: http://www.gnu.org/software/%{name}/ Source0: ftp://alpha.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz # let's have some sort of organization for the patches # patches 0-19 are for config file related changes (menu.lst->grub.conf) Patch0: grub-0.93-configfile.patch Patch1: grub-0.90-symlinkmenulst.patch # patches 20-39 are for grub-install bits Patch20: grub-0.90-install.in.patch Patch21: grub-0.90-installcopyonly.patch Patch22: grub-0.90-addsyncs.patch # patches 40-59 are for miscellaneous build related patches # link against curses statically Patch40: grub-0.90-staticcurses.patch # compatibility for automake 1.6 Patch41: grub-0.92-automake16.patch # patches submitted upstream and pending approval # change the message so that how to accept changes is clearer (#53846) Patch81: grub-0.93-endedit.patch # support large disks (#80980, #63848) (applied upstream) Patch82: grub-0.93-largedisk.patch # patches 100-199 are for features proposed but not accepted upstream # add support for appending kernel arguments Patch100: grub-0.90-append.patch # add support for lilo -R-esque select a new os to boot into Patch101: grub-0.93-once.patch # patches 200-299 are for graphics mode related patches Patch200: grub-0.93-graphics.patch Patch201: grub-0.91-splashimagehelp.patch Patch202: grub-0.93-graphics-bootterm.patch # patches 300-399 are for things already upstream Patch300: grub-0.93-serial-terminfo.patch Patch301: grub-0.93-gcc33.patch # patches 500+ are for miscellaneous little things # support for non-std devs (eg cciss, etc) Patch500: grub-0.93-special-device-names.patch # support for building on x86_64 Patch501: grub-0.92-hammer.patch ExclusiveArch: i386 x86_64 BuildRequires: binutils >= 2.9.1.0.23, ncurses-devel PreReq: /sbin/install-info Requires: mktemp Requires: /usr/bin/cmp BuildRoot: %{_tmppath}/%{name}-%{version}-root %description GRUB (Grand Unified Boot Loader) is an experimental boot loader capable of booting into most free operating systems - Linux, FreeBSD, NetBSD, GNU Mach, and others as well as most commercial operating systems. %prep %setup -q %patch0 -p1 -b .config %patch1 -p1 -b .menulst %patch20 -p1 -b .install %patch21 -p1 -b .copyonly %patch22 -p1 -b .addsync %patch40 -p1 -b .static %patch41 -p1 -b .automake16 %patch81 -p0 -b .endedit %patch82 -p0 -b .largedisk %patch100 -p1 -b .append %patch101 -p1 -b .bootonce %patch200 -p1 -b .graphics %patch201 -p1 -b .splashhelp %patch202 -p1 -b .bootterm %patch300 -p0 -b .terminfo %patch301 -p1 -b .gcc33 %patch500 -p1 -b .raid %patch501 -p1 -b .hammer %build autoreconf --install --force %ifarch x86_64 LDFLAGS="-Wl,-static" ; export LDFLAGS %endif CFLAGS="-Os -g" ; export CFLAGS %configure --sbindir=/sbin --disable-auto-linux-mem-opt make %install rm -fr $RPM_BUILD_ROOT %makeinstall sbindir=${RPM_BUILD_ROOT}/sbin mkdir -p ${RPM_BUILD_ROOT}/boot/grub rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %clean rm -fr $RPM_BUILD_ROOT %post if [ "$1" = 1 ]; then /sbin/install-info --info-dir=%{_infodir} %{_infodir}/grub.info.gz /sbin/install-info --info-dir=%{_infodir} %{_infodir}/multiboot.info.gz fi %preun if [ "$1" = 0 ] ;then /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/grub.info.gz /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/multiboot.info.gz fi %files %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README COPYING TODO docs/menu.lst /boot/grub /sbin/grub /sbin/grub-install /sbin/grub-terminfo /sbin/grub-md5-crypt %{_bindir}/mbchk %{_infodir}/grub* %{_infodir}/multiboot* %{_mandir}/man*/* %{_datadir}/grub %changelog * Sat Jan 3 2004 Jeremy Katz 0.93-8 - new bootonce patch from Padraig Brady so that you don't lose the old default (#112775) * Mon Nov 24 2003 Jeremy Katz - add ncurses-devel as a buildrequires (#110732) * Tue Oct 14 2003 Jeremy Katz 0.93-7 - rebuild * Wed Jul 2 2003 Jeremy Katz - Requires: /usr/bin/cmp (#98325) * Thu May 22 2003 Jeremy Katz 0.93-6 - add patch from upstream to fix build with gcc 3.3 * Wed Apr 2 2003 Jeremy Katz 0.93-5 - add patch to fix support for serial terminfo (#85595) * Wed Jan 22 2003 Tim Powers - rebuilt * Fri Jan 17 2003 Jeremy Katz 0.93-3 - add patch from HJ Lu to support large disks (#80980, #63848) - add patch to make message when ending edit clearer (#53846) * Sun Dec 29 2002 Jeremy Katz 0.93-2 - add a patch to reset the terminal type to console before doing 'boot' from the command line (#61069) * Sat Dec 28 2002 Jeremy Katz 0.93-1 - update to 0.93 - update configfile patch - graphics patch rework to fit in as a terminal type as present in 0.93 - use CFLAGS="-Os -g" - patch configure.in to allow building if host_cpu=x86_64, include -m32 in CFLAGS if building on x86_64 - link glibc static on x86_64 to not require glibc32 - include multiboot info pages - drop obsolete patches, reorder remaining patches into some semblance of order * Thu Sep 5 2002 Jeremy Katz 0.92-7 - splashscreen is in redhat-logos now * Tue Sep 3 2002 Jeremy Katz 0.92-6 - update splashscreen again * Mon Sep 2 2002 Jeremy Katz 0.92-5 - update splashscreen * Fri Jun 21 2002 Tim Powers 0.92-4 - automated rebuild * Thu May 23 2002 Tim Powers 0.92-3 - automated rebuild * Fri May 3 2002 Jeremy Katz 0.92-2 - add patch from Grant Edwards to make vga16 + serial happier (#63491) * Wed May 1 2002 Jeremy Katz 0.92-1 - update to 0.92 - back to autoreconf - make it work with automake 1.6/autoconf 2.53 - use "-falign-jumps=1 -falign-loops=1 -falign-functions=1" instead of "-malign-jumps=1 -malign-loops=1 -malign-functions=1" to not use deprecated gcc options * Tue Apr 9 2002 Jeremy Katz 0.91-4 - new splash screen * Fri Mar 8 2002 Jeremy Katz 0.91-3 - include patch from Denis Kitzmen to fix typo causing several options to never be defined (in upstream CVS) - include patch from upstream CVS to make displaymem always use hex for consistency - add patch from GRUB mailing list from Keir Fraser to add a --once flag to savedefault function so that you can have the equivalent of lilo -R functionality (use 'savedefault --default=N --once' from the grub shell) - back to autoconf * Sun Jan 27 2002 Jeremy Katz - change to use $grubdir instead of /boot/grub in the symlink patch (#58771) * Fri Jan 25 2002 Jeremy Katz 0.91-2 - don't ifdef out the auto memory passing, use the configure flag instead - add a patch so that grub respects mem= from the kernel command line when deciding where to place the initrd (#52558) * Mon Jan 21 2002 Jeremy Katz 0.91-1 - update to 0.91 final - add documentation on splashimage param (#51609) * Wed Jan 2 2002 Jeremy Katz 0.91-0.20020102cvs - update to current CVS snapshot to fix some of the hangs on boot related to LBA probing (#57503, #55868, and others) * Fri Dec 21 2001 Erik Troan 0.90-14 - fixed append patch to not require arguments to begin with - changed to autoreconf from autoconf * Wed Oct 31 2001 Jeremy Katz 0.90-13 - include additional patch from Erich to add sync calls in grub-install to work around updated images not being synced to disk - fix segfault in grub shell if 'password --md5' is used without specifying a password (#55008) * Fri Oct 26 2001 Jeremy Katz 0.90-12 - Include Erich Boleyn 's patch to disconnect from the BIOS after APM operations. Should fix #54375 * Wed Sep 12 2001 Erik Troan - added patch for 'a' option in grub boot menu * Wed Sep 5 2001 Jeremy Katz 0.90-11 - grub-install: if /boot/grub/grub.conf doesn't exist but /boot/grub/menu.lst does, create a symlink * Fri Aug 24 2001 Jeremy Katz - pull in patch from upstream CVS to fix md5crypt in grub shell (#52220) - use mktemp in grub-install to avoid tmp races * Fri Aug 3 2001 Jeremy Katz - link curses statically (#49519) * Thu Aug 2 2001 Jeremy Katz - fix segfault with using the serial device before initialization (#50219) * Thu Jul 19 2001 Jeremy Katz - add --copy-only flag to grub-install * Thu Jul 19 2001 Jeremy Katz - copy files in grub-install prior to device probe * Thu Jul 19 2001 Jeremy Katz - original images don't go in /boot and then grub-install does the right thing * Thu Jul 19 2001 Jeremy Katz - fix the previous patch - put the password prompt in the proper location * Thu Jul 19 2001 Jeremy Katz - reset the screen when the countdown is cancelled so text will disappear in vga16 mode * Mon Jul 16 2001 Jeremy Katz - change configfile defaults to grub.conf * Sun Jul 15 2001 Jeremy Katz - updated to grub 0.90 final * Fri Jul 6 2001 Matt Wilson - modifed splash screen to a nice shade of blue * Tue Jul 3 2001 Matt Wilson - added a first cut at a splash screen * Sun Jul 1 2001 Nalin Dahyabhai - fix datadir mismatch between build and install phases * Mon Jun 25 2001 Jeremy Katz - update to current CVS - forward port VGA16 patch from Paulo César Pereira de Andrade - add patch for cciss, ida, and rd raid controllers - don't pass mem= to the kernel * Wed May 23 2001 Erik Troan - initial build for Red Hat