aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-11-08 13:45:38 -0800
committerDonnie Berkholz <dberkholz@gentoo.org>2008-11-08 13:45:38 -0800
commitddc5732bef123b47c9b199919f6f3d7ac618ab83 (patch)
treefd8326f6ea4bd8f6f0f6dfa5098049dfb0230add /sys-boot
parentshelx: Append OpenMP FFLAGS when USE=openmp. (diff)
downloaddberkholz-ddc5732bef123b47c9b199919f6f3d7ac618ab83.tar.gz
dberkholz-ddc5732bef123b47c9b199919f6f3d7ac618ab83.tar.bz2
dberkholz-ddc5732bef123b47c9b199919f6f3d7ac618ab83.zip
grub: add 1.96+ext4 (doesn't work for me), and live subversion ebuild.
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/grub/ChangeLog590
-rw-r--r--sys-boot/grub/Manifest7
-rw-r--r--sys-boot/grub/files/grub.conf.gentoo16
-rw-r--r--sys-boot/grub/files/grub2-ext4support-ext2.c142
-rw-r--r--sys-boot/grub/grub-1.96.ebuild42
-rw-r--r--sys-boot/grub/grub-9999.ebuild46
-rw-r--r--sys-boot/grub/metadata.xml8
7 files changed, 851 insertions, 0 deletions
diff --git a/sys-boot/grub/ChangeLog b/sys-boot/grub/ChangeLog
new file mode 100644
index 0000000..52d00bd
--- /dev/null
+++ b/sys-boot/grub/ChangeLog
@@ -0,0 +1,590 @@
+# ChangeLog for sys-boot/grub
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.103 2008/11/06 01:28:56 robbat2 Exp $
+
+*grub-0.97-r8 (05 Nov 2008)
+
+ 05 Nov 2008; Robin H. Johnson <robbat2@gentoo.org> +grub-0.97-r8.ebuild:
+ Patchset version bump, fixes bugs 220687, 245741, 218611 (maybe), 231684
+ (maybe). In package.mask still, careful testing needed.
+
+ 01 Nov 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r6.ebuild:
+ Add a magic flag GRUB_STATIC_PACKAGE_BUILDING which along with USE=static
+ -ncurses is used to build grub-static tarballs from now on.
+
+ 16 Aug 2008; Mike Frysinger <vapier@gentoo.org> grub-1.96.ebuild:
+ Require lzo-1 #234182 by Kyle Elbert.
+
+ 05 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
+ Add USE flag description to metadata wrt GLEP 56.
+
+ 07 Jul 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r6.ebuild:
+ Update the pkg_postinst message again, so that anybody with
+ DONT_MOUNT_BOOT gets reminded to run emerge --config as well, so
+ everything is in sync.
+
+ 06 Jul 2008; Christian Faulhammer <opfer@gentoo.org> grub-0.97-r6.ebuild:
+ stable x86, bug 230836
+
+ 06 Jul 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r6.ebuild:
+ Fix typo that got earn in the output.
+
+ 06 Jul 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r6.ebuild:
+ Bug #230976, include some helpful text for upgrading the MBR copy.
+
+ 05 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org> grub-0.97-r6.ebuild:
+ stable amd64, bug 230836
+
+ 05 Jul 2008; Robin H. Johnson <robbat2@gentoo.org> files/grub.conf.gentoo,
+ grub-0.97-r6.ebuild:
+ Support for non-interactive from wolf31o2 per bug #228677.
+
+*grub-0.97-r6 (04 Jun 2008)
+
+ 04 Jun 2008; Robin H. Johnson <robbat2@gentoo.org>
+ +files/grub.conf.gentoo, +grub-0.97-r6.ebuild:
+ Improve the Grub /boot setup procedure, to support people with more
+ unusual grub setups where the default config file may not be suitable to
+ pass into the grub shell, per bug #218599. Include a stock grub.conf for
+ Gentoo users. Install the splashimage to /usr and copy to /boot later
+ rather than direct to /boot.
+
+ 10 May 2008; Mike Frysinger <vapier@gentoo.org> grub-0.97-r5.ebuild:
+ Restore menu.lst symlink #220737 / #221055.
+
+ 06 May 2008; Christian Faulhammer <opfer@gentoo.org> grub-0.97-r5.ebuild:
+ stable x86, bug 220069
+
+ 05 May 2008; Markus Meier <maekke@gentoo.org> grub-0.97-r5.ebuild:
+ amd64 stable, bug #220069
+
+ 02 May 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r5.ebuild:
+ amd64+static together blow up.
+
+ 07 Apr 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r5.ebuild:
+ Bump of patchset only to fix bug #216307. Revbump will happen when I have
+ finished tracing the pager bug.
+
+ 06 Apr 2008; Mike Frysinger <vapier@gentoo.org> grub-0.97-r5.ebuild:
+ Create /boot/boot symlink for people #194201, and dont bother creating
+ menu.lst symlink.
+
+ 30 Mar 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r5.ebuild:
+ Bring in the warning from bug #98768, as it's now important with the new
+ Grub patches.
+
+ 30 Mar 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r5.ebuild:
+ Per bug #160801, Grub needs modification to support kernels larger than
+ 3Mb. However, this may have negative consequences, so the actual value is
+ configurable at compile-time via the GRUB_MAX_KERNEL_SIZE environment
+ variable.
+
+ 29 Mar 2008; Mike Frysinger <vapier@gentoo.org> grub-0.97-r5.ebuild:
+ Pull in app-emulation/emul-linux-x86-baselibs for USE=ncurses on amd64 #128249.
+
+ 28 Mar 2008; Mike Frysinger <vapier@gentoo.org> grub-0.97-r5.ebuild:
+ Make ncurses optional.
+
+*grub-0.97-r5 (25 Mar 2008)
+
+ 25 Mar 2008; Robin H. Johnson <robbat2@gentoo.org> +grub-0.97-r5.ebuild:
+ New version of the Gentoo grub patchset. Provides support for 256-byte
+ ext3 inodes per bug #214563. Fixes unhide bugs with GPT patch per bug
+ #211584. Long commandlines per bug #183443. Xen memorysize fix per bug
+ #188312.
+
+ 21 Mar 2008; Stefan Schweizer <genstef@gentoo.org> grub-1.96.ebuild:
+ fails to build with two threads
+
+ 09 Mar 2008; Mike Frysinger <vapier@gentoo.org> grub-0.97-r4.ebuild:
+ Clean up the /boot update code a bit and generate the "default" file by
+ default so people dont have to painfully debug this failure themselves.
+
+ 25 Feb 2008; Steve Dibb <beandog@gentoo.org> grub-0.97-r4.ebuild:
+ amd64 stable, bug 211419
+
+ 25 Feb 2008; Christian Faulhammer <opfer@gentoo.org> grub-0.97-r4.ebuild:
+ stable x86, bug 211419
+
+ 25 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.92-r1.ebuild,
+ grub-0.94-r1.ebuild, grub-0.96-r1.ebuild, grub-0.96-r2.ebuild,
+ grub-0.96-r3.ebuild, grub-0.97.ebuild, grub-0.97-r2.ebuild,
+ grub-0.97-r3.ebuild, grub-0.97-r4.ebuild:
+ Fix up all quoting to make repoman happy.
+
+*grub-0.97-r4 (24 Feb 2008)
+
+ 25 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r4.ebuild:
+ Bug #178586, include support for booting from a GPT-style disk.
+
+*grub-1.96 (16 Feb 2008)
+
+ 16 Feb 2008; Mike Frysinger <vapier@gentoo.org> +grub-1.96.ebuild:
+ Version bump #210403 by Leonardo Valeri Manera.
+
+ 25 Aug 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/grub-1.95-build.patch, grub-1.95.ebuild:
+ Fix from Kevin Lacquement for building in parallel #185361.
+
+ 24 Jun 2007; Piotr Jaroszyński <peper@gentoo.org> grub-1.95.ebuild:
+ (QA) Don't use KEYWORDS="-*". bug #160519.
+
+ 04 Apr 2007; Markus Ullmann <jokey@gentoo.org> grub-0.97-r3.ebuild:
+ testing on fbsd for ufs-aware grub
+
+ 15 Jan 2007; Luis Medinas <metalgod@gentoo.org> grub-0.97-r3.ebuild:
+ Stable on amd64. Bug #159636.
+
+ 02 Jan 2007; Andrej Kacian <ticho@gentoo.org> grub-0.97-r3.ebuild:
+ Stable on x86, bug #159636.
+
+ 03 Dec 2006; Mike Frysinger <vapier@gentoo.org> grub-0.97-r3.ebuild:
+ Fix running with newer autotools (need AC_PROG_AS) #156524.
+
+*grub-1.95 (21 Oct 2006)
+
+ 21 Oct 2006; Mike Frysinger <vapier@gentoo.org> +grub-1.95.ebuild:
+ Version bump #152232 by Arthur Koziel.
+
+*grub-0.97-r3 (08 Sep 2006)
+
+ 08 Sep 2006; Mike Frysinger <vapier@gentoo.org> +grub-0.97-r3.ebuild:
+ Grab a bunch of patches from Debian.
+
+ 30 Aug 2006; Joshua Jackson <tsunam@gentoo.org> grub-0.97-r2.ebuild:
+ Stable x86; bug #144998
+
+ 25 Aug 2006; Luis Medinas <metalgod@gentoo.org> grub-0.97-r2.ebuild:
+ Stable on amd64.
+
+*grub-1.94 (18 Jun 2006)
+
+ 18 Jun 2006; Mike Frysinger <vapier@gentoo.org> +grub-1.94.ebuild:
+ Version bump.
+
+ 13 May 2006; Mike Frysinger <vapier@gentoo.org> grub-0.97-r2.ebuild:
+ Add a pkg_config() by Petteri Räty for users to configure other devices
+ #133129.
+
+ 27 Apr 2006; Alec Warner <antarus@gentoo.org> files/digest-grub-0.92-r1,
+ files/digest-grub-0.94-r1, files/digest-grub-0.96-r1, Manifest:
+ Fixing SHA256 digest, pass four
+
+*grub-1.93 (21 Apr 2006)
+
+ 21 Apr 2006; Mike Frysinger <vapier@gentoo.org> +grub-1.93.ebuild:
+ Version bump #130586 by Anthony Red.
+
+ 22 Mar 2006; Mike Frysinger <vapier@gentoo.org> grub-0.97-r2.ebuild:
+ Fix building netbot with gcc-4 #112713.
+
+ 05 Feb 2006; Simon Stelling <blubb@gentoo.org> grub-1.92.ebuild:
+ remove old 2004.3 multilib checks
+
+*grub-1.92 (16 Jan 2006)
+
+ 16 Jan 2006; Mike Frysinger <vapier@gentoo.org> +grub-1.92.ebuild:
+ Version bump and add lzo to DEPEND as noted by Ron in #119149.
+
+*grub-1.91 (25 Nov 2005)
+
+ 25 Nov 2005; Mike Frysinger <vapier@gentoo.org> +grub-1.91.ebuild:
+ Version bump #113556 by Thomas Bettler.
+
+*grub-0.97-r2 (10 Nov 2005)
+
+ 10 Nov 2005; Mike Frysinger <vapier@gentoo.org> -grub-0.97-r1.ebuild,
+ +grub-0.97-r2.ebuild:
+ Punt reiser4 patch since it breaks booting for some #111885.
+
+*grub-0.97-r1 (08 Nov 2005)
+
+ 08 Nov 2005; Mike Frysinger <vapier@gentoo.org> +grub-0.97-r1.ebuild:
+ Fixes by Jon Bernard/Roy Walker for address checks on machines with lots of
+ ram #99897 and add support for Reiser4 #69590.
+
+ 21 Aug 2005; Mike Frysinger <vapier@gentoo.org> grub-0.94-r1.ebuild,
+ grub-0.96-r1.ebuild, grub-0.96-r2.ebuild, grub-0.96-r3.ebuild,
+ grub-0.97.ebuild:
+ Make sure netboot files are installed into /usr/lib/grub/${CHOST}/ so the
+ pkg_postinst step works #103084 by Thomas Schweikle.
+
+*grub-0.97 (20 Aug 2005)
+
+ 20 Aug 2005; Mike Frysinger <vapier@gentoo.org> grub-0.96-r1.ebuild,
+ grub-0.96-r2.ebuild, grub-0.96-r3.ebuild, +grub-0.97.ebuild:
+ Version bump #91959 by R Hill.
+
+ 20 Aug 2005; Mike Frysinger <vapier@gentoo.org> grub-0.96-r1.ebuild,
+ grub-0.96-r2.ebuild, grub-0.96-r3.ebuild:
+ Add support for USE=custom-cflags #72196 by basic.
+
+*grub-0.96-r3 (03 Aug 2005)
+
+ 03 Aug 2005; Mike Frysinger <vapier@gentoo.org> +grub-0.96-r3.ebuild:
+ Add patch from upstream cvs to fix #83287 by Martin Mokrejs / David James.
+
+ 01 Aug 2005; Simon Stelling <blubb@gentoo.org> grub-0.96-r2.ebuild:
+ stable on amd64
+
+ 28 Jul 2005; Seemant Kulleen <seemant@gentoo.org>
+ -files/grub-0.93-gcc3.3.diff, -files/grub-0.94-gcc3.4.patch,
+ -files/grub-0.94-grub.conf.patch,
+ -files/grub-0.95.20040823-warnings.patch, -files/grub-0.96-PIC.patch,
+ -files/grub-0.96-bounced-checks.patch, -files/grub-0.96-gcc2.patch,
+ -files/grub-0.96-gcc4.patch, -files/grub-0.96-i2o-raid.patch,
+ -files/grub-0.96-netboot-pic.patch, -files/grub-0.96-nxstack.patch,
+ -files/grub-0.96-r1-gcc4.patch,
+ -files/grub-0.96-xfs-writable-string.patch, -files/splash.xpm.gz,
+ grub-0.92-r1.ebuild, grub-0.94-r1.ebuild, grub-0.96-r1.ebuild,
+ grub-0.96-r2.ebuild:
+ patches, configs, splash screens are all now on mirrors and being tracked in
+ gentoo/src/patchsets/grub
+
+ 28 Jul 2005; Seemant Kulleen <seemant@gentoo.org> +grub-0.92-r1.ebuild,
+ +grub-0.94-r1.ebuild:
+ add back 92 and 94 for vapier
+
+ 28 Jul 2005; Seemant Kulleen <seemant@gentoo.org> -grub-0.92-r1.ebuild,
+ -grub-0.93.20030118.ebuild, -grub-0.94-r1.ebuild, -grub-0.94-r2.ebuild,
+ -grub-0.95.20040823.ebuild, -grub-0.96.ebuild:
+ remove cruft ebuilds
+
+ 24 Jul 2005; Martin Schlemmer <azarah@gentoo.org>
+ +files/grub-0.96-gcc2.patch, grub-0.96-r2.ebuild:
+ Fix building with gcc2.
+
+ 04 Jul 2005; Sven Wegener <swegener@gentoo.org> grub-0.95.20040823.ebuild,
+ grub-0.96.ebuild, grub-0.96-r1.ebuild, grub-0.96-r2.ebuild:
+ Updated the postinst message for bug #97882.
+
+ 01 Jul 2005; Sven Wegener <swegener@gentoo.org> grub-0.96-r2.ebuild:
+ Stable on x86 to make the XFS writable-string fix available for all users.
+
+ 30 May 2005; Sven Wegener <swegener@gentoo.org> grub-0.92-r1.ebuild,
+ grub-0.94-r1.ebuild, grub-0.94-r2.ebuild, grub-0.95.20040823.ebuild,
+ grub-0.96.ebuild:
+ Moved from gcc.eclass to toolchain-funcs.eclass, bug #92745.
+
+ 29 May 2005; Marcus D. Hanwell <marcus@gentoo.org> grub-0.96-r1.ebuild:
+ Stable on amd64.
+
+ 09 May 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/grub-0.96-netboot-pic.patch, grub-0.96-r2.ebuild:
+ Add patch by the PaX Team to fix PIC/PIE issues in the netboot code and
+ remove the chpax/paxctl stuff since the nxstack patch fixes hardened issues.
+
+*grub-0.96-r2 (08 May 2005)
+
+ 08 May 2005; Sven Wegener <swegener@gentoo.org>
+ +files/grub-0.96-xfs-writable-string.patch, +grub-0.96-r2.ebuild:
+ Revision bump to pull in my writable-string patch I submitted to upstream.
+ Closes bug #90845.
+
+ 20 Apr 2005; Stephen Bennett <spb@gentoo.org> grub-0.96-r1.ebuild:
+ Stable x86; older versions break with hardened gcc.
+
+ 06 Apr 2005; Mark Loeser <halcy0n@gentoo.org>
+ +files/grub-0.96-r1-gcc4.patch, grub-0.96-r1.ebuild:
+ Updated gcc4 patch to apply to grub-0.96-r1
+
+ 05 Apr 2005; Mark Loeser <halcy0n@gentoo.org> +files/grub-0.96-gcc4.patch,
+ grub-0.96.ebuild:
+ Backported fixes for GCC4. Fixes bug #85016
+
+ 15 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ grub-0.94-r1.ebuild, grub-0.94-r2.ebuild, grub-0.95.20040823.ebuild,
+ grub-0.96.ebuild, grub-0.96-r1.ebuild:
+ Putting ABI stuff inside an 'if use amd64' block.
+
+*grub-0.96-r1 (11 Mar 2005)
+
+ 11 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/grub-0.96-PIC.patch, +files/grub-0.96-i2o-raid.patch,
+ +files/grub-0.96-nxstack.patch, +grub-0.96-r1.ebuild:
+ Add patches/fixes for a bunch of bugs ... basically lets fix i2o-raid
+ support, NX segfaults on amd64, PIC build failures, and hardened objcopy
+ funk. Thanks to Ryan Hill and everyone on #80693.
+
+*grub-0.96 (05 Mar 2005)
+
+ 05 Mar 2005; Martin Schlemmer <azarah@gentoo.org> +grub-0.96.ebuild:
+ Update version. Some cleanups.
+
+ 03 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ grub-0.94-r1.ebuild, grub-0.94-r2.ebuild, grub-0.95.20040823.ebuild:
+ Multilib fixes.
+
+ 20 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ grub-0.94-r1.ebuild, grub-0.94-r2.ebuild, grub-0.95.20040823.ebuild:
+ Updates to work with amd64's 2005.0.
+
+ 20 Dec 2004; Simon Stelling <blubb@gentoo.org> grub-0.95.20040823.ebuild:
+ changed WANT_AUTOMAKE to 1.8
+
+ 07 Dec 2004; Robin H. Johnson <robbat2@gentoo.org>
+ grub-0.95.20040823.ebuild:
+ Bug #70111, fix tc-getCC invocation.
+
+ 30 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ grub-0.95.20040823.ebuild:
+ fix use invocation
+
+ 22 Nov 2004; <robmoss@gentoo.org>
+ +files/grub-0.95.20040823-warnings.patch, grub-0.95.20040823.ebuild:
+ USE flagging the network booting stuff with a new local "netboot" USE flag.
+ Adding ~amd64. General tidying up of the ebuild. Adding a patch to prevent
+ use of -fwritable-strings, which doesn't do anything but throw up warnings.
+ Adding a comment to explain that FFS and UFS2 support is broken still.
+ Fixing the amd64 installation procedure.
+
+ 13 Oct 2004; Travis Tilley <lv@gentoo.org> grub-0.94-r1.ebuild:
+ stable on amd64
+
+ 12 Sep 2004; <rmoss@gentoo.org> grub-0.94-r1.ebuild, grub-0.94-r2.ebuild,
+ grub-0.95.20040823.ebuild:
+ Adding >=automake-1.7 dep for grub-0.9{4,5} as per bug 63509.
+
+ 05 Sep 2004; <rmoss@gentoo.org> grub-0.95.20040823.ebuild:
+ The grub binary is in /sbin, not /usr/sbin. Fixing.
+
+ 26 Aug 2004; <rmoss@gentoo.org> grub-0.95.20040823.ebuild:
+ gnuconfig belongs in src_unpack, not src_compile. Thanks tigger :-)
+
+ 24 Aug 2004; <rmoss@gentoo.org> grub-0.95.20040823.ebuild:
+ Marking ~x86 after some overnight testing.
+
+*grub-0.95.20040823 (24 Aug 2004)
+
+ 24 Aug 2004; <rmoss@gentoo.org> metadata.xml, +grub-0.95.20040823.ebuild:
+ Initial commit of grub-0.95 with CVS snapshot update. Supports (amongst other
+ things) savedefault (server-friendly feature) and uclibc (I hope...).
+
+*grub-0.94-r2 (22 Aug 2004)
+
+ 22 Aug 2004; <rmoss@gentoo.org> +files/grub-0.94-grub.conf.patch,
+ +grub-0.94-r2.ebuild:
+ Trying to get rid of the need for that filthy menu.lst -> grub.conf symlink.
+
+ 10 Jun 2004; Travis Tilley <lv@gentoo.org> grub-0.94-r1.ebuild:
+ fixed multilib check
+
+ 09 Jun 2004; Travis Tilley <lv@gentoo.org> grub-0.94-r1.ebuild:
+ added multilib check and ~amd64 keyword
+
+ 12 May 2004; Alexander Gabert <pappy@gentoo.org> grub-0.94-r1.ebuild:
+ added new hardened PIE SSP switches
+
+ 12 May 2004; Alexander Gabert <pappy@gentoo.org> grub-0.93.20030118.ebuild:
+ removed hardened-gcc logic, added logic for suppressing PIE and SSP
+
+ 06 May 2004; Mike Frysinger <vapier@gentoo.org>
+ +files/grub-0.94-gcc3.4.patch, grub-0.94-r1.ebuild:
+ add gcc-3.4 patch #49558 by Robert Moss + ecco@piggy.demon.nl
+
+ 14 Apr 2004; Scott W Taylor <swtaylor@gentoo.org> :
+ Cleanup checks for hardened
+
+ 06 Apr 2004; <solar@gentoo.org> grub-0.94-r1.ebuild:
+ stable on x86
+
+ 17 Mar 2004; <solar@gentoo.org> grub-0.94-r1.ebuild:
+ grub will end up with a 100+ meg stage2 file if the user has LDFLAGS=-pie, so
+ lets filter that flag out in the src_compile
+
+ 25 Feb 2004; Seemant Kulleen <seemant@gentoo.org> grub-0.92-r1.ebuild:
+ global scope fixing
+
+*grub-0.94-r1 (25 Feb 2004)
+
+ 25 Feb 2004; Seemant Kulleen <seemant@gentoo.org> grub-0.93.20031222.ebuild,
+ grub-0.93.20040125.ebuild, grub-0.94-r1.ebuild, grub-0.94.ebuild:
+ revision bump for spock's change
+
+ 15 Feb 2004; Michal Januszewski <spock@gentoo.org> grub-0.94.ebuild:
+ Added the 'grubsplash' patch, closes #40827.
+
+*grub-0.94 (02 Feb 2004)
+
+ 02 Feb 2004; Brandon Low <lostlogic@gentoo.org> grub-0.94.ebuild:
+ This ebuild isn't perfect yet, but it is better than the last few versions,
+ still no splash image, but now at least it uses the config. It appears that
+ menu.lst is back in style or something
+
+*grub-0.93.20031222 (25 Jan 2004)
+
+ 25 Jan 2004; Seemant Kulleen <seemant@gentoo.org> grub-0.93.20031222.ebuild,
+ grub-0.93.20040125.ebuild:
+ new cvs snapshots of grub. Both have the acl/ext2 and acl/ext3 issues sorted
+ out. I'll be adding another snapshot to take advantage of the SuSE prettiness
+ capabilities to grub. This should close bug #30859 by Chris PeBenito
+ <pebenito@gentoo.org>
+
+ 15 Dec 2003; Seemant Kulleen <seemant@gentoo.org> grub-0.93.20030118.ebuild:
+ Added autoconf to compile dependencies, closing bug #33321 by Scott Taylor
+ <scott@303underground.com>
+
+ 15 Dec 2003; Seemant Kulleen <seemant@gentoo.org> grub-0.92-r1.ebuild,
+ grub-0.93.20030118.ebuild,
+ files/grub-0.92/grub-0.5.96.1-special-raid-devices.patch,
+ files/grub-0.92/grub-0.90-addsyncs.patch,
+ files/grub-0.92/grub-0.90-append.patch,
+ files/grub-0.92/grub-0.90-configfile.patch,
+ files/grub-0.92/grub-0.90-install.in.patch,
+ files/grub-0.92/grub-0.90-installcopyonly.patch,
+ files/grub-0.92/grub-0.90-passwordprompt.patch,
+ files/grub-0.92/grub-0.90-staticcurses.patch,
+ files/grub-0.92/grub-0.90-symlinkmenulst.patch,
+ files/grub-0.92/grub-0.90-vga16-keypressclear.patch,
+ files/grub-0.92/grub-0.91-bootonce.patch,
+ files/grub-0.92/grub-0.91-splashimagehelp.patch,
+ files/grub-0.92/grub-0.91-vga16-serial.patch,
+ files/grub-0.92/grub-0.92-automake16.patch,
+ files/grub-0.92/grub-0.92-nodeprecatedflags.patch,
+ files/grub-0.92/grub-0.92-usbfix.patch,
+ files/grub-0.92/grub-0.92-vga16.patch:
+ move the patches to the mirrors isntead, and add the gcc3.3 patch to 0.92 as
+ well
+
+*grub-0.93.20030118 (08 Dec 2003)
+
+ 08 Dec 2003; Seemant Kulleen <seemant@gentoo.org> grub-0.92-r1.ebuild,
+ grub-0.93.20030118.ebuild, metadata.xml, files/grub-0.93-gcc3.3.diff,
+ files/splash.xpm.gz,
+ files/grub-0.92/grub-0.5.96.1-special-raid-devices.patch,
+ files/grub-0.92/grub-0.90-addsyncs.patch,
+ files/grub-0.92/grub-0.90-append.patch,
+ files/grub-0.92/grub-0.90-configfile.patch,
+ files/grub-0.92/grub-0.90-install.in.patch,
+ files/grub-0.92/grub-0.90-installcopyonly.patch,
+ files/grub-0.92/grub-0.90-passwordprompt.patch,
+ files/grub-0.92/grub-0.90-staticcurses.patch,
+ files/grub-0.92/grub-0.90-symlinkmenulst.patch,
+ files/grub-0.92/grub-0.90-vga16-keypressclear.patch,
+ files/grub-0.92/grub-0.91-bootonce.patch,
+ files/grub-0.92/grub-0.91-splashimagehelp.patch,
+ files/grub-0.92/grub-0.91-vga16-serial.patch,
+ files/grub-0.92/grub-0.92-automake16.patch,
+ files/grub-0.92/grub-0.92-nodeprecatedflags.patch,
+ files/grub-0.92/grub-0.92-usbfix.patch,
+ files/grub-0.92/grub-0.92-vga16.patch:
+ moved from sys-apps to sys-boot
+
+ 01 Dec 2003; Alexander Gabert <pappy@gentoo.org> grub-0.93.20030118.ebuild:
+ added CC -yno_propolice because configure has problems with -nostdlib
+ requesting __guard symbol but cannot be resolved, future releases of
+ hardened-gcc will honour this behaviour
+
+ 07 Sep 2003; Alexander Gabert <pappy@gentoo.org> grub-0.93.20030118.ebuild:
+ added hardened-gcc excludes
+
+ 14 Sep 2003; John Mylchreest <johnm@gentoo.org>; grub-0.93.20030118.ebuild,
+ files/grub-0.93-gcc3.3.diff:
+ Updating for gcc 3.3 compat
+
+ 27 Jul 2003; Olivier Crete <tester@gentoo.org> grub-0.93.20030118.ebuild:
+ Added support for static building
+
+ 24 Jan 2002; <woodchip@gentoo.org> *.ebuild : Reorder mount-boot.eclass
+ function, clean some fluff.
+
+*grub-0.93.20030118 (18 Jan 2003)
+
+ 11 Apr 2003; Joshua Brindle <method@gentoo.org> grub-0.92-r1.ebuild,
+ grub-0.93.20030118.ebuild:
+ Added filter-flags -fstack-protector
+
+ 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> grub-0.93.20030118.ebuild :
+ This is definitely not for mips. Maybe sometime in the future...
+
+ 18 Jan 2003; Donny Davies <woodchip@gentoo.org> grub-0.93.20030118.ebuild :
+ New testing release; closing #11821, #13242, #9180. See the ebuild
+ for the detailed patch list.
+
+*grub-0.92-r1 (02 Oct 2002)
+
+ 10 Mar 2003; Seemant Kulleen <seemant@gentoo.org> grub-0.92-r1.ebuild:
+ change to use epatch instead, much prettier output
+
+ 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> grub-0.92-r1.ebuild :
+ This is definitely not for mips. Maybe sometime in the future...
+
+ 06 Jan 2002; Seemant Kulleen <seemant@gentoo.org> *.ebuild :
+ PROVIDE virtual/bootloader
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+ 02 Oct 2002; Donny Davies <woodchip@gentoo.org> :
+ Merge changes from Markus Krainer <markus-krainer@chello.at> to fix:
+ bootlogo; #6820. menu.lst was renamed to grub.conf; #6300.
+
+*grub-0.92 (25 Jun 2002)
+
+ 29 Sep 2002; Donny Davies <woodchip@gentoo.org> grub-0.92.ebuild :
+ Now uses mount-boot eclass; from #7903.
+
+ 13 Aug 2002; Joachim Blaabjerg <styx@gentoo.org> grub-0.92.ebuild :
+ Added grub-0.92-usbfix.patch to hopefully fix bug #6372. It still compiles!
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> grub-0.92.ebuild :
+ Added KEYWORDS.
+
+ 25 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
+ Add the latest version thanks to good work from (bug #4020)
+ Markus Krainer <markus-krainer@chello.at>. Slotified the lot,
+ as well as move splash.xpm.gz to ${FILESDIR}/, as having three
+ seems a bit much.
+
+*grub-0.90-r7 (14 July 2002)
+
+ 29 Sep 2002; Donny Davies <woodchip@gentoo.org> grub-0.90-r7.ebuild :
+ Now uses mount-boot eclass; from #7903.
+
+ 21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
+ updated keywords (-ppc -sparc -sparc64)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> grub-0.90-r7.ebuild :
+ Added KEYWORDS.
+
+*grub-0.90-r4 (8 Mar 2002)
+*grub-0.91-r3 (8 Mar 2002)
+
+ 29 Sep 2002; Donny Davies <woodchip@gentoo.org> grub-0.91-r3.ebuild :
+ Now uses mount-boot eclass; from #7903.
+
+ 19 Aug 2002; Sascha Schwabbauer <cybersystem@gentoo.org> grub-0.91-r3.ebuild :
+ Added -ppc to keywords
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> grub-0.91-r3.ebuild :
+ Added KEYWORDS.
+
+ 8 Mar 2002; Bruce A. Locke <blocke@shivan.org> : grub-0.90-r4.ebuild,
+ grub-0.91-r3.ebuild: made check of /etc/fstab not match on commented out
+ entries and added a notice telling users to remove invalid /boot entries
+ from their /etc/fstab (a user had this problem while installing)
+
+*grub-0.90-r6 (4 Feb 2002)
+*grub-0.91-r1 (4 Feb 2002)
+
+ 4 Feb 2002; Daniel Robbins <drobbins@gentoo.org>: grub-0.90-r6.ebuild,
+ grub-0.91-r1.ebuild: unset CFLAGS to ensure that GRUB code is i486-compatible,
+ a good thing for a boot loader. Upgraded /boot mounting code to be compatible
+ with systems without a dedicated /boot filesystem. Tweaked GRUB installation
+ so that the /boot/grub/*stage* files don't get overwritten, since this could
+ mess up the currently-in-the-MBR GRUB. These fixes also close bug #527.
+
+*grub-0.90-r5 (4 Feb 2002)
+
+ 4 Feb 2002; G.Bevin <gbevin@gentoo.org> grub-0.90-r5.ebuild, grub-0.91.ebuild :
+ Added new setup function which detects if /boot is mounted or not, in case
+ it's not mounted it will try to do it automatically and in case of a failure
+ exit with an error message.
+
+*grub-0.90-r4 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/sys-boot/grub/Manifest b/sys-boot/grub/Manifest
new file mode 100644
index 0000000..4034c47
--- /dev/null
+++ b/sys-boot/grub/Manifest
@@ -0,0 +1,7 @@
+AUX grub.conf.gentoo 627 RMD160 d90fb4373bad476f98ec9c5065d6cdfd9e3b706f SHA1 004f2fc04605ec9190de0a87e7df8bbc33daff89 SHA256 914b15af252210a32776196437cd8013e10e57d5780e66877ef3fe9a2b4b9776
+AUX grub2-ext4support-ext2.c 3733 RMD160 94595cbd9c276d553ffb4cd7ae77c66c56ea0232 SHA1 7c90ec9de1725624e24fdcc3c811327b7ceddc31 SHA256 b7bb00be5ac9be7e85dade18d7b1c6d17d5139e56fd994eb54d80deddc7d53ce
+DIST grub-1.96.tar.gz 639970 RMD160 80c8a41b73063706310f3f6e99acb912e2e8f9ab SHA1 6af22f354d8c551dd82e71f15196e2f96a1318ba SHA256 0cdfb104da5492b1b2b402ed45873b3b7a7407f5017ae7d8806327a619dc1d59
+EBUILD grub-1.96.ebuild 1048 RMD160 f2e9d1d2deb9e141ba3ede7067b93d27b696cc02 SHA1 ecba614ac7b9d7f0091b8f0335c5ba1d67f881fa SHA256 ac63d835dac280e0e6b1026b238b5ed9a163849cbce4e66783932ff65e4139ff
+EBUILD grub-9999.ebuild 1255 RMD160 8c6ef50e99d4bd30bbf640692bc709eb5b366fa3 SHA1 5d924029b1496e76212830eb703500ad0a064d17 SHA256 21aeb6569475e97a474e6d213a216b68a502bda041fb7ad2a1c016726e0e7584
+MISC ChangeLog 23627 RMD160 b8f0b926d6f062de1edf269f5e0cffb9853ae5ca SHA1 5aaf90a5479b27b27347693aa6d5a32163765f92 SHA256 ca824dd515faf037e1b103ab14da628140a71c30f3b2a67b17e99f78025ad58d
+MISC metadata.xml 250 RMD160 5d297cf8754c72fea2a5afa5b9e3b35c2e131f31 SHA1 37c9d016076a9869497199b1d2280437b01aa9ee SHA256 9cc0f0e1b861d82b2396fa0ea25e5ea3f41d066fbce9ef9404d651a011020be3
diff --git a/sys-boot/grub/files/grub.conf.gentoo b/sys-boot/grub/files/grub.conf.gentoo
new file mode 100644
index 0000000..0027099
--- /dev/null
+++ b/sys-boot/grub/files/grub.conf.gentoo
@@ -0,0 +1,16 @@
+# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
+# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
+# If you are not using Genkernel and you need help creating this file, you
+# should consult the handbook. Alternatively, consult the grub.conf.sample that
+# is included with the Grub documentation.
+
+default 0
+timeout 30
+#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
+
+#title Gentoo Linux 2.6.24-r5
+#root (hd0,0)
+#kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
+#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
+
+# vim:ft=conf:
diff --git a/sys-boot/grub/files/grub2-ext4support-ext2.c b/sys-boot/grub/files/grub2-ext4support-ext2.c
new file mode 100644
index 0000000..cc3ca13
--- /dev/null
+++ b/sys-boot/grub/files/grub2-ext4support-ext2.c
@@ -0,0 +1,142 @@
+--- trunk/grub2/fs/ext2.c 2008/07/12 15:40:50 1698
++++ trunk/grub2/fs/ext2.c 2008/07/13 01:13:12 1699
+@@ -86,6 +86,8 @@
+ #define EXT3_JOURNAL_FLAG_DELETED 4
+ #define EXT3_JOURNAL_FLAG_LAST_TAG 8
+
++#define EXT4_EXTENTS_FLAG 0x80000
++
+ /* The ext2 superblock. */
+ struct grub_ext2_sblock
+ {
+@@ -226,6 +228,33 @@
+ grub_uint32_t start;
+ };
+
++#define EXT4_EXT_MAGIC 0xf30a
++
++struct grub_ext4_extent_header
++{
++ grub_uint16_t magic;
++ grub_uint16_t entries;
++ grub_uint16_t max;
++ grub_uint16_t depth;
++ grub_uint32_t generation;
++};
++
++struct grub_ext4_extent
++{
++ grub_uint32_t block;
++ grub_uint16_t len;
++ grub_uint16_t start_hi;
++ grub_uint32_t start;
++};
++
++struct grub_ext4_extent_idx
++{
++ grub_uint32_t block;
++ grub_uint32_t leaf;
++ grub_uint16_t leaf_hi;
++ grub_uint16_t unused;
++};
++
+ struct grub_fshelp_node
+ {
+ struct grub_ext2_data *data;
+@@ -262,6 +291,45 @@
+ sizeof (struct grub_ext2_block_group), (char *) blkgrp);
+ }
+
++static struct grub_ext4_extent_header *
++grub_ext4_find_leaf (struct grub_ext2_data *data, char *buf,
++ struct grub_ext4_extent_header *ext_block,
++ grub_uint32_t fileblock)
++{
++ struct grub_ext4_extent_idx *index;
++
++ while (1)
++ {
++ int i;
++ grub_disk_addr_t block;
++
++ index = (struct grub_ext4_extent_idx *) (ext_block + 1);
++
++ if (grub_le_to_cpu16(ext_block->magic) != EXT4_EXT_MAGIC)
++ return 0;
++
++ if (ext_block->depth == 0)
++ return ext_block;
++
++ for (i = 0; i < grub_le_to_cpu16 (ext_block->entries); i++)
++ {
++ if (fileblock < grub_le_to_cpu32(index[i].block))
++ break;
++ }
++
++ if (--i < 0)
++ return 0;
++
++ block = grub_le_to_cpu16 (index[i].leaf_hi);
++ block = (block << 32) + grub_le_to_cpu32 (index[i].leaf);
++ if (grub_disk_read (data->disk,
++ block << LOG2_EXT2_BLOCK_SIZE (data),
++ 0, EXT2_BLOCK_SIZE(data), buf))
++ return 0;
++
++ ext_block = (struct grub_ext4_extent_header *) buf;
++ }
++}
+
+ static grub_disk_addr_t
+ grub_ext2_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock)
+@@ -272,6 +340,50 @@
+ unsigned int blksz = EXT2_BLOCK_SIZE (data);
+ int log2_blksz = LOG2_EXT2_BLOCK_SIZE (data);
+
++ if (inode->flags & EXT4_EXTENTS_FLAG)
++ {
++ char buf[EXT2_BLOCK_SIZE(data)];
++ struct grub_ext4_extent_header *leaf;
++ struct grub_ext4_extent *ext;
++ int i;
++
++ leaf = grub_ext4_find_leaf (data, buf,
++ (struct grub_ext4_extent_header *) inode->blocks.dir_blocks,
++ fileblock);
++ if (! leaf)
++ {
++ grub_error (GRUB_ERR_BAD_FS, "invalid extent");
++ return -1;
++ }
++
++ ext = (struct grub_ext4_extent *) (leaf + 1);
++ for (i = 0; i < grub_le_to_cpu16 (leaf->entries); i++)
++ {
++ if (fileblock < grub_le_to_cpu32 (ext[i].block))
++ break;
++ }
++
++ if (--i >= 0)
++ {
++ fileblock -= grub_le_to_cpu32 (ext[i].block);
++ if (fileblock >= grub_le_to_cpu16 (ext[i].len))
++ return 0;
++ else
++ {
++ grub_disk_addr_t start;
++
++ start = grub_le_to_cpu16 (ext[i].start_hi);
++ start = (start << 32) + grub_le_to_cpu32 (ext[i].start);
++
++ return fileblock + start;
++ }
++ }
++ else
++ {
++ grub_error (GRUB_ERR_BAD_FS, "something wrong with extent");
++ return -1;
++ }
++ }
+ /* Direct blocks. */
+ if (fileblock < INDIRECT_BLOCKS)
+ blknr = grub_le_to_cpu32 (inode->blocks.dir_blocks[fileblock]);
diff --git a/sys-boot/grub/grub-1.96.ebuild b/sys-boot/grub/grub-1.96.ebuild
new file mode 100644
index 0000000..01e93b3
--- /dev/null
+++ b/sys-boot/grub/grub-1.96.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-1.96.ebuild,v 1.4 2008/08/16 15:27:59 vapier Exp $
+
+inherit mount-boot eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="GNU GRUB 2 boot loader"
+HOMEPAGE="http://www.gnu.org/software/grub/"
+SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="static netboot custom-cflags"
+
+DEPEND=">=sys-libs/ncurses-5.2-r5
+ =dev-libs/lzo-2*"
+PROVIDE="virtual/bootloader"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/grub2-ext4support-ext2.c
+}
+
+src_compile() {
+ use amd64 && multilib_toolchain_setup x86
+ use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
+ use static && append-ldflags -static
+
+ econf \
+ --prefix=/ \
+ --datadir=/usr/lib \
+ || die "econf failed"
+ emake -j1 || die "making regular stuff"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}
diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
new file mode 100644
index 0000000..23315c0
--- /dev/null
+++ b/sys-boot/grub/grub-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-1.96.ebuild,v 1.4 2008/08/16 15:27:59 vapier Exp $
+
+ESVN_REPO_URI="svn://svn.savannah.gnu.org/grub/trunk/grub2"
+ESVN_BOOTSTRAP="eautoreconf"
+
+inherit mount-boot eutils flag-o-matic toolchain-funcs subversion autotools
+
+DESCRIPTION="GNU GRUB 2 boot loader"
+HOMEPAGE="http://www.gnu.org/software/grub/"
+#SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz
+# mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="static netboot custom-cflags"
+
+DEPEND=">=sys-libs/ncurses-5.2-r5
+ =dev-libs/lzo-2*"
+PROVIDE="virtual/bootloader"
+
+src_compile() {
+ use amd64 && multilib_toolchain_setup x86
+ use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
+ use static && append-ldflags -static
+
+ econf \
+ --prefix=/ \
+ --datadir=/usr/lib \
+ || die "econf failed"
+ emake -j1 || die "making regular stuff"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}
+
+pkg_postinst() {
+ if use amd64; then
+ ewarn "No 32-bit version of lzo is available in the ebuild tree."
+ ewarn "You need to build/install it by hand, adding -m32 to CFLAGS."
+ fi
+}
diff --git a/sys-boot/grub/metadata.xml b/sys-boot/grub/metadata.xml
new file mode 100644
index 0000000..6a65231
--- /dev/null
+++ b/sys-boot/grub/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+<use>
+ <flag name='custom-cflags'>Enable custom CFLAGS (not supported)</flag>
+</use>
+</pkgmetadata>